explain.depesz.com

PostgreSQL's explain analyze made readable

Result: 8iyB

Settings
# exclusive inclusive rows x rows loops node
1. 0.013 2,065.593 ↑ 1.0 1 1

Result (cost=1.31..1.32 rows=1 width=4) (actual time=2,065.592..2,065.593 rows=1 loops=1)

  • Buffers: shared hit=303 read=67,424
  • I/O Timings: read=1,356.103
2.          

Initplan (for Result)

3. 0.002 2,065.580 ↑ 1.0 1 1

Limit (cost=0.56..1.31 rows=1 width=4) (actual time=2,065.580..2,065.580 rows=1 loops=1)

  • Buffers: shared hit=303 read=67,424
  • I/O Timings: read=1,356.103
4. 2,065.578 2,065.578 ↑ 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=2,065.578..2,065.578 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=303 read=67,424
  • I/O Timings: read=1,356.103