Subject | Re: [firebird-support] Problem with multiple isql sessions |
---|---|
Author | Ivan Prenosil |
Post date | 2007-04-22T12:32:58Z |
> Ok, I'm doing aUse
> SET TRANSACTION WAIT ISOLATION LEVEL READ COMMITTED;
> in both sessions.
>
> But now when I'm doing:
> Session 1:
> SET TRANSACTION WAIT ISOLATION LEVEL READ COMMITTED;
> insert into ....
> -- sleep here, goto Session 2
> commit;
>
> Session 2:
> select count(*) from ...
> -- it hangs here until the commit
SET TRANSACTION WAIT ISOLATION LEVEL READ COMMITTED RECORD_VERSION;
> Firebird should handle this also very well because it has MVCC, right?Yes, unfortunately default for READ COMMITTED is NO RECORD_VERSION,
which basically means disabling MVCC.
Ivan
http://www.volny.cz/iprenosil/interbase/