Skip to content

Query Doctor Docs

Understand and optimize the queries running against your PostgreSQL database.

Getting Started

Connect your database and see your first optimization suggestions in minutes. Read more →

How Optimization Works

Learn how Query Doctor uses your production statistics and PostgreSQL’s own cost model to find provable index improvements. Read more →

Live Queries

Monitor every query hitting your database and see optimization suggestions in real time. Read more →

Source Code Mapping

Trace queries back to the exact line of application code that produced them. Read more →

CI Integration

Catch query regressions in pull requests with the analyzer GitHub Action. Read more →

SQLCommenter for Drizzle

Annotate queries with metadata using the Drizzle ORM plugin. Read more →