explain.depesz.com

PostgreSQL's explain analyze made readable

Result: 5N4e

Settings
# exclusive inclusive rows x rows loops node
1. 0.008 20.012 ↑ 1.0 1 1

Result (cost=12.61..12.62 rows=1 width=4) (actual time=20.011..20.012 rows=1 loops=1)

  • Buffers: shared hit=3 read=9
  • I/O Timings: read=19.781
2.          

Initplan (for Result)

3. 0.001 20.004 ↑ 1.0 1 1

Limit (cost=0.56..12.61 rows=1 width=4) (actual time=20.004..20.004 rows=1 loops=1)

  • Buffers: shared hit=3 read=9
  • I/O Timings: read=19.781
4. 20.003 20.003 ↑ 20,838.0 1 1

Index Only Scan using idx_projects_id_disable_overriding_approvers_and_created_at on public.projects (cost=0.56..251,030.88 rows=20,838 width=4) (actual time=20.003..20.003 rows=1 loops=1)

  • Index Cond: ((projects.id IS NOT NULL) AND (projects.disable_overriding_approvers_per_merge_request = true))
  • Heap Fetches: 1
  • Filter: projects.disable_overriding_approvers_per_merge_request
  • Rows Removed by Filter: 0
  • Buffers: shared hit=3 read=9
  • I/O Timings: read=19.781