They have nothing to do with each other.  A transaction isc_tpd_consistency keeps two phase table locks to make transactions serializable.  An attachment with isc_dpb_dbkey_scope is about preserving dbkeys across transactions within an attachment.

On 5/19/2022 2:35 PM, Leyne, Sean wrote:

-----Original Message-----
From: Paul Beach <pbe...@mail.ibphoenix.com>
Sent: May 19, 2022 12:10 PM
It maintains all the rdb$db_key values for the length of a connection - i.e.
they are not allowed to change. An internal transaction gets started for this.
It was introduced to support Cognos' Powerhouse 4GL product which made
extensive use of db_keys.

Obviously it can have issues re. garbage collection...
That is already supported by "snapshot" (isc_tpb_consistency) transactions, no?

If not, how is it different, aside from the connection vs. transaction level?


Sean


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel
--
Jim Starkey, AmorphousDB, LLC


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to