explain.depesz.com

PostgreSQL's explain analyze made readable

Result: GBk2

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

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

  • Buffers: shared hit=25
2.          

Initplan (for Result)

3. 0.002 0.228 ↑ 1.0 1 1

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

  • Buffers: shared hit=25
4. 0.226 0.226 ↑ 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=0.226..0.226 rows=1 loops=1)

  • Index Cond: ((projects.id IS NOT NULL) AND (projects.disable_overriding_approvers_per_merge_request = true))
  • Heap Fetches: 0
  • Filter: projects.disable_overriding_approvers_per_merge_request
  • Rows Removed by Filter: 0
  • Buffers: shared hit=25