Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: flat-file vs DB_File

by jepri (Parson)
on Sep 09, 2001 at 07:18 UTC ( #111242=note: print w/replies, xml ) Need Help??


in reply to flat-file vs DB_File

I recommend the third option: DBI with DBD::RAM. Arrange it so your process keeps running (is a daemon. or uner mod_perl) and loads all the data on startup. Restart the daemon everytime you change the data.

It may not be possible to do this, but if you do it'll be faster than both the methods you mention.

____________________
Jeremy
I didn't believe in evil until I dated it.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2022-08-12 15:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?