Re: [bdbxml] A question about indices in Berkeley XML DB
George Feinberg <[email protected]> Wed, 31 Aug 2005 12:33:17 -0400
| Newsgroups | gmane.comp.db.dbxml.general |
|---|---|
| Message-ID | <[email protected]> |
Leon, In BDB XML 2.1.8 or earlier, indexes do not help queries that work against only a single document. Depending on the size of the document and the nature of the queries, your performance may still be acceptable if you use a NodeStorage container. The upcoming 2.2 release changes that, so that the query processor will use node indexes (DBXML_INDEX_NODES flag to container creation) to better optimize queries within documents. Your next question is likely to be "when is 2.2 releasing?" It is nearly done, but I cannot commit to a date :-) Regards, George > Hi, > I have a question with regard to the using of indices in Berkeley > XML DB. > Are the indices used to index the documents in a container? > If yes, can they be used to index a single document in a container > (e.g. index an element or attribute value)? > For example, I put a large xml document to a container and try to > query some nodes with this document. > How should I use indices for this scenario? > > Thanks > > Leon > > > ------------------------------------------ To remove yourself from this list, send an email to [email protected]