Subject | Re: [firebird-support] Firebird BUG |
---|---|
Author | Dmitry Yemanov |
Post date | 2006-01-17T08:29:32Z |
"Martijn Tonies" <m.tonies@...> wrote:
again and again in the same transaction as you're still the record owner.
However, the second update is always much slower than others, as the engine
replaces a delta with a full record version, so multiple updates are not
good from the performance POV. But there's no other issues with this
approach (and there's no limit on number of record versions anyway).
Dmitry
>(256?)
> > And this is the condition that gave rise to the internal
> > inconsistency. AFAIR, it indicates that more than a maximum number
> > of updates are pending on the same record. It's never advisable towrite
> > code that performs multiple updates on a record during the sameCorrect. There are no new versions created when you modify the same record
> > transaction: even 2 is one too many.
>
> Could be me, but I find this silly.
>
> During the same transaction, if the record is mine, it's mine :-)
again and again in the same transaction as you're still the record owner.
However, the second update is always much slower than others, as the engine
replaces a delta with a full record version, so multiple updates are not
good from the performance POV. But there's no other issues with this
approach (and there's no limit on number of record versions anyway).
Dmitry