Schema:

ACCOUNT_USAGE

ICEBERG_ORPHAN_FILE_DETECTION_HISTORY view

Use this Account Usage view to query the orphan file detection runs for Snowflake-managed Apache Iceberg™ tables in your account within the last 365 days (1 year). Each row represents one detection run, with summary statistics for that run.

Note

This view contains data only if you enabled orphan file deletion for your account. For more information, see Orphan file deletion for Snowflake-managed Iceberg tables.

Columns

Column nameData typeDescription
EVENT_TIMESTAMPTIMESTAMP_LTZTime of the detection run.
ORPHAN_FILE_COUNTNUMBERNumber of orphan file candidates that the run identified.
TABLES_WITH_ORPHANSNUMBERNumber of clone groups that have at least one orphan file candidate in the run. A table and its clones count as one.
TOTAL_ORPHAN_FILE_SIZE_BYTESNUMBERTotal size, in bytes, of the orphan file candidates that the run identified.

Usage notes