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

Re: Re: SQLite vs CDB_File vs BerkeleyDB

by Matts (Deacon)
on Mar 19, 2002 at 14:45 UTC ( [id://152821]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re: SQLite vs CDB_File vs BerkeleyDB
in thread SQLite vs CDB_File vs BerkeleyDB

Otherwise SQLite does a fflush on every row, making it much slower ;-)

The option is only relevant if you're worried about data integrity during a filesystem crash.

  • Comment on Re: Re: SQLite vs CDB_File vs BerkeleyDB

Replies are listed 'Best First'.
Re: Re: Re: SQLite vs CDB_File vs BerkeleyDB
by dws (Chancellor) on Mar 19, 2002 at 14:50 UTC
    Otherwise SQLite does a fflush on every row, making it much slower ;-)

    Uh... That sounds like you're defeating AutoCommit => 1, which would make this a misleading benchmark.

      Not at all. None of the others were doing fflush per row, so why should SQLite suffer?
        None of the others were doing fflush per row, so why should SQLite suffer?

        Then why invoke the pragma on $dbh and not $dbh2 (or is does the pragma have global effect)?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://152821]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.