Schema:

ACCOUNT_USAGE

STORAGE_LIFECYCLE_POLICIES view

This Account Usage view displays storage lifecycle policies. Each row in this view corresponds to a different storage lifecycle policy.

Columns

Column NameData TypeDescription
NAMETEXTName of the storage lifecycle policy.
IDNUMBERInternal/system-generated identifier for the storage lifecycle policy.
SCHEMA_IDTEXTInternal/system-generated identifier for the schema in which the policy resides.
SCHEMATEXTSchema to which the storage lifecycle policy belongs.
DATABASE_IDTEXTInternal/system-generated identifier for the database in which the policy resides.
DATABASETEXTDatabase to which the storage lifecycle policy belongs.
OWNERTEXTName of the role that owns the storage lifecycle policy.
SIGNATURETEXTType signature of the storage lifecycle policy’s arguments.
RETURN_TYPETEXTReturn value data type.
BODYTEXTStorage lifecycle policy definition.
COMMENTTEXTComments entered for the storage lifecycle policy.
CREATED_ONTIMESTAMP_LTZDate and time when the storage lifecycle policy was created.
LAST_ALTERED_ONTIMESTAMP_LTZDate and time when the storage lifecycle policy was last altered.
DELETED_ONTIMESTAMP_LTZDate and time when the storage lifecycle policy was dropped.
OPTIONSOBJECTStorage lifecycle policy options, including ARCHIVE_FOR_DAYS (number of days to keep data in current tier) and ARCHIVE_TIER (target storage tier).

Usage notes

  • Latency for the view may be up to 120 minutes (2 hours).