Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^4: BerkeleyDB and a very large file

by alexm (Chaplain)
on Aug 22, 2008 at 23:05 UTC ( #706338=note: print w/replies, xml ) Need Help??


in reply to Re^3: BerkeleyDB and a very large file
in thread BerkeleyDB and a very large file

Well, you might think they can be used, but this notice on the Selecting a byte order shows that they're not actually so usable:

It is important to note that the Berkeley DB access methods do no data conversion for application specified data. Key/data pairs written on a little-endian format architecture will be returned to the application exactly as they were written when retrieved on a big-endian format architecture.

Thus, if I'm getting it right, you can actually read a BerkeleyDB file from a different platform, but first you'll have to convert both keys and data to native form in order to use them.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://706338]
help
Chatterbox?
[virtualsue]: Nor am I :-)
[talexb]: virtualsue Heh .. long time no see! :)
[virtualsue]: I have a quiet Perl themed slack workspace
[virtualsue]: The person who talks to me on it the most *hates* Perl but she hates everything
[virtualsue]: If anyone is interested, ping me an email address for an invitation.
[virtualsue]: I welcome any talktaive people who do not mind using a propietary walled-garden service for free
[virtualsue]: or even proprietary
[virtualsue]: we talk about programming and music and stuff

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (12)
As of 2017-09-26 13:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (295 votes). Check out past polls.

    Notices?