TUniScript very slow
Posted: Thu 23 May 2013 18:45
I am trying to insert many rows (~900) into a postgresql table using insert statements. I tried using the TUniQuery first but it doesn't allow multiple SQL statements, even separated with ;
I can successfully insert with TUniScript but it is exceedingly slow. It takes about 20 minutes, while executing the script via PGAdmin3 takes less than a second.
I am using Linux, Lazarus x64 Unidac version 4.1.5
What am I missing?
I can successfully insert with TUniScript but it is exceedingly slow. It takes about 20 minutes, while executing the script via PGAdmin3 takes less than a second.
I am using Linux, Lazarus x64 Unidac version 4.1.5
What am I missing?