Skip to main content
Since 0.2.0 Get the total disk space used by a or , that is, the sum of the size for the table itself including s, any indexes on the table, and any toast tables. The size is reported in bytes. This is equivalent to computing the sum of total_bytes column from the output of hypertable_detailed_size function.
When a name is provided, the function transparently looks up the backing and returns its statistics instead.
For more information about using s, including size partitioning, see the hypertable section.

Samples

Get the size information for a .
Get the size information for all s.
Get the size information for a .

Arguments

The syntax is:

Returns

NULL is returned if the function is executed on a non- relation.