Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

SQLite vs CDB_File vs BerkeleyDB

by Matts (Deacon)
on Mar 19, 2002 at 15:57 UTC ( [id://152749]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    Benchmark: timing 30000 iterations of Insert Berkeley, Insert CDB, Ins
    +ert SQLite, Insert SQLite 2...
    Insert Berkeley: 10 wallclock secs ( 3.26 usr +  5.66 sys =  8.92 CPU)
    Insert CDB:  0 wallclock secs ( 0.25 usr +  0.02 sys =  0.27 CPU)
    ...
    Select CDB:  2 wallclock secs ( 1.10 usr +  0.83 sys =  1.93 CPU)
    Select SQLite:  5 wallclock secs ( 4.61 usr +  0.15 sys =  4.76 CPU)
    Select SQLite 2:  8 wallclock secs ( 4.70 usr +  0.24 sys =  4.94 CPU)
    
  2. or download this
    use DBI;
    use CDB_File;
    ...
                     },
                     );
    # cmpthese $t2;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2024-04-19 13:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found