How to insert the data into MYSQL DB in background mode ?
The data contains huge volume about 20 million rows
feedback
|
|
I assume that by "background mode" you mean that you want lower priority for your INSERT statements to rule out concurrency and performance issues while feeding the database. In this case, consider using the INSERT DELAYED statement for row insertion. From the MySQL docs:
When inserting a large amount of data, consider temporarily disabling the binary log to reduce the strain on your I/O subsystem. | |||
|
feedback
|