|
Question:
Why do I have very slow inserts of
numerous records using Firebird (I have several hundred thousands of
records)?
Answer:
Please don’t use TpFIBDataset, because this is a buffered
dataset. You will also have memory problems with TpFIBDataset. Use
pFIBQuery with parameterized inserts instead. A commit after 500 should
be ok. We made a text-import component and are able to put 100.000
records in 4 seconds with this approach.
Tips:
We use FIBPlus in all our applications, and we're very satisfied. If you're coming from IBX, FIBPlus is an especially good choice in as much as it has a common origin, and therefore, a similar structure, so conversion from IBX to FIBPlus is rather easy. >>