Re: Phantom Inserts

From: Nigel Campbell <nigelc_at_Cognos.COM>
Date: 6 Mar 1995 23:31:35 GMT
Message-ID: <3jg60n$lmr_at_gatekeeper.cognos.com>


Bruce Horrocks (bh_at_granby.demon.co.uk) wrote:
: In article <pwongD4C773.F15_at_netcom.com> pwong_at_netcom.com "Philip S. Wong" writes:
 

: >I was wondering how different databases/vendors implement protection
: >against phantom inserts. In particular, how can they achieve phantom
: >protection while maintaining a good degree of concurrency?
: >
: >Example:
: [snipped]
 

: Funny how both the responses form Oracle personnel mentioned Rdb
: rather than (original) Oracle. The term "read repeatability" is often
: used in this situation and is available in Oracle by setting the
: appropriate isolation level.

Interbase provides phantom protection by default without requiring readers to block writers or vice versa. Rather than use locking on tables or indexes etc InterBase uses row versioning. Your transaction can only see those rows whose transaction id is known to be committed.

--
Nigel Campbell		  Voice: (613) 738-1338 ext 3016    P.O. Box 9707
Desktop Division            FAX: (613) 738-0002             3755 Riverside Dr.
Cognos Incorporated	    MCI: nigel campbell || 3074729  Ottawa, Ontario
UUnet: nigelc_at_cognos.COM                                    CANADA  K1G 3Z4
Received on Tue Mar 07 1995 - 00:31:35 CET

Original text of this message