Skip to main content
Since 0.2.0 Get information about the disk space used by the s belonging to a , returning size information for each table, any indexes on the , any toast tables, and the total size associated with the . All sizes are reported in bytes. If the function is executed on a distributed , it returns disk space usage information as a separate row per node. The access node is not included since it doesn’t have any local data. Additional metadata associated with a can be accessed via the timescaledb_information.chunks view.

Samples

Arguments

The syntax is:

Returns

If executed on a relation that is not a , the function returns NULL.