explain.depesz.com

PostgreSQL's explain analyze made readable

Result: SGScQ

Settings
# exclusive inclusive rows x rows loops node
1. 0.015 653.750 ↑ 1.0 1 1

Result (cost=1.31..1.32 rows=1 width=4) (actual time=653.749..653.750 rows=1 loops=1)

  • Buffers: shared hit=67,727
2.          

Initplan (for Result)

3. 0.003 653.735 ↑ 1.0 1 1

Limit (cost=0.56..1.31 rows=1 width=4) (actual time=653.734..653.735 rows=1 loops=1)

  • Buffers: shared hit=67,727
4. 653.732 653.732 ↑ 444,086.0 1 1

Index Only Scan using idx_projects_id_disable_overriding_approvers_and_created_at on public.projects (cost=0.56..334,638.40 rows=444,086 width=4) (actual time=653.732..653.732 rows=1 loops=1)

  • Index Cond: ((projects.id IS NOT NULL) AND (projects.created_at >= '2020-05-28 10:49:45.958485+00'::timestamp with time zone) AND (projects.created_at <= '2020-06-25 10:49:45.95858+00'::timestamp with time zone))
  • Heap Fetches: 0
  • Filter: ((NOT projects.disable_overriding_approvers_per_merge_request) OR (projects.disable_overriding_approvers_per_merge_request IS NULL))
  • Rows Removed by Filter: 0
  • Buffers: shared hit=67,727