
June 14th, 2011, 03:58 AM
|
|
Registered User
|
|
Join Date: Oct 2010
Posts: 7
Time spent in forums: 2 h 15 m
Reputation Power: 0
|
|
|
Firebird gets slower and slower, then crashes
We have a firebird 1.5 database that is constantly synchronising data from another source. This means lots of update statments are being performed.
A single sync involves updating around 25,000 records every 15mins.
This process starts quite fast, it complete the 25,000 updates in around 60seconds (during which CPU is at 100%) Each sync process gradually gets slower and slower. The firebird process uses more and more memory (but only around 1GB in total). The database also grows larger and larger when it reaches around 1.2GB it crashes with a deadlock error.
I understand the database growth, because presumably an update leaves an old copy of the record in the database. What is causing the slowdown and the memory usage?
Is there anything I can do to reduce the slowdown, and the crashing?
|