explain.depesz.com

PostgreSQL's explain analyze made readable

Result: 8k4U : zonder join

Settings
# exclusive inclusive rows x rows loops node
1. 0.804 404.241 ↑ 11.0 23 1

GroupAggregate (cost=9,682.92..9,687.33 rows=252 width=70) (actual time=403.160..404.241 rows=23 loops=1)

  • Group Key: instelling.id
2. 3.513 403.437 ↓ 42.1 10,603 1

Sort (cost=9,682.92..9,683.55 rows=252 width=70) (actual time=403.076..403.437 rows=10,603 loops=1)

  • Sort Key: instelling.id
  • Sort Method: quicksort Memory: 1,360kB
3. 0.000 399.924 ↓ 42.1 10,603 1

Nested Loop Semi Join (cost=483.25..9,672.87 rows=252 width=70) (actual time=8.625..399.924 rows=10,603 loops=1)

4. 1.568 63.787 ↓ 43.3 10,903 1

Nested Loop (cost=480.25..7,080.12 rows=252 width=78) (actual time=8.545..63.787 rows=10,903 loops=1)

5. 1.918 6.411 ↓ 2.7 128 1

Hash Left Join (cost=479.83..865.37 rows=48 width=62) (actual time=3.466..6.411 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,420
6. 1.090 1.090 ↑ 1.0 9,548 1

Seq Scan on org_organisatie instelling (cost=0.00..360.48 rows=9,548 width=70) (actual time=0.008..1.090 rows=9,548 loops=1)

7. 1.086 3.403 ↑ 1.0 9,548 1

Hash (cost=360.48..360.48 rows=9,548 width=16) (actual time=3.403..3.403 rows=9,548 loops=1)

  • Buckets: 16,384 Batches: 1 Memory Usage: 506kB
8. 2.317 2.317 ↑ 1.0 9,548 1

Seq Scan on org_organisatie pinstellin8_ (cost=0.00..360.48 rows=9,548 width=16) (actual time=0.004..2.317 rows=9,548 loops=1)

9. 55.808 55.808 ↑ 6.2 85 128

Index Scan using idx_90905c45fe82e03a on follow_up_radiologieverslag this_ (cost=0.42..124.24 rows=523 width=24) (actual time=0.328..0.436 rows=85 loops=128)

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

Nested Loop (cost=3.00..10.28 rows=1 width=16) (actual time=0.031..0.031 rows=1 loops=10,903)

11. 0.000 272.575 ↑ 1.0 1 10,903

Nested Loop (cost=2.44..9.61 rows=1 width=8) (actual time=0.025..0.025 rows=1 loops=10,903)

12. 10.895 228.963 ↑ 1.0 1 10,903

Nested Loop (cost=2.00..9.13 rows=1 width=16) (actual time=0.021..0.021 rows=1 loops=10,903)

  • Join Filter: (o.id = b.onderzoek)
13. 6.125 174.448 ↑ 1.0 1 10,903

Nested Loop (cost=1.56..8.61 rows=1 width=24) (actual time=0.016..0.016 rows=1 loops=10,903)

14. 10.783 119.933 ↑ 1.0 1 10,903

Nested Loop (cost=1.13..8.11 rows=1 width=16) (actual time=0.011..0.011 rows=1 loops=10,903)

15. 54.515 54.515 ↑ 1.0 1 10,903

Index Scan using idx_70765babf999889 on uitnodiging u (cost=0.56..7.38 rows=1 width=16) (actual time=0.005..0.005 rows=1 loops=10,903)

  • Index Cond: (screening_ronde = this_.screening_ronde)
16. 54.635 54.635 ↑ 2.0 1 10,927

Index Scan using idx_20d39191b0d90981 on afspraak a (cost=0.56..0.70 rows=2 width=16) (actual time=0.005..0.005 rows=1 loops=10,927)

  • Index Cond: (uitnodiging = u.id)
17. 48.390 48.390 ↑ 1.0 1 16,130

Index Only Scan using onderzoek_pkey on onderzoek o (cost=0.44..0.50 rows=1 width=8) (actual time=0.003..0.003 rows=1 loops=16,130)

  • Index Cond: (id = a.onderzoek)
  • Heap Fetches: 10,905
18. 43.620 43.620 ↑ 1.0 1 10,905

Index Scan using idx_8aa01da649359f6d on beoordeling b (cost=0.44..0.50 rows=1 width=16) (actual time=0.004..0.004 rows=1 loops=10,905)

  • Index Cond: (onderzoek = a.onderzoek)
19. 43.620 43.620 ↑ 1.0 1 10,905

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,905)

  • Index Cond: (laatste_beoordeling_met_uitslag = b.id)
  • Heap Fetches: 10,603
20. 53.015 53.015 ↑ 1.0 1 10,603

Index Only Scan using screening_ronde_pkey on screening_ronde sr (cost=0.56..0.67 rows=1 width=8) (actual time=0.005..0.005 rows=1 loops=10,603)

  • Index Cond: (id = u.screening_ronde)
  • Heap Fetches: 10,603
Planning time : 2.294 ms
Execution time : 404.357 ms