explain.depesz.com

PostgreSQL's explain analyze made readable

Result: R23B

Settings
# exclusive inclusive rows x rows loops node
1. 0.780 469.403 ↑ 4.5 23 1

GroupAggregate (cost=9,041.77..9,043.57 rows=103 width=70) (actual time=468.350..469.403 rows=23 loops=1)

  • Group Key: instelling.id
2. 3.929 468.623 ↓ 102.9 10,602 1

Sort (cost=9,041.77..9,042.03 rows=103 width=70) (actual time=468.271..468.623 rows=10,602 loops=1)

  • Sort Key: instelling.id
  • Sort Method: quicksort Memory: 1,360kB
3. 0.000 464.694 ↓ 102.9 10,602 1

Nested Loop Semi Join (cost=483.67..9,038.32 rows=103 width=70) (actual time=15.605..464.694 rows=10,602 loops=1)

4. 1.560 96.269 ↓ 43.3 10,902 1

Nested Loop (cost=480.25..7,080.12 rows=252 width=78) (actual time=15.478..96.269 rows=10,902 loops=1)

5. 2.739 7.285 ↓ 2.7 128 1

Hash Left Join (cost=479.83..865.37 rows=48 width=62) (actual time=3.087..7.285 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.551 1.551 ↑ 1.0 9,548 1

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

7. 0.954 2.995 ↑ 1.0 9,548 1

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

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

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

9. 87.424 87.424 ↑ 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.567..0.683 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.402 370.668 ↑ 1.0 1 10,902

Nested Loop (cost=3.42..7.76 rows=1 width=24) (actual time=0.034..0.034 rows=1 loops=10,902)

11. 0.000 305.256 ↑ 1.0 1 10,902

Nested Loop (cost=2.86..7.09 rows=1 width=16) (actual time=0.028..0.028 rows=1 loops=10,902)

12. 10.878 261.648 ↑ 1.0 1 10,902

Nested Loop (cost=2.42..6.61 rows=1 width=24) (actual time=0.024..0.024 rows=1 loops=10,902)

  • Join Filter: (o.id = b.onderzoek)
13. 6.099 207.138 ↑ 1.0 1 10,902

Nested Loop (cost=1.99..6.09 rows=1 width=32) (actual time=0.019..0.019 rows=1 loops=10,902)

14. 10.762 152.628 ↑ 1.0 1 10,902

Nested Loop (cost=1.55..5.59 rows=1 width=24) (actual time=0.014..0.014 rows=1 loops=10,902)

15. 0.000 87.216 ↑ 1.0 1 10,902

Nested Loop (cost=0.98..4.87 rows=1 width=24) (actual time=0.008..0.008 rows=1 loops=10,902)

  • Join Filter: (this_.screening_ronde = u.screening_ronde)
16. 32.706 32.706 ↑ 1.0 1 10,902

Index Only Scan using idx_90905c45f999889 on follow_up_radiologieverslag fur (cost=0.42..1.11 rows=1 width=8) (actual time=0.003..0.003 rows=1 loops=10,902)

  • Index Cond: (screening_ronde = this_.screening_ronde)
  • Heap Fetches: 10,906
17. 54.530 54.530 ↑ 1.0 1 10,906

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

  • Index Cond: (screening_ronde = fur.screening_ronde)
18. 54.650 54.650 ↑ 2.0 1 10,930

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

  • Index Cond: (uitnodiging = u.id)
19. 48.411 48.411 ↑ 1.0 1 16,137

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

  • Index Cond: (id = a.onderzoek)
  • Heap Fetches: 10,908
20. 43.632 43.632 ↑ 1.0 1 10,908

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

  • Index Cond: (onderzoek = a.onderzoek)
21. 43.632 43.632 ↑ 1.0 1 10,908

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

  • Index Cond: (laatste_beoordeling_met_uitslag = b.id)
  • Heap Fetches: 10,602
22. 53.010 53.010 ↑ 1.0 1 10,602

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

  • Index Cond: (id = u.screening_ronde)
  • Heap Fetches: 10,602
Planning time : 3.593 ms
Execution time : 469.526 ms