--- Thomas Guettler <zopestoller@thomas-guettler.de>
Unfortunately my documents are not static files. They are python classes. They contain fields for meta data and sometimes binary files.
Then my suggestion would be to store the object instances in a BTree of some kind (my suggestion would be an IOBTree, which would just index them with an integer), but keep the binary data separated out in external files. It would be straightforward to write a wrapper class that can manipulate the external binaries, just storing the file path in the ZODB. Storing pickles in an external database yourself makes not sense, That's what the ZODB already does.
thomas
__________________________________________________ Do You Yahoo!? Great stuff seeking new owners in Yahoo! Auctions! http://auctions.yahoo.com