explain.depesz.com

PostgreSQL's explain analyze made readable

Result: HIRN

Settings
# exclusive inclusive rows x rows loops node
1. 0.007 4,109.169 ↑ 1.0 1 1

Result (cost=63.05..63.06 rows=1 width=4) (actual time=4,109.169..4,109.169 rows=1 loops=1)

  • Buffers: shared hit=451 read=3,062 dirtied=95
  • I/O Timings: read=4,054.180
2.          

Initplan (for Result)

3. 0.003 4,109.162 ↑ 1.0 1 1

Limit (cost=0.43..63.05 rows=1 width=4) (actual time=4,109.161..4,109.162 rows=1 loops=1)

  • Buffers: shared hit=451 read=3,062 dirtied=95
  • I/O Timings: read=4,054.180
4. 4,109.159 4,109.159 ↑ 20,838.0 1 1

Index Scan using projects_pkey on public.projects (cost=0.43..1,304,719.57 rows=20,838 width=4) (actual time=4,109.159..4,109.159 rows=1 loops=1)

  • Index Cond: (projects.id IS NOT NULL)
  • Filter: projects.disable_overriding_approvers_per_merge_request
  • Rows Removed by Filter: 4,161
  • Buffers: shared hit=451 read=3,062 dirtied=95
  • I/O Timings: read=4,054.180