---
title: "db-table-index-sizes"
description: "This command displays the total size of indexes for each table. It is calculated by using the system administration function `pg_indexes_size()`."
type: skill
canonical_url: https://claudary.paisolsolutions.com/skills/db-table-index-sizes
source: "Claudary"
difficulty: intermediate
author: "Claude Code Knowledge Pack"
date: 2026-07-10T11:19:36.460Z
license: CC-BY-4.0
attribution: "db-table-index-sizes — Claudary (https://claudary.paisolsolutions.com/skills/db-table-index-sizes)"
---

# 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()`.

## 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
```

---

Source: [Claudary](https://claudary.paisolsolutions.com/skills/db-table-index-sizes) · https://claudary.paisolsolutions.com
