Subject | Re: [firebird-support] Re: How to implement SQLServer's WITH(NOLOCK) |
---|---|
Author | Dmitry Yemanov |
Post date | 2008-04-14T17:06:53Z |
Thomas Steinmaurer wrote:
Try RECORD_VERSION and see the difference :-)
Dmitry
>That implies NO_RECORD_VERSION where writers block readers...
> Not here. ;-)
>
> * Two concurrent isql sessions
> * Both start a read committed transaction
> * The first isql session does a SELECT * FROM MYTABLE WITH LOCKNot a surprise at all, the same for a regular UPDATE.
> * The second isql session does a SELECT * FROM MYTABLE (without WITH LOCK).
> * The second session gets blocked
Try RECORD_VERSION and see the difference :-)
Dmitry