Tuesday, June 29, 2004
DBXML Rocks!
Started having a play with the Sleepycat DBXML database. First impression is how easy it is to get compiled and installed (under Linux). Second impression is how straightforward the API is to use (I'm using the Python bindings which were SWIG'd from the C++). Third impression is how well it handles throwing lots of little documents at it. Imported 10,000 small (~0.5-1K) documents in anything from 9-12 seconds and 10000 randomized queries on them takes 23 seconds (admittedly that was after adding an index to support the query).
Indexing can be specified at runtime so you can tailor the datastore to do just the amount of indexing you need. Queries are written in XPath and the database has support for namespaces (although I've not tried that yet). Query results can give you a string or a DOM tree. Queries can span all the documents in the database or you can do queries within single documents.
It doesn't have all of the user management and versioning features of a full-on document management system, but its a top XML bucket :)
Indexing can be specified at runtime so you can tailor the datastore to do just the amount of indexing you need. Queries are written in XPath and the database has support for namespaces (although I've not tried that yet). Query results can give you a string or a DOM tree. Queries can span all the documents in the database or you can do queries within single documents.
It doesn't have all of the user management and versioning features of a full-on document management system, but its a top XML bucket :)
Comments:
<< Home
The next version will improve support for very large documents - you won't have to pull the whole document to get the bit you want - and implement XQuery. That's what a little bird tells me anyway. It'll rock even more that it does now. It might not have access control and all that stuff (we can built that in a couple of days like we did for [censored]), but it's got transactions that work right :)
How lame is this blogger stuff - it doesn't date the comments. Probably built the commenting in a few days ;)
Post a Comment
<< Home


