Required Arguments
Returns
Column | Description |
---|---|
table_bytes | (BIGINT) Disk space used by main_table (like pg_relation_size(main_table)) |
index_bytes | (BIGINT) Disk space used by indexes |
toast_bytes | (BIGINT) Disk space of toast tables |
total_bytes | (BIGINT) Total disk space used by the specified table, including all indexes and TOAST data |
node_name | (NAME) Node for which size is reported, applicable only to distributed hypertables |
Sample Usage
Get size information for a hypertable.