Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re^2: Bulk data insertion into MySql

by sowraaj (Novice)
on Sep 03, 2011 at 12:31 UTC ( #923984=note: print w/ replies, xml ) Need Help??

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

Dear friend,

I tried the method Auto_commit& Commit in my coding but i noted that there is not large difference compare to my previous code. If you know any method which is helped to enhance the insertion time by bulk loading . (Now i insert 10,00,000rows/2min)I would like to reduce that time to seconds


Comment on Re^2: Bulk data insertion into MySql
Replies are listed 'Best First'.
Re^3: Bulk data insertion into MySql
by Anonymous Monk on Sep 03, 2011 at 19:45 UTC

    If you can already insert one million rows in two minutes, that seems like a very good speed to me.

    Your task looks like a one-time script to import ("bulk load") a number of files into the database. Why do you need it faster? How often do you need to run it?

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2016-02-07 22:10 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (262 votes), past polls