Subject Re: Long Running Transactions...again...
Author beru7
--- In firebird-support@yahoogroups.com, "Ann W. Harrison"
<aharrison@i...> wrote:
> Pierre Y. wrote:
> >
> > Are the advices concerning Long Running Transaction, posted by
Craig Stuntz
> > in his blog, applicable to Firebird ?
> >
>
> Yes.

I've done some tests to verify this and it's not what I saw !

The test I did was:
T1 ReadCommitted R/W
T2 Snapshot

T1 Open
T2 Open

Loop many many times:
Write something in T2 and commit
Write something in T1 and commitretaining from time to time.

Now, checking GSTAT, I see the oldest snapshot is stuck to where it
was when our transactions started.

Which is not what Craig Stuntz said would happen: that it was OK to
keep a transaction open using ReadCommitted/CommitRetaining, but ONLY
in IB7.1 because of some new functionality.

Am I getting something wrong or do FB and IB7.1 behave differently in
this situation ? Or does the fact that "oldest snapshot" doesn't move
forward not mean anything is going wrong ?


Thanks
Berenger