Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Wisdom sought on migrating from text files to Berkeley DB or SQL

by jZed (Prior)
on Dec 23, 2004 at 15:11 UTC ( #417113=note: print w/ replies, xml ) Need Help??


in reply to Wisdom sought on migrating from text files to Berkeley DB or SQL

As you mention "some relational stuff can be emulated" - the DBI distribution now includes DBD::DBM which layers a DBI/SQL interface over any DBM file, including BerkeleyDB files. It can operate either directly on the file, or make use of MLDBM with a serilaization method of your choice (Storable, Data::Dumper, etc.). The SQL is limited, but certainly covers the kinds of aggregate functions you mention as well as several kinds of joins.


Comment on Re: Wisdom sought on migrating from text files to Berkeley DB or SQL

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://417113]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (11)
As of 2014-08-20 12:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (113 votes), past polls