Updated on 2024-05-07 GMT+08:00

ADM_HIST_SNAPSHOT

ADM_HIST_SNAPSHOT records the WDR snapshot data stored in the current system. By default, only the system administrator can access this view. Common users can access the view only after being authorized. This view exists in the PG_CATALOG and SYS schemas. This view can be accessed only when the GUC parameter enable_wdr_snapshot is set to on. To access the PG_CATALOG.ADM_HIST_SNAPSHOT and SYS.ADM_HIST_SNAPSHOT views, you must have the permission to access the snapshot schema, snapshot, and tables_snap_timestamp tables.

Table 1 ADM_HIST_SNAPSHOT columns

Name

Type

Description

snap_id

bigint

Unique snapshot ID.

dbid

oid

Database ID of the snapshot.

instance_number

oid

Not supported. The value is the same as that of DBID.

startup_time

timestamp(3) without time zone

Instance start time.

begin_interval_time

timestamp without time zone

Start time of the snapshot interval (the end time of the last snapshot).

end_interval_time

timestamp without time zone

End time of the snapshot interval, that is, the actual time when the snapshot is taken (the end time of this snapshot).

flush_elapsed

interval

Amount of time to perform the snapshot.

snap_level

numeric

Not supported. Its value is NULL.

error_count

numeric

Not supported. Its value is NULL.

snap_flag

numeric

Not supported. Its value is NULL.

snap_timezone

interval day to second(0)

Time offset between the snapshot time zone and the coordinated universal time (UTC).

begin_interval_time_tz

timestamp with time zone

Start time of the snapshot interval with the time zone (end time of the last snapshot).

end_interval_time_tz

timestamp with time zone

End time of the snapshot interval, that is, the actual time when the snapshot is taken (the end time of this snapshot), with the time zone.

con_id

numeric

Not supported. Its value is 0.