Re: [bdbxml] xmldb like collections?

George Feinberg <[email protected]>
Newsgroups gmane.comp.db.dbxml.general
Message-ID <[email protected]>
> But isn't there a 1 to 1 relationship between an container and the  
> db file?
>
> http://www.sleepycat.com/xmldocs/gsg_xml/cxx/containers.html

Yes, that's true.

>
> This is much different than in xmldb, the concept of collection is  
> within the database instance itself, there is 1 to many  
> relationship between the db instance and its collections in xmldb.

In BDB XML 2.x, the object that spans containers is the XmlManager.   
This is not
a persistent object, but does encapsulate a Berkeley DB environment.
It allows transactions, and queries that span Containers.

>
> 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,
> Mark



------------------------------------------
To remove yourself from this list, send an
email to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.