PGAA functions reference#

概要#

インスタンス上のすべての PGAA テーブル、その保存場所、およびパスを一覧表示します。

パラメータ#

なし。

戻り値#

Column

Type

Description

schema_name

text

テーブルのスキーマ

table_name

text

テーブルの名前

storage_location_name

text

テーブルの保存場所の名前

path

text

保存場所のテーブルへのパス

managed_by

text

テーブルを作成したユーザーの名前

format

text

テーブルの形式(現在は`delta`または`iceberg`)

pgaa.lakehouse_table_stats()#

概要#

Lakehouse テーブルの最新バージョンのサイズ (バイト単位) とすべてのバージョンの合計サイズを返します。

パラメータ#

Parameter

Type

Description

relation

regclass

サイズを取得するテーブルの名前

戻り値#

Column

Type

Description

latest_snapshot_size

bigint

テーブルの最新スナップショットのサイズ(バイト単位)

total_size

bigint

テーブルのすべてのバージョンの合計サイズ(バイト単位)