Updated on 2024-05-07 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 snapshot ID

snpcsn

bigint

Snapshot CSN

snpsnapshot

text

Serialized snapshot text