Subject | RE: [IBO] How to prevent deadlock ??? |
---|---|
Author | Svein Erling Tysvaer |
Post date | 2002-11-13T13:24:34Z |
At 23:23 13.11.2002 +1100, you wrote:
PessimisticLocking set to true (I doubt these would cause any such
behaviour, but am not 100% sure)? None of your report do any updating like
setting a field meaning 'This record has now been reported' or 'Last accessed'?
someone knowledgeable (Ann or similar) recommended using commit a while
ago, but could not find anything looking through the messages I have kept.
In theory I would say that a readonly transaction ought to be able to
figure out that it didn't have to do anything special and treat commit and
rollback the same way, but I don't think it is that simple.
Set
>Oh.. more importantly, though, why was a read-only transaction in a reportI have no idea. Any pecularities, e.g. tiConsistency isolation or
>(i.e. queries which was select only - no updates) causing a deadlock in my
>main updating transaction. Even if it was left open after the report
>generated, surely the read-only status would not cause a deadlock?
PessimisticLocking set to true (I doubt these would cause any such
behaviour, but am not 100% sure)? None of your report do any updating like
setting a field meaning 'This record has now been reported' or 'Last accessed'?
>Wouldn't the amount of work (rollback Vs commit) have something to do withAgreed, but unfortunately nothing I am capable of answering. I think
>updating/versioning which had taken place? so a readonly rollback would be
>no different to a read-only commit?
>It's interesting to get to the bottom of it.
someone knowledgeable (Ann or similar) recommended using commit a while
ago, but could not find anything looking through the messages I have kept.
In theory I would say that a readonly transaction ought to be able to
figure out that it didn't have to do anything special and treat commit and
rollback the same way, but I don't think it is that simple.
Set