| # | exclusive | inclusive | rows x | rows | loops | node |
|---|---|---|---|---|---|---|
| 1. | 293.186 | 3279.419 | ↓ 239988.0 | 239988 | 1 |
→
Hash Join (cost=41263.20..43879.28 rows=1 width=1596) (actual time=2669.416..3279.419 rows=239988 loops=1)
|
| 2. | 82.434 | 2579.283 | ↓ 92.1 | 239988 | 1 |
→
Hash Join (cost=40540.93..43127.67 rows=2606 width=1596) (actual time=2262.306..2579.283 rows=239988 loops=1)
|
| 3. | 81.323 | 2496.826 | ↓ 39.9 | 159992 | 1 |
→
Unique (cost=40528.00..43033.56 rows=4009 width=1180) (actual time=2262.241..2496.826 rows=159992 loops=1)
|
| 4. | 81.554 | 2415.503 | ↓ 4.0 | 159992 | 1 |
→
Unique (cost=40528.00..41630.45 rows=40089 width=812) (actual time=2262.239..2415.503 rows=159992 loops=1)
|
| 5. | 1506.495 | 2333.949 | ↓ 4.0 | 159992 | 1 |
→
Sort (cost=40528.00..40628.22 rows=40089 width=812) (actual time=2262.238..2333.949 rows=159992 loops=1)
|
| 6. | 12.790 | 827.454 | ↓ 4.0 | 159992 | 1 |
→
Append (cost=7238.46..8686.01 rows=40089 width=812) (actual time=673.300..827.454 rows=159992 loops=1) |
| 7. | 18.602 | 769.527 | ↓ 4.0 | 79996 | 1 |
→
Result (cost=7238.46..7790.63 rows=20079 width=543) (actual time=673.298..769.527 rows=79996 loops=1)
|
| 8. | 30.692 | 750.925 | ↓ 4.0 | 79996 | 1 |
→
Unique (cost=7238.46..7790.63 rows=20079 width=543) (actual time=673.289..750.925 rows=79996 loops=1)
|
| 9. | 685.703 | 720.233 | ↓ 4.0 | 79996 | 1 |
→
Sort (cost=7238.46..7288.65 rows=20079 width=543) (actual time=673.286..720.233 rows=79996 loops=1)
|
| 10. | 5.586 | 34.530 | ↓ 4.0 | 79996 | 1 |
→
Append (cost=25.07..927.97 rows=20079 width=543) (actual time=0.093..34.530 rows=79996 loops=1) |
| 11. | 0.009 | 0.015 | ↓ 0.0 | 0 | 1 |
→
Hash Join (cost=25.07..37.56 rows=70 width=1052) (actual time=0.015..0.015 rows=0 loops=1)
|
| 12. | 0.002 | 0.002 | ↑ 130.0 | 1 | 1 |
→
Seq Scan on price_tier p (cost=0.00..11.30 rows=130 width=4) (actual time=0.002..0.002 rows=1 loops=1)
|
| 13. | 0.000 | 0.004 | ↓ 0.0 | 0 | 1 |
→
Hash (cost=24.20..24.20 rows=70 width=1052) (actual time=0.004..0.004 rows=0 loops=1)
|
| 14. | 0.000 | 0.004 | ↓ 0.0 | 0 | 1 |
→
Hash Join (cost=11.57..24.20 rows=70 width=1052) (actual time=0.004..0.004 rows=0 loops=1)
|
| 15. | 0.004 | 0.004 | ↓ 0.0 | 0 | 1 |
→
Seq Scan on schedule_rates sr (cost=0.00..11.40 rows=139 width=532) (actual time=0.004..0.004 rows=0 loops=1)
|
| 16. | 0.000 | 0.000 | ↓ 0.0 | 0 |
→
Hash (cost=10.70..10.70 rows=70 width=524) (actual time=.. rows= loops=0)
|
|
| 17. | 0.000 | 0.000 | ↓ 0.0 | 0 |
→
Seq Scan on rate r (cost=0.00..10.70 rows=70 width=524) (actual time=.. rows= loops=0)
|
|
| 18. | 19.382 | 28.929 | ↓ 4.0 | 79996 | 1 |
→
Nested Loop (cost=11.62..689.62 rows=20009 width=541) (actual time=0.077..28.929 rows=79996 loops=1)
|
| 19. | 0.022 | 0.219 | ↓ 4.0 | 4 | 1 |
→
Nested Loop (cost=11.62..33.42 rows=1 width=540) (actual time=0.063..0.219 rows=4 loops=1)
|
| 20. | 0.025 | 0.170 | ↓ 9.0 | 9 | 1 |
→
Nested Loop (cost=0.00..17.57 rows=1 width=540) (actual time=0.032..0.170 rows=9 loops=1)
|
| 21. | 0.055 | 0.091 | ↓ 9.0 | 9 | 1 |
→
Nested Loop (cost=0.00..9.29 rows=1 width=20) (actual time=0.025..0.091 rows=9 loops=1)
|
| 22. | 0.018 | 0.018 | ↓ 9.0 | 9 | 1 |
→
Index Scan using schedule_rates_account_id_index on schedule_rates (cost=0.00..8.27 rows=1 width=16) (actual time=0.009..0.018 rows=9 loops=1)
|
| 23. | 0.018 | 0.018 | ↓ 9.0 | 9 | 9 |
→
Seq Scan on schedule s (cost=0.00..1.01 rows=1 width=8) (actual time=0.001..0.002 rows=9 loops=9)
|
| 24. | 0.054 | 0.054 | ↑ 1.0 | 1 | 9 |
→
Index Scan using rate_schedule_rates_id_key on rate r (cost=0.00..8.27 rows=1 width=524) (actual time=0.004..0.006 rows=1 loops=9)
|
| 25. | 0.024 | 0.027 | ↑ 32.5 | 4 | 9 |
→
HashAggregate (cost=11.62..12.93 rows=130 width=4) (actual time=0.002..0.003 rows=4 loops=9)
|
| 26. | 0.003 | 0.003 | ↑ 10.8 | 12 | 1 |
→
Seq Scan on price_tier (cost=0.00..11.30 rows=130 width=4) (actual time=0.002..0.003 rows=12 loops=1)
|
| 27. | 9.328 | 9.328 | ↑ 1.0 | 19999 | 4 |
→
Seq Scan on pricing_program_enrollment ppe (cost=0.00..406.09 rows=20009 width=9) (actual time=0.005..2.332 rows=19999 loops=4)
|
| 28. | 0.000 | 0.047 | ↓ 0.0 | 0 | 1 |
→
Subquery Scan "*SELECT* 3" (cost=0.00..20.56 rows=1 width=1592) (actual time=0.047..0.047 rows=0 loops=1)
|
| 29. | 0.003 | 0.047 | ↓ 0.0 | 0 | 1 |
→
Nested Loop (cost=0.00..20.55 rows=1 width=1592) (actual time=0.047..0.047 rows=0 loops=1)
|
| 30. | 0.006 | 0.034 | ↓ 5.0 | 5 | 1 |
→
Nested Loop (cost=0.00..19.58 rows=1 width=1064) (actual time=0.027..0.034 rows=5 loops=1)
|
| 31. | 0.013 | 0.013 | ↓ 5.0 | 5 | 1 |
→
Seq Scan on price_tier p (cost=0.00..11.30 rows=1 width=544) (actual time=0.012..0.013 rows=5 loops=1)
|
| 32. | 0.015 | 0.015 | ↑ 1.0 | 1 | 5 |
→
Index Scan using rate_pk on rate r (cost=0.00..8.27 rows=1 width=524) (actual time=0.003..0.003 rows=1 loops=5)
|
| 33. | 0.010 | 0.010 | ↓ 0.0 | 0 | 5 |
→
Index Scan using schedule_rates_pk on schedule_rates sr (cost=0.00..0.95 rows=1 width=532) (actual time=0.002..0.002 rows=0 loops=5)
|
| 34. | 13.707 | 45.090 | ↓ 4.0 | 79996 | 1 |
→
Subquery Scan "*SELECT* 4" (cost=0.00..874.83 rows=20009 width=1081) (actual time=0.038..45.090 rows=79996 loops=1)
|
| 35. | 19.182 | 31.383 | ↓ 4.0 | 79996 | 1 |
→
Nested Loop (cost=0.00..674.74 rows=20009 width=1081) (actual time=0.035..31.383 rows=79996 loops=1)
|
| 36. | 0.017 | 0.216 | ↓ 5.0 | 5 | 1 |
→
Nested Loop (cost=0.00..18.54 rows=1 width=1080) (actual time=0.027..0.216 rows=5 loops=1)
|
| 37. | 0.018 | 0.154 | ↓ 9.0 | 9 | 1 |
→
Nested Loop (cost=0.00..17.57 rows=1 width=540) (actual time=0.021..0.154 rows=9 loops=1)
|
| 38. | 0.060 | 0.091 | ↓ 9.0 | 9 | 1 |
→
Nested Loop (cost=0.00..9.29 rows=1 width=20) (actual time=0.016..0.091 rows=9 loops=1)
|
| 39. | 0.013 | 0.013 | ↓ 9.0 | 9 | 1 |
→
Index Scan using schedule_rates_account_id_index on schedule_rates sr (cost=0.00..8.27 rows=1 width=16) (actual time=0.003..0.013 rows=9 loops=1)
|
| 40. | 0.018 | 0.018 | ↓ 9.0 | 9 | 9 |
→
Seq Scan on schedule s (cost=0.00..1.01 rows=1 width=8) (actual time=0.001..0.002 rows=9 loops=9)
|
| 41. | 0.045 | 0.045 | ↑ 1.0 | 1 | 9 |
→
Index Scan using rate_schedule_rates_id_key on rate r (cost=0.00..8.27 rows=1 width=524) (actual time=0.004..0.005 rows=1 loops=9)
|
| 42. | 0.045 | 0.045 | ↑ 1.0 | 1 | 9 |
→
Index Scan using price_tier_rate_id_index on price_tier (cost=0.00..0.95 rows=1 width=544) (actual time=0.003..0.005 rows=1 loops=9)
|
| 43. | 11.985 | 11.985 | ↑ 1.0 | 19999 | 5 |
→
Seq Scan on pricing_program_enrollment ppe (cost=0.00..406.09 rows=20009 width=9) (actual time=0.005..2.397 rows=19999 loops=5)
|
| 44. | 0.006 | 0.023 | ↑ 10.8 | 12 | 1 |
→
Hash (cost=11.30..11.30 rows=130 width=552) (actual time=0.023..0.023 rows=12 loops=1)
|
| 45. | 0.017 | 0.017 | ↑ 10.8 | 12 | 1 |
→
Seq Scan on price_tier (cost=0.00..11.30 rows=130 width=552) (actual time=0.014..0.017 rows=12 loops=1)
|
| 46. | 52.315 | 406.950 | ↓ 159992.0 | 159992 | 1 |
→
Hash (cost=722.25..722.25 rows=1 width=1040) (actual time=406.950..406.950 rows=159992 loops=1)
|
| 47. | 15.929 | 354.635 | ↓ 159992.0 | 159992 | 1 |
→
Subquery Scan r (cost=722.23..722.25 rows=1 width=1040) (actual time=262.521..354.635 rows=159992 loops=1)
|
| 48. | 204.599 | 338.706 | ↓ 159992.0 | 159992 | 1 |
→
HashAggregate (cost=722.23..722.24 rows=1 width=1050) (actual time=262.519..338.706 rows=159992 loops=1)
|
| 49. | 75.397 | 134.107 | ↓ 159992.0 | 159992 | 1 |
→
Nested Loop Left Join (cost=37.88..722.22 rows=1 width=1050) (actual time=11.064..134.107 rows=159992 loops=1)
|
| 50. | 36.738 | 58.710 | ↓ 159992.0 | 159992 | 1 |
→
Nested Loop (cost=24.73..693.64 rows=1 width=1049) (actual time=11.058..58.710 rows=159992 loops=1)
|
| 51. | 0.056 | 0.381 | ↓ 9.0 | 9 | 1 |
→
Nested Loop (cost=24.73..37.44 rows=1 width=1044) (actual time=0.091..0.381 rows=9 loops=1)
|
| 52. | 0.023 | 0.226 | ↓ 9.0 | 9 | 1 |
→
Nested Loop (cost=0.00..9.91 rows=1 width=1056) (actual time=0.033..0.226 rows=9 loops=1)
|
| 53. | 0.033 | 0.140 | ↓ 9.0 | 9 | 1 |
→
Nested Loop (cost=0.00..9.29 rows=1 width=28) (actual time=0.028..0.140 rows=9 loops=1)
|
| 54. | 0.017 | 0.017 | ↓ 9.0 | 9 | 1 |
→
Seq Scan on schedule s (cost=0.00..1.01 rows=1 width=8) (actual time=0.010..0.017 rows=9 loops=1)
|
| 55. | 0.090 | 0.090 | ↑ 1.0 | 1 | 9 |
→
Index Scan using schedule_rates_schedule_id_index on schedule_rates sr (cost=0.00..8.27 rows=1 width=20) (actual time=0.009..0.010 rows=1 loops=9)
|
| 56. | 0.063 | 0.063 | ↑ 1.0 | 1 | 9 |
→
Index Scan using rate_schedule_rates_id_key on rate r (cost=0.00..0.61 rows=1 width=1036) (actual time=0.003..0.007 rows=1 loops=9)
|
| 57. | 0.063 | 0.099 | ↑ 7.8 | 9 | 9 |
→
HashAggregate (cost=24.73..25.60 rows=70 width=528) (actual time=0.006..0.011 rows=9 loops=9)
|
| 58. | 0.017 | 0.036 | ↑ 7.8 | 9 | 1 |
→
Hash Join (cost=11.57..24.20 rows=70 width=528) (actual time=0.026..0.036 rows=9 loops=1)
|
| 59. | 0.006 | 0.006 | ↑ 15.6 | 9 | 1 |
→
Seq Scan on schedule_rates sr (cost=0.00..11.40 rows=140 width=16) (actual time=0.002..0.006 rows=9 loops=1)
|
| 60. | 0.007 | 0.013 | ↑ 7.8 | 9 | 1 |
→
Hash (cost=10.70..10.70 rows=70 width=520) (actual time=0.013..0.013 rows=9 loops=1)
|
| 61. | 0.006 | 0.006 | ↑ 7.8 | 9 | 1 |
→
Seq Scan on rate r2 (cost=0.00..10.70 rows=70 width=520) (actual time=0.002..0.006 rows=9 loops=1)
|
| 62. | 21.591 | 21.591 | ↑ 1.0 | 19999 | 9 |
→
Seq Scan on pricing_program_enrollment ppe (cost=0.00..406.09 rows=20009 width=9) (actual time=0.005..2.399 rows=19999 loops=9)
|
| 63. | 0.000 | 0.000 | ↓ 0.0 | 0 | 159992 |
→
Hash Join (cost=13.15..26.48 rows=140 width=521) (actual time=0.000..0.000 rows=0 loops=159992)
|
| 64. | 0.000 | 0.000 | ↓ 0.0 | 0 | 159992 |
→
Seq Scan on rate_group_ratekeys rk (cost=0.00..11.40 rows=140 width=520) (actual time=0.000..0.000 rows=0 loops=159992)
|
| 65. | 0.000 | 0.000 | ↓ 0.0 | 0 |
→
Hash (cost=11.40..11.40 rows=140 width=9) (actual time=.. rows= loops=0)
|
|
| 66. | 0.000 | 0.000 | ↓ 0.0 | 0 |
→
Seq Scan on rate_group g (cost=0.00..11.40 rows=140 width=9) (actual time=.. rows= loops=0)
|