All skills
Skillintermediate
db-table-index-sizes
This command displays the total size of indexes for each table. It is calculated by using the system administration function `pg_indexes_size()`.
Claude Code Knowledge Pack7/10/2026
Overview
db-table-index-sizes
This command displays the total size of indexes for each table. It is calculated by using the system administration function pg_indexes_size().
TABLE │ INDEX SIZE
───────────────────────────────────┼─────────────
job_run_details │ 10104 kB
users │ 128 kB
job │ 32 kB
instances │ 8192 bytes
http_request_queue │ 0 bytes