Schema:

ACCOUNT_USAGE

SNAPSHOT_SETS view — Deprecated

This Account Usage view provides information about snapshot sets and their properties.

Columns

Column nameData typeDescription
IDNUMBERInternal system-generated identifier for the snapshot set.
NAMEVARCHARName of the snapshot set
SCHEMA_IDNUMBERInternal system-generated identifier for the schema of the snapshot set.
SCHEMA_NAMEVARCHARSchema that the snapshot set belongs to
CATALOG_IDNUMBERInternal system-generated identifier for the database of the snapshot set.
CATALOG_NAMEVARCHARDatabase that the snapshot set belongs to.
OBJECT_KINDVARCHARType of object that the snapshot set is snapshotting.
OBJECT_IDNUMBERID of object that the snapshot set is snapshotting.
OBJECT_NAMEVARCHARName of object that the snapshot set is snapshotting.
OBJECT_SCHEMA_IDNUMBERID of schema that contains the object being snapshotted by this snapshot set.
OBJECT_SCHEMA_NAMEVARCHARName of schema that contains the object being snapshotted by this snapshot set.
OBJECT_CATALOG_IDNUMBERID of database that contains the object being snapshotted by this snapshot set.
OBJECT_CATALOG_NAMEVARCHARName of database that contains the object being snapshotted by this snapshot set.
SNAPSHOT_POLICY_IDNUMBERID of snapshot policy attached to this snapshot set.
SNAPSHOT_POLICY_NAMEVARCHARName of snapshot policy attached to this snapshot set.
SNAPSHOT_POLICY_SCHEMA_IDNUMBERID of the schema that contains the snapshot policy.
SNAPSHOT_POLICY_SCHEMA_NAMEVARCHARName of the schema that contains the snapshot policy.
SNAPSHOT_POLICY_CATALOG_IDNUMBERID of the database that contains the snapshot policy.
SNAPSHOT_POLICY_CATALOG_NAMEVARCHARName of the database that contains the snapshot policy.
OWNERVARCHARName of the role that owns the snapshot set.
OWNER_ROLE_TYPEVARCHARType of role that owns the snapshot set. Account role or Database role.
CREATEDTIMESTAMP_LTZDate and time when the snapshot set was created.
LAST_ALTEREDTIMESTAMP_LTZ

Date and time the object was last altered by a DML, DDL, or background metadata operation. See Usage Notes_.

DELETEDTIMESTAMP_LTZDate and time when the snapshot set was deleted.
COMMENTVARCHARComment for the snapshot set.

Usage notes

  • Latency for the view may be up to 360 minutes (6 hours).
  • The LAST_ALTERED column is updated when the following operations are performed on an object:

    • DDL operations.
    • DML operations (for tables only). This column is updated even when no rows are affected by the DML statement.
    • Background maintenance operations on metadata performed by Snowflake.