Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Bulk data insertion into MySql

by JavaFan (Canon)
on Sep 03, 2011 at 22:18 UTC ( #924023=note: print w/ replies, xml ) Need Help??


in reply to Re: Bulk data insertion into MySql
in thread Bulk data insertion into MySql

Transactions make insert operations in most database, including MySQL slower. There's no such thing as a "lazy write" - in order to remain consistent, data needs to be written to disk as soon as possible.

Now, I'd still recommend putting everything in a transaction, but not for performance reasons.


Comment on Re^2: Bulk data insertion into MySql

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2014-07-14 10:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (257 votes), past polls