explain.depesz.com

PostgreSQL's explain analyze made readable

Result: nuqq

Settings
# exclusive inclusive rows x rows loops node
1. 0.209 930.204 ↓ 9.2 4,233 1

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

2. 5.001 929.995 ↓ 9.2 4,233 1

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

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

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

  • Hash Cond: (article0_.id = article16_.id)
4. 45.934 852.431 ↓ 2.5 22,368 1

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

  • Hash Cond: (omschrijvi11_.meertaligobject_id = article0_.id)
5. 377.077 377.077 ↓ 1.0 84,264 1

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

  • Filter: (taal_id = 35)
  • Rows Removed by Filter: 225956
6. 6.301 429.420 ↓ 2.5 22,368 1

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

  • Buckets: 1024 Batches: 1 Memory Usage: 2541kB
7. 2.745 423.119 ↓ 2.5 22,368 1

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

  • Hash Cond: (articleweb7_.promowebtext_id = promowebte10_.id)
8. 46.607 420.373 ↓ 2.5 22,368 1

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

  • Hash Cond: (values9_.multilingualtext_id = multilingu8_.id)
9. 11.901 16.680 ↓ 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.205..16.680 rows=127,200 loops=1)

  • Recheck Cond: (language_id = 35)
10. 4.779 4.779 ↓ 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=4.779..4.779 rows=127,200 loops=1)

  • Index Cond: (language_id = 35)
11. 6.026 357.086 ↓ 2.5 22,368 1

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

  • Buckets: 1024 Batches: 1 Memory Usage: 2782kB
12. 91.207 351.060 ↓ 2.5 22,368 1

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

  • Hash Cond: (multilingu8_.id = articleweb7_.title_id)
13. 12.623 12.623 ↑ 1.0 294,397 1

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

14. 5.685 247.230 ↓ 2.5 22,368 1

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

  • Buckets: 1024 Batches: 1 Memory Usage: 2782kB
15. 8.537 241.545 ↓ 2.5 22,368 1

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

  • Hash Cond: (article0_.warehouse_id = articletyp12_.id)
  • 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))
  • Rows Removed by Join Filter: 7077
16. 5.901 232.549 ↓ 1.8 29,445 1

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

  • Hash Cond: (article0_.id = rentoption6_.article_id)
17. 9.441 225.527 ↓ 1.8 29,445 1

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

  • Hash Cond: (articlegro3_.id = articlegro2_.group_id)
18. 22.717 96.418 ↑ 1.0 8,994 1

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

  • Hash Cond: (values5_.multilingualtext_id = multilingu4_.id)
19. 12.375 17.226 ↓ 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.281..17.226 rows=127,200 loops=1)

  • Recheck Cond: (language_id = 35)
20. 4.851 4.851 ↓ 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=4.851..4.851 rows=127,200 loops=1)

  • Index Cond: (language_id = 35)
21. 1.062 56.475 ↑ 1.0 8,994 1

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

  • Buckets: 1024 Batches: 1 Memory Usage: 352kB
22. 7.296 55.413 ↑ 1.0 8,994 1

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

  • Hash Cond: (articlegro3_.name_id = multilingu4_.id)
23. 0.425 0.425 ↑ 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.425 rows=8,994 loops=1)

24. 27.575 47.692 ↑ 1.0 294,397 1

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

  • Buckets: 32768 Batches: 1 Memory Usage: 9200kB
25. 20.117 20.117 ↑ 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..20.117 rows=294,397 loops=1)

26. 6.256 119.668 ↓ 1.8 29,445 1

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

  • Buckets: 2048 Batches: 1 Memory Usage: 2903kB
27. 28.805 113.412 ↓ 1.8 29,445 1

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

  • Hash Cond: (stockcache1_.article_id = article0_.id)
28. 3.071 3.071 ↑ 1.0 68,830 1

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

29. 5.323 81.536 ↓ 1.8 29,445 1

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

  • Buckets: 2048 Batches: 1 Memory Usage: 2541kB
30. 14.820 76.213 ↓ 1.8 29,445 1

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

  • Hash Cond: (articlegro2_.id = article0_.groupmember_id)
31. 1.617 1.617 ↑ 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.617 rows=37,061 loops=1)

32. 6.044 59.776 ↓ 1.8 29,445 1

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

  • Buckets: 2048 Batches: 1 Memory Usage: 2173kB
33. 24.027 53.732 ↓ 1.8 29,445 1

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

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

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

  • Filter: online
  • Rows Removed by Filter: 29500
35. 4.874 22.138 ↓ 1.0 30,099 1

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

  • Buckets: 4096 Batches: 1 Memory Usage: 2217kB
36. 17.264 17.264 ↓ 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..17.264 rows=30,271 loops=1)

  • Filter: (((status)::text = 'ARTICLE_ACTIVE'::text) OR ((status)::text = 'ARTICLE_NO_PURCHASE'::text))
  • Rows Removed by Filter: 38709
37. 0.611 1.121 ↑ 1.0 5,099 1

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

  • Buckets: 1024 Batches: 1 Memory Usage: 279kB
38. 0.510 0.510 ↑ 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.510 rows=5,099 loops=1)

39. 0.001 0.002 ↑ 1.0 5 1

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

  • Buckets: 1024 Batches: 1 Memory Usage: 1kB
40. 0.001 0.001 ↑ 1.0 5 1

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

41.          

SubPlan (forHash Join)

42. 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
43. 0.457 0.457 ↑ 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.457 rows=5,099 loops=1)

44. 0.001 0.001 ↓ 0.0 0 1

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

  • Buckets: 1024 Batches: 1 Memory Usage: 0kB
45. 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)

46. 1.737 22.812 ↑ 1.0 14,888 1

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

  • Buckets: 2048 Batches: 1 Memory Usage: 582kB
47. 0.889 21.075 ↑ 1.0 14,888 1

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

48. 0.006 0.006 ↑ 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.005..0.006 rows=1 loops=1)

  • Index Cond: (id = 42605544)
  • Heap Fetches: 0
49. 4.772 20.180 ↑ 1.0 14,888 1

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

  • Hash Cond: (webtags17_.article_id = article16_.id)
50. 0.869 1.394 ↑ 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.536..1.394 rows=14,888 loops=1)

  • Recheck Cond: (webtags_id = 42605544)
51. 0.525 0.525 ↑ 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.525..0.525 rows=14,888 loops=1)

  • Index Cond: (webtags_id = 42605544)
52. 6.475 14.014 ↑ 1.0 68,980 1

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

  • Buckets: 8192 Batches: 1 Memory Usage: 2156kB
53. 7.539 7.539 ↑ 1.0 68,980 1

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

54. 2.055 41.119 ↓ 1.1 17,159 1

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

  • Buckets: 2048 Batches: 1 Memory Usage: 671kB
55. 5.971 39.064 ↓ 1.1 17,159 1

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

  • Hash Cond: (webtags20_.article_id = article19_.id)
56. 11.530 19.292 ↓ 1.1 17,159 1

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

  • Hash Cond: (webtags20_.webtags_id = articleweb21_.id)
57. 7.697 7.697 ↑ 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.002..7.697 rows=187,442 loops=1)

58. 0.002 0.065 ↑ 1.0 30 1

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

  • Buckets: 1024 Batches: 1 Memory Usage: 1kB
59. 0.063 0.063 ↑ 1.0 30 1

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

  • 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[]))
  • Rows Removed by Filter: 322
60. 6.295 13.801 ↑ 1.0 68,980 1

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

  • Buckets: 8192 Batches: 1 Memory Usage: 2156kB
61. 7.506 7.506 ↑ 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.506 rows=68,980 loops=1)