explain.depesz.com

PostgreSQL's explain analyze made readable

Result: vza

Settings
# exclusive inclusive rows x rows loops node
1. 0.000 571.640 ↓ 0.0 0 1

Nested Loop (cost=122,241.96..122,340.40 rows=4 width=2,026) (actual time=571.640..571.640 rows=0 loops=1)

2. 0.003 0.105 ↑ 1.0 1 1

Nested Loop (cost=0.98..17.03 rows=1 width=37) (actual time=0.099..0.105 rows=1 loops=1)

3. 0.056 0.056 ↑ 1.0 1 1

Index Only Scan using arbeitsort_pkey on arbeitsort arbeitsort2_ (cost=0.42..8.44 rows=1 width=37) (actual time=0.055..0.056 rows=1 loops=1)

  • Index Cond: (id = 'e72307a5-e686-4535-8fa2-0dde5cb1b6fe'::text)
  • Heap Fetches: 1
4. 0.046 0.046 ↑ 1.0 1 1

Index Only Scan using id_index on objekt arbeitsort2_1_ (cost=0.56..8.57 rows=1 width=37) (actual time=0.043..0.046 rows=1 loops=1)

  • Index Cond: (id = 'e72307a5-e686-4535-8fa2-0dde5cb1b6fe'::text)
  • Heap Fetches: 1
5. 29.695 588.422 ↓ 0.0 0 1

Gather (cost=122,240.98..122,323.33 rows=4 width=2,063) (actual time=571.532..588.422 rows=0 loops=1)

  • Workers Planned: 2
  • Workers Launched: 2
6. 0.001 558.727 ↓ 0.0 0 3

Merge Join (cost=121,240.98..121,322.93 rows=2 width=2,063) (actual time=558.727..558.727 rows=0 loops=3)

  • Merge Cond: ((massnahme0_.id)::text = (arbeitsort1_.massnahme_id)::text)
7. 0.003 558.694 ↑ 8,003.0 1 3

Merge Left Join (cost=121,221.22..121,283.13 rows=8,003 width=2,063) (actual time=558.694..558.694 rows=1 loops=3)

  • Merge Cond: ((massnahme0_.id)::text = (massnahme0_3_.id)::text)
8. 0.005 558.685 ↑ 8,003.0 1 3

Merge Left Join (cost=121,204.83..121,245.45 rows=8,003 width=2,058) (actual time=558.685..558.685 rows=1 loops=3)

  • Merge Cond: ((massnahme0_.id)::text = (massnahme0_2_.id)::text)
9. 13.222 558.610 ↑ 8,003.0 1 3

Sort (cost=121,201.18..121,221.19 rows=8,003 width=2,026) (actual time=558.609..558.610 rows=1 loops=3)

  • Sort Key: massnahme0_.id
  • Sort Method: quicksort Memory: 3843kB
10. 283.260 545.388 ↑ 1.2 6,403 3

Hash Join (cost=936.18..120,682.33 rows=8,003 width=2,026) (actual time=20.464..545.388 rows=6,403 loops=3)

  • Hash Cond: ((massnahme0_1_.id)::text = (massnahme0_.id)::text)
11. 242.213 242.213 ↑ 1.2 1,344,200 3

Parallel Seq Scan on objekt massnahme0_1_ (cost=0.00..115,335.50 rows=1,680,250 width=721) (actual time=0.035..242.213 rows=1,344,200 loops=3)

12. 11.908 19.915 ↑ 1.0 19,208 3

Hash (cost=696.08..696.08 rows=19,208 width=1,305) (actual time=19.915..19.915 rows=19,208 loops=3)

  • Buckets: 32768 Batches: 1 Memory Usage: 4260kB
13. 8.007 8.007 ↑ 1.0 19,208 3

Seq Scan on massnahme massnahme0_ (cost=0.00..696.08 rows=19,208 width=1,305) (actual time=0.026..8.007 rows=19,208 loops=3)

14. 0.044 0.070 ↑ 66.0 1 3

Sort (cost=3.65..3.82 rows=66 width=69) (actual time=0.070..0.070 rows=1 loops=3)

  • Sort Key: massnahme0_2_.id
  • Sort Method: quicksort Memory: 30kB
15. 0.026 0.026 ↑ 1.0 66 3

Seq Scan on bonitierung massnahme0_2_ (cost=0.00..1.66 rows=66 width=69) (actual time=0.021..0.026 rows=66 loops=3)

16. 0.002 0.006 ↓ 0.0 0 3

Sort (cost=16.39..16.74 rows=140 width=521) (actual time=0.006..0.006 rows=0 loops=3)

  • Sort Key: massnahme0_3_.id
  • Sort Method: quicksort Memory: 25kB
17. 0.004 0.004 ↓ 0.0 0 3

Seq Scan on beregnung massnahme0_3_ (cost=0.00..11.40 rows=140 width=521) (actual time=0.003..0.004 rows=0 loops=3)

18. 0.002 0.032 ↓ 0.0 0 3

Sort (cost=19.76..19.77 rows=4 width=74) (actual time=0.032..0.032 rows=0 loops=3)

  • Sort Key: arbeitsort1_.massnahme_id
  • Sort Method: quicksort Memory: 25kB
19. 0.004 0.030 ↓ 0.0 0 3

Bitmap Heap Scan on massnahme2arbeitsort arbeitsort1_ (cost=4.45..19.72 rows=4 width=74) (actual time=0.030..0.030 rows=0 loops=3)

  • Recheck Cond: ((arbeitsort_id)::text = 'e72307a5-e686-4535-8fa2-0dde5cb1b6fe'::text)
20. 0.026 0.026 ↓ 0.0 0 3

Bitmap Index Scan on sub_index (cost=0.00..4.45 rows=4 width=0) (actual time=0.026..0.026 rows=0 loops=3)

  • Index Cond: ((arbeitsort_id)::text = 'e72307a5-e686-4535-8fa2-0dde5cb1b6fe'::text)
Planning time : 2.525 ms