|
|
Choosing A Webhost: |
Re: some simple questions: msg#00045text.xml.exist
Hi René, when are the maxDepth and treeLevelOrder increased? Is this done by checkTree() (ElementImpl.class) Or bij the nativeElementIndexer? There are two places: 1) in Indexer.java when scanning the input stream, 2) in ElementImpl during an XUpdate operation. When storing a document, does eXist first convert the input stream to a No, storing is SAX based. Indexer.java uses two passes through the doc: one to analyse the doc (and catch possible validation problems), another one to actually store the nodes. eXist uses documentobjects, within these objects values like "the first child We only store the max depth of the tree and the "max number of children at a certain level", i.e. the tree level order. The first child ids are calculated when the document is reloaded. Check org.exist.dom.DocumentImpl.write()/read(). The creation of the node id's and the spare ID's: which class has the method ElementImpl.appendChildInternal() does: child.setGID(firstChildID() + children); The treeLevelOrder in DocumentImpl.java represents the max number of children yes. What is a datapage? (the pages that are stored in dom.dbx) How can this be Each of the .dbx files stores two types of pages: 1) btree pages, 2) data pages. The btree just maps keys to storage addresses, which point to the storage location of the value within the data page section. The storage address has two components: a) the page number of the data page, b) an in-page id to identify the record within the data page (see StorageAddress.java). Using an in-page id (tid) instead of an absolute offset allows us to relocate records within a page without changing the storage address pointer. dom.dbx is maintained by class DOMFile.java. The pages containing the actual node data are represented by the internal class DOMPage, which wraps around Page. The structure of the pages is described at the top of DOMFile.java. Wolfgang ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | More XInclude - case (in)sensitive includes, Sjur Nørstebø Moshagen |
|---|---|
| Next by Date: | Re: Querying XInclude statements?, Wolfgang Meier |
| Previous by Thread: | some simple questions, rs . noordegraaf |
| Next by Thread: | 2 Questions regarding eXist's GET interface, Phillip B Oldham |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |