Subject | Re: Triggers suitability |
---|---|
Author | yeohray |
Post date | 2005-10-07T02:22:26Z |
Thanks for the information. Is it possible to retrieve this 'record
version' value? I was thinking if it could be used to detect changes
to records (related to my question on avoiding pessimistic locking).
Thanks.
Ray Mond
-- In firebird-support@yahoogroups.com, "Ann W. Harrison"
<aharrison@i...> wrote:
version' value? I was thinking if it could be used to detect changes
to records (related to my question on avoiding pessimistic locking).
Thanks.
Ray Mond
-- In firebird-support@yahoogroups.com, "Ann W. Harrison"
<aharrison@i...> wrote:
>that
> Firebird uses multi-generational concurrency control. That means
> when you modify a record, Firebird creates a new version of therecord
> and keeps the old one around so that other transactions cancontinue to
> see it. When you delete a record, Firebird creates a new recordversion
> that says that the record is deleted, leaving the old recordversion.
> When your transaction commits and all transactions that wereconcurrent
> with it end, the old versions become uninteresting - uselessgarbage in
> fact. All transactions (and a garbage collect thread) remove
> unnecessary old versions of records as they are encountered.
>
>
> Regards,
>
>
> Ann
>