Skip to content

Glossary: PostgreSQL for Developers

pg_size_pretty

Also written: pg_relation_size

pg_relation_size returns the size of a table or index in bytes and pg_size_pretty makes the number readable, such as 2376 kB.

Where the book teaches it

Related terms

index