Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Re: SQLite vs CDB_File vs BerkeleyDB

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


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 19: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
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-04-25 17:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found