explain.depesz.com

PostgreSQL's explain analyze made readable

Result: YHKa

Settings
# exclusive inclusive rows x rows loops node
1. 0.004 0.245 ↑ 1.0 1 1

Result (cost=0.53..0.54 rows=1 width=4) (actual time=0.245..0.245 rows=1 loops=1)

  • Buffers: shared hit=2 read=2
  • I/O Timings: read=0.162
2.          

Initplan (for Result)

3. 0.002 0.241 ↑ 1.0 1 1

Limit (cost=0.43..0.53 rows=1 width=4) (actual time=0.241..0.241 rows=1 loops=1)

  • Buffers: shared hit=2 read=2
  • I/O Timings: read=0.162
4. 0.239 0.239 ↑ 14,207,316.0 1 1

Index Scan using projects_pkey on public.projects (cost=0.43..1,304,719.57 rows=14,207,316 width=4) (actual time=0.239..0.239 rows=1 loops=1)

  • Index Cond: (projects.id IS NOT NULL)
  • 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=2 read=2
  • I/O Timings: read=0.162