Schema:

ORGANIZATION_USAGE

SNAPSHOT_POLICIES view — Deprecated

This Organization Usage view provides information on snapshot policies.

Columns

Organization-level columns

Column NameData TypeDescription
ORGANIZATION_NAMEVARCHARName of the organization.
ACCOUNT_LOCATORVARCHARSystem-generated identifier for the account.
ACCOUNT_NAMEVARCHARUser-defined identifier for the account.

Additional columns

Column nameData typeDescription
IDNUMBERInternal system-generated identifier for the snapshot policy.
NAMEVARCHARName of the snapshot policy.
SCHEMA_IDNUMBERInternal system-generated identifier for the schema of the snapshot policy.
SCHEMA_NAMEVARCHARSchema that the snapshot policy belongs to.
CATALOG_IDNUMBERInternal system-generated identifier for the database of the snapshot policy.
CATALOG_NAMEVARCHARDatabase that the snapshot policy belongs to.
SCHEDULEVARCHARSchedule for snapshot creation.
EXPIRE_AFTER_DAYSNUMBERDays after snapshot creation when snapshot should be expired.
HAS_RETENTION_LOCKVARCHAR

Indicates whether the policy includes a retention lock. Y if policy has retention lock; N otherwise.

Retention lock protects snapshots from being deleted by anyone for the defined retention period. The retention lock also prevents the retention period from being decreased on the policy.

OWNERVARCHARName of the role that owns the snapshot policy.
OWNER_ROLE_TYPEVARCHARType of role that owns the snapshot policy. Account role or Database role.
CREATEDTIMESTAMP_LTZDate and time when the snapshot policy was created.
LAST_ALTEREDTIMESTAMP_LTZDate and time when the snapshot policy was last altered.
DELETEDTIMESTAMP_LTZDate and time when the snapshot policy was deleted.
COMMENTVARCHARComment for the snapshot policy.

Usage notes

  • Latency for the view may be up to 180 minutes (3 hours).