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 chilling in the Monastery: (12)
As of 2015-07-31 21:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (282 votes), past polls