Hi,
I need to insert a few million records into a table (around 5 million, might grow in future). Currently I am testing using around 800 records only. I am using a recordInsertList to add every record to the list and then use the recordInsertList.insertDatabase() method to finally insert the data into the table.
However, this is taking a large amount of time (around 6000 milliseconds for 800 records). I have found where the problem is, but do not know why. When I remove the recordInsertList.insertDatabase() line, the data is still being inserted into the table. I do not know how as this is the method that is supposed to insert the data, not the .add method.
The insert must be happening on the .add method, for some reason.
Any ideas why this might be?
Thanks in advance
*This post is locked for comments