IndexPilot

PostgreSQL index decision guide

Test a PostgreSQL index before creating it

Use HypoPG and real workload evidence to evaluate a proposed PostgreSQL index without creating physical DDL.

The problem

Building an index just to see whether the planner might use it is slow and leaves cleanup work.

How IndexPilot helps

With HypoPG, IndexPilot evaluates the proposed shape inside a read-only review session. It does not execute the supplied CREATE INDEX or run EXPLAIN ANALYZE.

Try it

$ pipx install indexpilot
$ indexpilot review --candidate-sql 'CREATE INDEX ON public.orders (tenant_id, created_at)' --hypopg
  • No physical index created
  • No migration executed
  • Positive verdict means benchmark next—not safe to ship

Important limit

IndexPilot decides whether an index has enough evidence to benchmark. It does not claim that planner cost equals production latency or that an index is safe to ship.