Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: Optimizing mysql and inserts

by huck (Prior)
on Mar 15, 2017 at 02:47 UTC ( [id://1184631]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Optimizing mysql and inserts
in thread Optimizing mysql and inserts

I am surprised nobody ever mentioned

$rc = $dbh->begin_work; $rc = $dbh->commit;
http://search.cpan.org/~timb/DBI-1.636/DBI.pm#commit

Any time you work with more than a tiny few records you want to use begin_work and commit

yea i know its old, and you probably know this by now

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2024-04-24 09:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found