explain.depesz.com

PostgreSQL's explain analyze made readable

Result: kQtk

Settings
# exclusive inclusive rows x rows loops node
1. 0.033 2.008 ↑ 1.0 1 1

Result (cost=0.89..0.90 rows=1 width=4) (actual time=2.008..2.008 rows=1 loops=1)

  • Buffers: shared hit=200
2.          

Initplan (for Result)

3. 0.002 1.975 ↑ 1.0 1 1

Limit (cost=0.57..0.89 rows=1 width=4) (actual time=1.974..1.975 rows=1 loops=1)

  • Buffers: shared hit=200
4. 1.973 1.973 ↑ 30,231,586.0 1 1

Index Only Scan using index_ci_builds_on_user_id_and_created_at_for_ci_build on public.ci_builds (cost=0.57..9,524,774.89 rows=30,231,586 width=4) (actual time=1.973..1.973 rows=1 loops=1)

  • Index Cond: ((ci_builds.user_id IS NOT NULL) AND (ci_builds.created_at >= '2020-02-24 07:25:33.436925'::timestamp without time zone) AND (ci_builds.created_at <= '2020-03-23 07:25:33.436996'::timestamp without time zone))
  • Heap Fetches: 0
  • Buffers: shared hit=200