explain.depesz.com

PostgreSQL's explain analyze made readable

Result: Ic0i

Settings
# exclusive inclusive rows x rows loops node
1. 0.763 211.212 ↑ 2.0 23 1

GroupAggregate (cost=9,540.34..9,541.13 rows=45 width=70) (actual time=210.192..211.212 rows=23 loops=1)

  • Group Key: instelling.id
2. 2.673 210.449 ↓ 235.1 10,580 1

Sort (cost=9,540.34..9,540.45 rows=45 width=70) (actual time=210.109..210.449 rows=10,580 loops=1)

  • Sort Key: instelling.id
  • Sort Method: quicksort Memory: 1,358kB
3. 0.000 207.776 ↓ 235.1 10,580 1

Nested Loop Semi Join (cost=501.87..9,539.11 rows=45 width=70) (actual time=7.011..207.776 rows=10,580 loops=1)

4. 3.350 164.840 ↓ 41.5 10,948 1

Nested Loop (cost=501.43..9,414.46 rows=264 width=78) (actual time=6.998..164.840 rows=10,948 loops=1)

5. 9.310 117.698 ↓ 41.5 10,948 1

Nested Loop (cost=501.00..9,279.51 rows=264 width=78) (actual time=6.986..117.698 rows=10,948 loops=1)

6. 1.059 64.596 ↓ 41.5 10,948 1

Nested Loop (cost=500.43..7,178.40 rows=264 width=78) (actual time=6.968..64.596 rows=10,948 loops=1)

7. 0.884 7.473 ↓ 2.7 128 1

Hash Left Join (cost=500.01..905.65 rows=48 width=62) (actual time=3.136..7.473 rows=128 loops=1)

  • Hash Cond: (instelling.parent = pinstellin8_.id)
  • Filter: ((instelling.parent = 10,910,337) OR (pinstellin8_.parent = 10,910,337))
  • Rows Removed by Filter: 9,430
8. 3.495 3.495 ↓ 1.0 9,558 1

Seq Scan on org_organisatie instelling (cost=0.00..380.56 rows=9,556 width=70) (actual time=0.009..3.495 rows=9,558 loops=1)

9. 0.938 3.094 ↓ 1.0 9,558 1

Hash (cost=380.56..380.56 rows=9,556 width=16) (actual time=3.094..3.094 rows=9,558 loops=1)

  • Buckets: 16,384 Batches: 1 Memory Usage: 506kB
10. 2.156 2.156 ↓ 1.0 9,558 1

Seq Scan on org_organisatie pinstellin8_ (cost=0.00..380.56 rows=9,556 width=16) (actual time=0.002..2.156 rows=9,558 loops=1)

11. 56.064 56.064 ↑ 6.4 86 128

Index Scan using idx_90905c45fe82e03a on follow_up_radiologieverslag this_ (cost=0.42..125.20 rows=548 width=24) (actual time=0.009..0.438 rows=86 loops=128)

  • Index Cond: (aangemaakt_in = instelling.id)
  • Filter: ((ingevoerd_op IS NULL) AND (aangemaakt_op <= (now() - '30 days'::interval)))
  • Rows Removed by Filter: 728
12. 43.792 43.792 ↑ 1.0 1 10,948

Index Scan using screening_ronde_pkey on screening_ronde sr (cost=0.56..7.96 rows=1 width=16) (actual time=0.004..0.004 rows=1 loops=10,948)

  • Index Cond: (id = this_.screening_ronde)
13. 43.792 43.792 ↑ 1.0 1 10,948

Index Scan using onderzoek_pkey on onderzoek o (cost=0.44..0.51 rows=1 width=16) (actual time=0.004..0.004 rows=1 loops=10,948)

  • Index Cond: (id = sr.laatste_onderzoek)
14. 43.792 43.792 ↑ 1.0 1 10,948

Index Only Scan using idx_54ba8fa1f8a62420 on dossier d (cost=0.43..0.47 rows=1 width=8) (actual time=0.004..0.004 rows=1 loops=10,948)

  • Index Cond: (laatste_beoordeling_met_uitslag = o.laatste_beoordeling)
  • Heap Fetches: 10,198
Planning time : 1.112 ms
Execution time : 211.289 ms