I have a database with about 5 million rows and a dozen columns 6 of the columns are strings the rest integers. At the moment I am loading them using the MySQL "load data local infile" function but I am wondering whether this is the best way.
Would TMyLoader be a better option? and if so is there an example of its usage?
Fastest way to load records
I have looked at the MyLoader help files and it suggests using MyBackup - this would suit me well as my data is loaded from a text file.
However it order to determine the format of the data in the text file (I can't find reference to it anywhere in the help) I modified my program to first save the tables to a temporary folder. I changed to mode to bmtext and the path to C;\temp, but I get the error message "Can't create/write to file c:\temp\cases. The folder c:\temp exists - cases is one of the tables in the database.
Any ideas?
However it order to determine the format of the data in the text file (I can't find reference to it anywhere in the help) I modified my program to first save the tables to a temporary folder. I changed to mode to bmtext and the path to C;\temp, but I get the error message "Can't create/write to file c:\temp\cases. The folder c:\temp exists - cases is one of the tables in the database.
Any ideas?