explain.depesz.com

PostgreSQL's explain analyze made readable

Result: tu4i

Settings
# exclusive inclusive rows x rows loops node
1. 0.233 610.779 ↓ 9.2 4,233 1

Limit (cost=131,626.08..142,115.01 rows=459 width=212) (actual time=513.372..610.779 rows=4,233 loops=1)

2. 5.504 610.546 ↓ 9.2 4,233 1

Hash Semi Join (cost=131,626.08..142,115.01 rows=459 width=212) (actual time=513.372..610.546 rows=4,233 loops=1)

  • Hash Cond: (article16_.id = article19_.id)
3. 556.972 556.972 ↓ 5.7 11,350 1

Hash Semi Join (cost=123,209.73..133,683.00 rows=1,983 width=228) (actual time=465.298..556.972 rows=11,350 loops=1)

4. 0.000 48.070 ↓ 1.1 17,159 1

Hash (cost=8,216.66..8,216.66 rows=15,975 width=16) (actual time=48.070..48.070 rows=17,159 loops=1)

  • Hash Cond: (article0_.id = article16_.id)
  • Buckets: 2048 Batches: 1 Memory Usage: 671kB
5. 522.932 522.932 ↓ 2.5 22,368 1

Hash Right Join (cost=116,950.97..127,358.19 rows=9,071 width=212) (actual time=441.477..522.932 rows=22,368 loops=1)

6. 45.812 45.812 ↓ 1.1 17,159 1

Hash Join (cost=4,106.15..8,216.66 rows=15,975 width=16) (actual time=15.688..45.812 rows=17,159 loops=1)

7. 0.000 23.813 ↑ 1.0 14,888 1

Hash (cost=6,070.22..6,070.22 rows=15,083 width=16) (actual time=23.813..23.813 rows=14,888 loops=1)

  • Hash Cond: (webtags20_.article_id = article19_.id)
  • Hash Cond: (omschrijvi11_.meertaligobject_id = article0_.id)
  • Buckets: 2048 Batches: 1 Memory Usage: 582kB
8. 32.122 32.122 ↓ 1.0 84,264 1

Seq Scan on objectomschrijving omschrijvi11_ (cost=0.00..9,686.75 rows=83,966 width=43) (actual time=0.006..32.122 rows=84,264 loops=1)

9. 21.901 21.901 ↑ 1.0 14,888 1

Nested Loop (cost=4,369.21..6,070.22 rows=15,083 width=16) (actual time=14.660..21.901 rows=14,888 loops=1)

10. 22.331 22.331 ↓ 1.1 17,159 1

Hash Join (cost=22.09..3,773.17 rows=15,975 width=8) (actual time=0.089..22.331 rows=17,159 loops=1)

11. 15.593 15.593 ↑ 1.0 68,980 1

Hash (cost=3,221.80..3,221.80 rows=68,980 width=8) (actual time=15.593..15.593 rows=68,980 loops=1)

12. 0.000 439.642 ↓ 2.5 22,368 1

Hash (cost=116,838.87..116,838.87 rows=8,968 width=177) (actual time=439.642..439.642 rows=22,368 loops=1)

  • Rows Removed by Filter: 225956
  • Hash Cond: (webtags20_.webtags_id = articleweb21_.id)
  • Filter: (taal_id = 35)
  • Buckets: 8192 Batches: 1 Memory Usage: 2156kB
  • Buckets: 1024 Batches: 1 Memory Usage: 2541kB
13. 9.052 9.052 ↑ 1.0 187,442 1

Seq Scan on article_articlewebtag webtags20_ (cost=0.00..2,888.42 rows=187,442 width=16) (actual time=0.004..9.052 rows=187,442 loops=1)

14. 7.867 7.867 ↑ 1.0 68,980 1

Seq Scan on article article19_ (cost=0.00..3,221.80 rows=68,980 width=8) (actual time=0.001..7.867 rows=68,980 loops=1)

15. 0.007 0.007 ↑ 1.0 1 1

Index Only Scan using articlewebtag_pkey on articlewebtag articleweb18_ (cost=0.00..8.27 rows=1 width=8) (actual time=0.006..0.007 rows=1 loops=1)

16. 432.948 432.948 ↓ 2.5 22,368 1

Hash Left Join (cost=109,750.56..116,838.87 rows=8,968 width=177) (actual time=389.686..432.948 rows=22,368 loops=1)

17. 20.923 20.923 ↑ 1.0 14,888 1

Hash Join (cost=4,369.21..5,911.12 rows=15,083 width=24) (actual time=14.643..20.923 rows=14,888 loops=1)

18. 0.000 0.080 ↑ 1.0 30 1

Hash (cost=21.72..21.72 rows=30 width=8) (actual time=0.080..0.080 rows=30 loops=1)

  • Index Cond: (id = 42605544)
  • Heap Fetches: 0
  • Hash Cond: (webtags17_.article_id = article16_.id)
  • Hash Cond: (articleweb7_.promowebtext_id = promowebte10_.id)
  • Buckets: 1024 Batches: 1 Memory Usage: 1kB
19. 0.077 0.077 ↑ 1.0 30 1

Seq Scan on articlewebtag articleweb21_ (cost=0.00..21.72 rows=30 width=8) (actual time=0.005..0.077 rows=30 loops=1)

20. 429.772 429.772 ↓ 2.5 22,368 1

Hash Right Join (cost=109,717.16..116,771.83 rows=8,968 width=129) (actual time=389.633..429.772 rows=22,368 loops=1)

21. 14.035 14.035 ↑ 1.0 68,980 1

Hash (cost=3,221.80..3,221.80 rows=68,980 width=8) (actual time=14.035..14.035 rows=68,980 loops=1)

22. 0.000 0.000 ↓ 0.0 0 1

Hash (cost=20.40..20.40 rows=1,040 width=48) (actual time=0.000..0.000 rows=0 loops=1)

23. 0.000 1.567 ↑ 1.0 14,888 1

Bitmap Heap Scan on article_articlewebtag webtags17_ (cost=285.16..1,487.70 rows=15,083 width=16) (actual time=0.594..1.567 rows=14,888 loops=1)

  • Rows Removed by Filter: 322
  • Recheck Cond: (webtags_id = 42605544)
  • Hash Cond: (values9_.multilingualtext_id = multilingu8_.id)
  • Filter: (id = ANY ('{42474611,42340979,42341129,42472612,42340997,42341009,42340913,42472676,42341213,42472564,42474006,42341057,42341135,42473671,42472580,42341075,42683956,42340937,42341153,42472628,42341219,42472724,42340967,42474845,42472644,42340985,42341063,42474675,42341045,42341021}'::bigint[]))
  • Buckets: 8192 Batches: 1 Memory Usage: 2156kB
  • Buckets: 1024 Batches: 1 Memory Usage: 0kB
24. 0.000 0.000 ↓ 0.0 0 1

Seq Scan on promowebtext promowebte10_ (cost=0.00..20.40 rows=1,040 width=48) (actual time=0.000..0.000 rows=0 loops=1)

25. 6.913 6.913 ↑ 1.0 68,980 1

Seq Scan on article article16_ (cost=0.00..3,221.80 rows=68,980 width=8) (actual time=0.002..6.913 rows=68,980 loops=1)

26. 362.352 362.352 ↓ 2.5 22,368 1

Hash (cost=107,239.42..107,239.42 rows=8,968 width=117) (actual time=362.352..362.352 rows=22,368 loops=1)

27. 0.581 0.581 ↑ 1.0 14,888 1

Bitmap Index Scan on article_articlewebtag_webtags_id_index (cost=0.00..281.39 rows=15,083 width=0) (actual time=0.581..0.581 rows=14,888 loops=1)

28. 0.000 19.141 ↓ 1.0 127,200 1

Bitmap Heap Scan on multilingualtextvalue values9_ (cost=2,365.64..8,908.99 rows=126,108 width=28) (actual time=5.797..19.141 rows=127,200 loops=1)

  • Recheck Cond: (language_id = 35)
  • Index Cond: (webtags_id = 42605544)
  • Buckets: 1024 Batches: 1 Memory Usage: 2782kB
29. 355.864 355.864 ↓ 2.5 22,368 1

Hash Right Join (cost=100,405.79..107,239.42 rows=8,968 width=117) (actual time=248.994..355.864 rows=22,368 loops=1)

30. 0.000 5.331 ↓ 1.0 127,200 1

Bitmap Index Scan on idx_multilingualtextvalue_language_id (cost=0.00..2,334.11 rows=126,108 width=0) (actual time=5.331..5.331 rows=127,200 loops=1)

  • Index Cond: (language_id = 35)
  • Hash Cond: (multilingu8_.id = articleweb7_.title_id)
31. 13.903 13.903 ↑ 1.0 294,397 1

Seq Scan on multilingualtext multilingu8_ (cost=0.00..4,535.97 rows=294,397 width=8) (actual time=0.003..13.903 rows=294,397 loops=1)

32. 6.126 247.395 ↓ 2.5 22,368 1

Hash (cost=100,293.69..100,293.69 rows=8,968 width=117) (actual time=247.395..247.395 rows=22,368 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 2782kB
33. 9.759 241.269 ↓ 2.5 22,368 1

Hash Join (cost=21,011.57..100,293.69 rows=8,968 width=117) (actual time=179.839..241.269 rows=22,368 loops=1)

  • Rows Removed by Join Filter: 7077
  • Join Filter: ((stockcache1_.availablestock > 0::numeric) OR (stockcache1_.sellablepreferredsupplierstock > 0::numeric) OR ((alternatives: SubPlan 1 or hashed SubPlan 2) AND (stockcache1_.physicalstock > 0::numeric)) OR ((articletyp12_.articletype)::text = 'BUNDLE'::text))
  • Hash Cond: (article0_.warehouse_id = articletyp12_.id)
34.          

SubPlan (forHash Join)

35. 231.506 231.506 ↓ 1.8 29,445 1

Hash Left Join (cost=21,010.46..28,570.81 rows=16,711 width=113) (actual time=178.517..231.506 rows=29,445 loops=1)

36. 0.000 0.004 ↑ 1.0 5 1

Hash (cost=1.05..1.05 rows=5 width=20) (actual time=0.004..0.004 rows=5 loops=1)

  • Hash Cond: (article0_.id = rentoption6_.article_id)
  • Buckets: 1024 Batches: 1 Memory Usage: 1kB
37. 0.500 0.500 ↑ 1.0 5,099 1

Seq Scan on rentoption rentoption14_ (cost=0.00..114.99 rows=5,099 width=8) (actual time=0.001..0.500 rows=5,099 loops=1)

38. 0.000 0.000 ↓ 0.0 0

Index Only Scan using idx_rentoption_article_id on rentoption rentoption14_ (cost=0.00..4.27 rows=1 width=0) (never executed)

  • Index Cond: (article_id = article0_.id)
  • Heap Fetches: 0
39. 0.002 0.002 ↑ 1.0 5 1

Seq Scan on articletypewarehouse articletyp12_ (cost=0.00..1.05 rows=5 width=20) (actual time=0.002..0.002 rows=5 loops=1)

40. 224.284 224.284 ↓ 1.8 29,445 1

Hash Right Join (cost=20,831.73..28,233.51 rows=16,711 width=93) (actual time=177.263..224.284 rows=29,445 loops=1)

41. 0.000 1.248 ↑ 1.0 5,099 1

Hash (cost=114.99..114.99 rows=5,099 width=28) (actual time=1.248..1.248 rows=5,099 loops=1)

  • Hash Cond: (articlegro3_.id = articlegro2_.group_id)
  • Buckets: 1024 Batches: 1 Memory Usage: 279kB
42. 0.565 0.565 ↑ 1.0 5,099 1

Seq Scan on rentoption rentoption6_ (cost=0.00..114.99 rows=5,099 width=28) (actual time=0.002..0.565 rows=5,099 loops=1)

43. 102.925 102.925 ↑ 1.0 8,994 1

Hash Right Join (cost=11,090.54..18,145.33 rows=8,994 width=28) (actual time=65.358..102.925 rows=8,994 loops=1)

44. 0.000 111.901 ↓ 1.8 29,445 1

Hash (cost=9,532.30..9,532.30 rows=16,711 width=73) (actual time=111.901..111.901 rows=29,445 loops=1)

  • Hash Cond: (values5_.multilingualtext_id = multilingu4_.id)
  • Buckets: 2048 Batches: 1 Memory Usage: 2903kB
45. 105.373 105.373 ↓ 1.8 29,445 1

Hash Right Join (cost=7,482.03..9,532.30 rows=16,711 width=73) (actual time=75.379..105.373 rows=29,445 loops=1)

46. 59.170 59.170 ↑ 1.0 8,994 1

Hash (cost=8,612.48..8,612.48 rows=8,994 width=16) (actual time=59.170..59.170 rows=8,994 loops=1)

47. 0.000 19.862 ↓ 1.0 127,200 1

Bitmap Heap Scan on multilingualtextvalue values5_ (cost=2,365.64..8,908.99 rows=126,108 width=28) (actual time=5.886..19.862 rows=127,200 loops=1)

  • Recheck Cond: (language_id = 35)
  • Hash Cond: (stockcache1_.article_id = article0_.id)
  • Buckets: 1024 Batches: 1 Memory Usage: 352kB
48. 3.718 3.718 ↑ 1.0 68,830 1

Seq Scan on articlestockcache stockcache1_ (cost=0.00..1,367.30 rows=68,830 width=18) (actual time=0.002..3.718 rows=68,830 loops=1)

49. 57.955 57.955 ↑ 1.0 8,994 1

Hash Left Join (cost=8,215.93..8,612.48 rows=8,994 width=16) (actual time=51.190..57.955 rows=8,994 loops=1)

50. 75.363 75.363 ↓ 1.8 29,445 1

Hash (cost=7,273.14..7,273.14 rows=16,711 width=63) (actual time=75.363..75.363 rows=29,445 loops=1)

51. 0.000 5.423 ↓ 1.0 127,200 1

Bitmap Index Scan on idx_multilingualtextvalue_language_id (cost=0.00..2,334.11 rows=126,108 width=0) (actual time=5.423..5.423 rows=127,200 loops=1)

  • Index Cond: (language_id = 35)
  • Hash Cond: (articlegro3_.name_id = multilingu4_.id)
  • Buckets: 2048 Batches: 1 Memory Usage: 2541kB
52. 0.463 0.463 ↑ 1.0 8,994 1

Seq Scan on articlegroup articlegro3_ (cost=0.00..182.94 rows=8,994 width=16) (actual time=0.001..0.463 rows=8,994 loops=1)

53. 69.492 69.492 ↓ 1.8 29,445 1

Hash Right Join (cost=6,302.43..7,273.14 rows=16,711 width=63) (actual time=54.637..69.492 rows=29,445 loops=1)

54. 0.000 51.144 ↑ 1.0 294,397 1

Hash (cost=4,535.97..4,535.97 rows=294,397 width=8) (actual time=51.144..51.144 rows=294,397 loops=1)

  • Hash Cond: (articlegro2_.id = article0_.groupmember_id)
  • Buckets: 32768 Batches: 1 Memory Usage: 9200kB
55. 21.340 21.340 ↑ 1.0 294,397 1

Seq Scan on multilingualtext multilingu4_ (cost=0.00..4,535.97 rows=294,397 width=8) (actual time=0.002..21.340 rows=294,397 loops=1)

56. 1.855 1.855 ↑ 1.0 37,061 1

Seq Scan on articlegroupmember articlegro2_ (cost=0.00..644.61 rows=37,061 width=23) (actual time=0.002..1.855 rows=37,061 loops=1)

57. 5.534 54.604 ↓ 1.8 29,445 1

Hash (cost=6,093.55..6,093.55 rows=16,711 width=56) (actual time=54.604..54.604 rows=29,445 loops=1)

  • Buckets: 2048 Batches: 1 Memory Usage: 2173kB
58. 15.009 49.070 ↓ 1.8 29,445 1

Hash Join (cost=3,933.45..6,093.55 rows=16,711 width=56) (actual time=27.589..49.070 rows=29,445 loops=1)

  • Hash Cond: (articleweb7_.id = article0_.websettings_id)
59. 6.485 6.485 ↑ 1.0 39,378 1

Seq Scan on articlewebsettings articleweb7_ (cost=0.00..1,549.78 rows=39,396 width=24) (actual time=0.003..6.485 rows=39,378 loops=1)

60. 6.235 27.576 ↓ 1.0 30,099 1

Hash (cost=3,566.70..3,566.70 rows=29,340 width=48) (actual time=27.576..27.576 rows=30,099 loops=1)

  • Rows Removed by Filter: 29500
  • Filter: online
  • Buckets: 4096 Batches: 1 Memory Usage: 2217kB
61. 21.341 21.341 ↓ 1.0 30,271 1

Seq Scan on article article0_ (cost=0.00..3,566.70 rows=29,340 width=48) (actual time=0.004..21.341 rows=30,271 loops=1)

  • Rows Removed by Filter: 38709
  • Filter: (((status)::text = 'ARTICLE_ACTIVE'::text) OR ((status)::text = 'ARTICLE_NO_PURCHASE'::text))