Changes

Jump to navigation Jump to search
525 bytes added ,  19:15, 26 October 2011
no edit summary
==Data Types==The following data types are used for specifying the storage layout:
* {{Type|Num}}: compressed integer (1-5 bytes)
* {{Type|Token}}: length ({{Type|Num}}) and bytes of UTF8 byte representation
* {{Type|Nums}}, {{Type|Tokens}} and {{Type|Doubles}} are arrays of values, and introduced with the number of entries ({{Type|Num}})
==infThe following tables present the layout of BaseX database files. All files are suffixed with <code>.basex==</code>.
'''Contents==Meta Data, Name/Path/Doc Indexes:''' Meta information on a database and main memory indexes.<code>inf</code>==
{| class="wikitable" width="100%"
|}
==(Node Table: <code>tbl|</code>, <code>tbli).basex</code>==
'''Contents* <code>tbl</code>:''' Main database table and , stored in blocks.* <code>tbli</code>: Database directory, organizing the database blocks.
==Texts: <code>txt.basex</code>, <code>atv</code>==
'''Contents* <code>txt</code>:''' Heap file with text values (document names, string values of texts, comments and processing instructions)* <code>atv</code>: attribute values.
==atv.basexValue Indexes: <code>txtl</code>, <code>txtr</code>, <code>atvl</code>, <code>atvr</code>==
'''Contents* <code>txtl</code>: Text index:''' Heap file with attribute valuesID lists.* <code>txtr</code>: Text index: Index file with references to ID lists.* <code>atvl</code>/<code>atvr</code>: Attribute value index, using same logic.
==(txtl|txtr).basexFull-Text Fuzzy Index: <code>ftxx</code>, <code>ftxy</code>, <code>ftxz</code>==
'''Contents:''' Value index for texts...will soon be reimplemented.
==(atvl|atvr).basexFull-Text Trie Index: <code>ftxa</code>, <code>ftxb</code>, <code>ftxc</code>==
'''Contents:''' Value index for attributes==(ftxa|ftxb|ftxc).basex== '''Contents:''' Trie full-text index==(ftxx|ftxy|ftxz).basex== '''Contents:''' Fuzzy full-text indexwill soon be dismissed.
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu