PGAA functions reference

Synopsis

Lists all PGAA tables on the instance, their storage location, and path.

Parameters

None.

Returns

ColumnTypeDescription
schema_nametextThe schema of the table
table_nametextThe name of the table
storage_location_nametextThe name of the storage location for the table
pathtextThe path to the table in the storage location
managed_bytextThe name of the user who created the table
formattextThe format of the table (currently delta or iceberg)

pgaa.lakehouse_table_stats()

Synopsis

Returns the size in bytes of the latest version of a Lakehouse table and the total size of all versions.

Parameters

ParameterTypeDescription
relationregclassThe name of the table to get the size of

Returns

ColumnTypeDescription
latest_snapshot_sizebigintThe size in bytes of the latest snapshot of the table
total_sizebigintThe total size in bytes of all versions of the table

Could this page be better? Report a problem or suggest an addition!