Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: SQLite Slow insert

by digglife (Acolyte)
on Aug 14, 2014 at 03:33 UTC ( [id://1097375]=note: print w/replies, xml ) Need Help??


in reply to SQLite Slow insert

Try turning off autocommit.
my $dbh = DBI->connect( "dbi:SQLite:dbname=SSBHLD2.db", "", "", { RaiseError => 1, Autocommit => 0 }, ) or die $DBI::errstr;
Then add $dbh->commit(); when you finish processing the data.

Log In?
Username:
Password:

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

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

    No recent polls found