explain.depesz.com

PostgreSQL's explain analyze made readable

Result: iriw

Settings
# exclusive inclusive rows x rows loops node
1. 0.002 0.008 ↓ 0.0 0 1

Nested Loop (cost=4,867.25..5,014.62 rows=457 width=8) (actual time=0.008..0.008 rows=0 loops=1)

2. 0.006 0.006 ↓ 0.0 0 1

Index Scan using pk_organisation on organisation org (cost=0.28..8.30 rows=1 width=4) (actual time=0.006..0.006 rows=0 loops=1)

  • Index Cond: (id = 26)
  • Filter: iscombicoordinator
  • Rows Removed by Filter: 1
3. 0.000 0.000 ↓ 0.0 0

Hash Join (cost=4,866.97..5,001.75 rows=457 width=8) (never executed)

  • Hash Cond: (co.roadworkcontractownerid = c.id)
4. 0.000 0.000 ↓ 0.0 0

Index Only Scan using ix_roadworkcontractowners_isactive_organisationid_roadworkcontr on roadworkcontractowners co (cost=0.42..118.29 rows=3,293 width=8) (never executed)

  • Index Cond: ((isactive = true) AND (organisationid = 26))
  • Filter: isactive
  • Heap Fetches: 0
5. 0.000 0.000 ↓ 0.0 0

Hash (cost=4,844.92..4,844.92 rows=1,730 width=8) (never executed)

6. 0.000 0.000 ↓ 0.0 0

Nested Loop (cost=21.02..4,844.92 rows=1,730 width=8) (never executed)

7. 0.000 0.000 ↓ 0.0 0

Hash Join (cost=20.74..4,735.68 rows=131 width=8) (never executed)

  • Hash Cond: (p3.permitownerorganisationid = o.id)
8. 0.000 0.000 ↓ 0.0 0

Index Only Scan using ix_permit_owner on permit p3 (cost=0.42..4,585.30 rows=10,303 width=12) (never executed)

  • Index Cond: (permitforcombi = true)
  • Filter: permitforcombi
  • Heap Fetches: 0
9. 0.000 0.000 ↓ 0.0 0

Hash (cost=19.29..19.29 rows=82 width=4) (never executed)

10. 0.000 0.000 ↓ 0.0 0

Index Scan using ix_organisation_iscombipartner on organisation o (cost=0.28..19.29 rows=82 width=4) (never executed)

  • Index Cond: (iscombipartner = true)
  • Filter: iscombipartner
11. 0.000 0.000 ↓ 0.0 0

Index Scan using ix_roadworkcontract_roadworkcontractpublicspacemanagerid on roadworkcontract c (cost=0.29..0.69 rows=14 width=8) (never executed)

  • Index Cond: (roadworkcontractpublicspacemanagerid = p3.permitpublicspacemanagerid)
  • Filter: isactive
Planning time : 1.077 ms