Subject | Re: [firebird-support] Stability problems |
---|---|
Author | Helen Borrie |
Post date | 2004-06-28T10:27:11Z |
>On Monday 28 June 2004 08:16, Santiago Cordoba wrote:At 09:49 AM 28/06/2004 +0000, Phil Shrimpton wrote:
>
> >
> > Oldest active 5396133
> > Next transaction 5400951
>You have 4818 active transactions in your system. Which is going to cause aNot necessarily 4818 active transactions...it means that 4817 transactions
>performance issue at best
have started since TID 5396133 started; and the OAT hasn't finished
yet. This means that garbage from those intervening transactions just
accumulates and doesn't get cleaned up. It's not the retained garbage, per
se, that's causing the system to buckle and break, but the buildup of row
references in memory.
Also this:
> Oldest active 5396133indicates there was a stuck transaction when TID 5396133 started. Oldest
>
> Oldest snapshot 5394502
snapshot indicates the "high-water mark" of the last garbage collection. If
this is the way the system is allowed to roll, it suggests some attention
to hard committing is in order.
Do you have user tasks around that are using a Borland-style "Autocommit"
transaction (Post + CommitRetaining in a single hit for each DML operation,
typically operating on rows in a scrollable dataset) and never performing a
hard commit? That's what your figures could indicate...
/heLen