Re: [bdbxml] I want to store binary content in my DBXML
"Mark R. Diggory" <mdiggory-Mahy8Y1M33PaZwrp7/[email protected]> Sun, 11 Sep 2005 17:19:34 -0400
| Newsgroups | gmane.comp.db.dbxml.general |
|---|---|
| Message-ID | <[email protected]> |
Steve, I'm not seeing your posts go to the xml list... Steve Howe wrote: > > I think that if the binary streams are small, you should store them > in base64 inside the XML data, since it will be easier to manage; if > they are larger, you'll have much better performance by storing them in > BDB, which is optimized for that kind of storage. Just create a BDB > database, create a sequence, and go storing the binary streams in BDB my > using an id generated by the sequece, and n the XML data, use something > like: > > <blob id="524354"/> > > to point out to that stream. Besides, it will free you from the overhead > of converting to base64 (and from it), will require less storage space, > etc. This I understand. If I could live with having two separate files, one BDBXML db container for the xml and one BDB container for the binary content then this would be fine. But my goal is to be able to maintain it all in one container for both BDBXML and BDB content. I'll try to formulate an much more specific question: Can I use the BDB api on a BDBXML database and make modifications to it. If I place non-BDBXML content into a BDBXML container, will it break the BDBXML capabilities of that Container. Cheers, Mark ------------------------------------------ To remove yourself from this list, send an email to [email protected]