Measure one relation including indexes and TOAST.
Section: Monitoring and Statistics
Show table and indexes size
sql
sql
SELECT pg_size_pretty(pg_total_relation_size('public.users'));Explanation
See summary for usage details.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Monitoring and Statistics