---
title: "db-calls"
description: "This command is much like the `supabase inspect db outliers` command, but ordered by the number of times a statement has been called."
type: skill
canonical_url: https://claudary.paisolsolutions.com/skills/db-calls
source: "Claudary"
difficulty: intermediate
author: "Claude Code Knowledge Pack"
date: 2026-07-10T11:19:36.460Z
license: CC-BY-4.0
attribution: "db-calls — Claudary (https://claudary.paisolsolutions.com/skills/db-calls)"
---

# db-calls
This command is much like the `supabase inspect db outliers` command, but ordered by the number of times a statement has been called.

## Overview

# db-calls

This command is much like the `supabase inspect db outliers` command, but ordered by the number of times a statement has been called.

You can use this information to see which queries are called most often, which can potentially be good candidates for optimisation.

```

                        QUERY                      │ TOTAL EXECUTION TIME │ PROPORTION OF TOTAL EXEC TIME │ NUMBER CALLS │  SYNC IO TIME
  ─────────────────────────────────────────────────┼──────────────────────┼───────────────────────────────┼──────────────┼──────────────────
    SELECT * FROM users WHERE id = $1              │ 14:50:11.828939      │ 89.8%                         │  183,389,757 │ 00:00:00.002018
    SELECT * FROM user_events                      │ 01:20:23.466633      │ 1.4%                          │       78,325 │ 00:00:00
    INSERT INTO users (email, name) VALUES ($1, $2)│ 00:40:11.616882      │ 0.8%                          │       54,003 │ 00:00:00.000322

```

---

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