Updated on 2024-06-03 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 corresponding to the timestamp in the range.

Table 1 GS_TXN_SNAPSHOT columns

Name

Type

Description

snptime

timestamp with time zone

Snapshot time

snpxmin

bigint

Minimum snapshot ID

snpcsn

bigint

Snapshot CSN

snpsnapshot

text

Serialized snapshot text