Re: [bdbxml] xmldb like collections?
John Snelson <[email protected]>
| Newsgroups | gmane.comp.db.dbxml.general |
|---|---|
| Message-ID | <[email protected]> |
Mark R. Diggory wrote: > George Feinberg wrote: > >>> The challenge I see in equating containers to collections is that in >>> xmldb an index spans all collections in a db. In bdbxml, it doesn't >>> seem you could have an index that spans containers. >> >> It does not. If you so choose, you could implement an XML:DB index >> by adding >> the same index to all known containers. >> >> George >> > Thanks, this is very usefull to understand. So one last question, is > there any loss of performance if I search an index which spans multiple > containers as opposed to all my XML residing in one container? There is not any loss of performance in this case. Since an index specification applies at the XmlContainer level, it is normally a good idea to put xml documents that look roughly the same into one container. This allows you to choose an efficient indexing method for those xml documents in the container. John ------------------------------------------ To remove yourself from this list, send an email to [email protected]