Updated on 2023-10-23 GMT+08:00

GS_TXN_SNAPSHOT

GS_TXN_SNAPSHOT is a timestamp-CSN mapping table. It periodically samples and maintains an appropriate time range to estimate the CSN value corresponding to the timestamp in the range.

Table 1 GS_TXN_SNAPSHOT columns

Name

Data Type

Description

snptime

timestamp with time zone

Snapshot time

snpxmin

bigint

Minimum transaction ID snapshots

snpcsn

bigint

Commit sequence number (CSN) snapshots

snpsnapshot

text

Serialized snapshot text