Subject | RE: [firebird-support] Best Practice Question - How many rows to update before commit? |
---|---|
Author | Leyne, Sean |
Post date | 2007-11-09T16:26:57Z |
Myles,
balance.
One comment though, 500,000 rows should load at the rate of about 1,000
per second (I got this and I'm a lousy Delphi programmer), but you need
to use prepared queries and parameters to accomplish this. So, 3 hours
of import time seems very wrong.
Sean
> I'm trying to balance performance vs. reliability here. The data loadaffect on
> takes
> about 3 hours to finish, so frequent commits could have dramatic
> the length of time that this has to run, and as it is run nightly inmost
> cases, I need to find a way to do this as quickly and reliably asActually, a commit every 5000 to 10000 rows will give you a good
> possible.
balance.
One comment though, 500,000 rows should load at the rate of about 1,000
per second (I got this and I'm a lousy Delphi programmer), but you need
to use prepared queries and parameters to accomplish this. So, 3 hours
of import time seems very wrong.
Sean