I am using the Zeoslib library in Delphi.
I have a large multidimensional static array that I need to transfer to an empty table in a local MySQL database. How can I do this efficiently?
Just iterate through a million insert statements?
INSERT INTO tab VALUES (v11,..., v1n), ..., (vm1, ..., vmn)
. IOW, you can collect your array rows into chunks consisting of M rows. This will seriously improve performance. (More)LOAD DATA INFILE
statement to load text file efficiently. (More)