ESTIMATE_HYBRID_TABLE_STORAGE_USAGE

functionsupportedTables, views, streams, sequences

docs.snowflake.com ↗

Table functions

Returns a near-real-time estimate of the total storage usage, in bytes, of a hybrid table.

Syntax

ESTIMATE_HYBRID_TABLE_STORAGE_USAGE( '<table_name>' )

Parameters

NameRequiredDescription
'table_name'requiredThe name of the hybrid table for which to estimate storage usage. The name must be a string. If the table identifier is not fully qualified (in the form db_name.schema_name.table_name), the function resolves it using the database and schema in use for the current session. Because the value is a string, it must be enclosed in single quotes. If the identifier itself requires a double-quoted identifier (for example, mixed-case letters), enclose the double-quoted identifier inside single quotes (for example, 'mydb.myschema."MyTable"').

Usage notes

Output

The function returns a single row with the following columns: Column Name | Data Type | Description TABLE_NAME | VARCHAR | Fully qualified name of the hybrid table. TOTAL_ESTIMATED_BYTES | NUMBER | Estimated total storage usage of the table, in bytes.

See also