SNAPSHOT_SETS view

This Information Schema view provides information on snapshot sets.

列名称

数据类型

描述

SNAPSHOT_SET_NAME

VARCHAR

Name of the snapshot set.

SNAPSHOT_SET_SCHEMA

VARCHAR

Schema that the snapshot set belongs to.

SNAPSHOT_SET_CATALOG

VARCHAR

Database that the snapshot set belongs to.

OBJECT_KIND

VARCHAR

Type of object that the snapshot set is snapshotting.

OBJECT_NAME

VARCHAR

Name of object that the snapshot set is snapshotting.

OBJECT_SCHEMA

VARCHAR

Name of schema that contains the object being snapshotted by this snapshot set.

OBJECT_CATALOG

VARCHAR

Name of database that contains the object being snapshotted by this snapshot set.

SNAPSHOT_POLICY_NAME

VARCHAR

Name of snapshot policy attached to this snapshot set.

SNAPSHOT_POLICY_SCHEMA

VARCHAR

Name of the schema that contains the snapshot policy.

SNAPSHOT_POLICY_CATALOG

VARCHAR

Name of the database that contains the snapshot policy.

OWNER

VARCHAR

Name of the role that owns the snapshot set.

OWNER_ROLE_TYPE

VARCHAR

Type of role that owns the snapshot set. Account role or Database role.

CREATED

TIMESTAMP

Date and time when the snapshot set was created.

LAST_ALTERED

TIMESTAMP

对象上次经 DML、DDL 或后台元数据操作修改的日期和时间。请参阅 使用说明

COMMENT

VARCHAR

Comment for the snapshot set.

使用说明

  • 视图的延迟时间最长可达 180 分钟(3 小时)。

  • 对对象执行以下操作时,将更新 LAST_ALTERED 列:

    • DDL 操作。

    • DML 操作(仅适用于表)。即使 DML 语句不影响任何行,也会更新此列。

    • 由 Snowflake 对元数据执行的后台维护操作。

语言: 中文