Skip to content

Cluster size#

What it does

Shows the on-disk size of the postgres cluster.

$ pgcue run storage.cluster_size

Use when

  • PostgreSQL storage usage is growing.
  • Establishing the total database footprint before investigating further.

Inspect

  • The current cluster size and its change between snapshots.

Result

Point-in-time measurement at execution time.

Columns#

Column Meaning
cluster_name Configured PostgreSQL cluster name, or UNSET.
total_cluster_size Human-readable sum of all tablespace sizes.

Compatibility#

  • PostgreSQL 14+