| # | exclusive | inclusive | rows x | rows | loops | node |
|---|---|---|---|---|---|---|
| 1. | 315.925 | 3506.948 | ↓ 239988.0 | 239988 | 1 |
→
Sort (cost=43879.29..43879.29 rows=1 width=1596) (actual time=3454.399..3506.948 rows=239988 loops=1)
|
| 2. | 315.874 | 3191.023 | ↓ 239988.0 | 239988 | 1 |
→
Hash Join (cost=41263.20..43879.28 rows=1 width=1596) (actual time=2566.641..3191.023 rows=239988 loops=1)
|
| 3. | 79.694 | 2491.806 | ↓ 92.1 | 239988 | 1 |
→
Hash Join (cost=40540.93..43127.67 rows=2606 width=1596) (actual time=2183.091..2491.806 rows=239988 loops=1)
|
| 4. | 83.545 | 2412.085 | ↓ 39.9 | 159992 | 1 |
→
Unique (cost=40528.00..43033.56 rows=4009 width=1180) (actual time=2183.014..2412.085 rows=159992 loops=1)
|
| 5. | 76.381 | 2328.540 | ↓ 4.0 | 159992 | 1 |
→
Unique (cost=40528.00..41630.45 rows=40089 width=812) (actual time=2183.013..2328.540 rows=159992 loops=1)
|
| 6. | 1457.325 | 2252.159 | ↓ 4.0 | 159992 | 1 |
→
Sort (cost=40528.00..40628.22 rows=40089 width=812) (actual time=2183.012..2252.159 rows=159992 loops=1)
|
| 7. | 11.142 | 794.834 | ↓ 4.0 | 159992 | 1 |
→
Append (cost=7238.46..8686.01 rows=40089 width=812) (actual time=646.903..794.834 rows=159992 loops=1) |
| 8. | 17.728 | 740.309 | ↓ 4.0 | 79996 | 1 |
→
Result (cost=7238.46..7790.63 rows=20079 width=543) (actual time=646.901..740.309 rows=79996 loops=1)
|
| 9. | 29.911 | 722.581 | ↓ 4.0 | 79996 | 1 |
→
Unique (cost=7238.46..7790.63 rows=20079 width=543) (actual time=646.891..722.581 rows=79996 loops=1)
|
| 10. | 660.340 | 692.670 | ↓ 4.0 | 79996 | 1 |
→
Sort (cost=7238.46..7288.65 rows=20079 width=543) (actual time=646.889..692.670 rows=79996 loops=1)
|
| 11. | 5.331 | 32.330 | ↓ 4.0 | 79996 | 1 |
→
Append (cost=25.07..927.97 rows=20079 width=543) (actual time=0.095..32.330 rows=79996 loops=1) |
| 12. | 0.016 | 0.022 | ↓ 0.0 | 0 | 1 |
→
Hash Join (cost=25.07..37.56 rows=70 width=1052) (actual time=0.022..0.022 rows=0 loops=1)
|
| 13. | 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)
|
| 14. | 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)
|
| 15. | 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)
|
| 16. | 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)
|
| 17. | 0.000 | 0.000 | ↓ 0.0 | 0 |
→
Hash (cost=10.70..10.70 rows=70 width=524) (actual time=.. rows= loops=0)
|
|
| 18. | 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)
|
|
| 19. | 17.617 | 26.977 | ↓ 4.0 | 79996 | 1 |
→
Nested Loop (cost=11.62..689.62 rows=20009 width=541) (actual time=0.071..26.977 rows=79996 loops=1)
|
| 20. | 0.017 | 0.216 | ↓ 4.0 | 4 | 1 |
→
Nested Loop (cost=11.62..33.42 rows=1 width=540) (actual time=0.062..0.216 rows=4 loops=1)
|
| 21. | 0.022 | 0.163 | ↓ 9.0 | 9 | 1 |
→
Nested Loop (cost=0.00..17.57 rows=1 width=540) (actual time=0.030..0.163 rows=9 loops=1)
|
| 22. | 0.052 | 0.087 | ↓ 9.0 | 9 | 1 |
→
Nested Loop (cost=0.00..9.29 rows=1 width=20) (actual time=0.023..0.087 rows=9 loops=1)
|
| 23. | 0.017 | 0.017 | ↓ 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.017 rows=9 loops=1)
|
| 24. | 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)
|
| 25. | 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)
|
| 26. | 0.031 | 0.036 | ↑ 32.5 | 4 | 9 |
→
HashAggregate (cost=11.62..12.93 rows=130 width=4) (actual time=0.002..0.004 rows=4 loops=9)
|
| 27. | 0.005 | 0.005 | ↑ 10.8 | 12 | 1 |
→
Seq Scan on price_tier (cost=0.00..11.30 rows=130 width=4) (actual time=0.002..0.005 rows=12 loops=1)
|
| 28. | 9.144 | 9.144 | ↑ 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.286 rows=19999 loops=4)
|
| 29. | 0.002 | 0.062 | ↓ 0.0 | 0 | 1 |
→
Subquery Scan "*SELECT* 3" (cost=0.00..20.56 rows=1 width=1592) (actual time=0.062..0.062 rows=0 loops=1)
|
| 30. | 0.003 | 0.060 | ↓ 0.0 | 0 | 1 |
→
Nested Loop (cost=0.00..20.55 rows=1 width=1592) (actual time=0.060..0.060 rows=0 loops=1)
|
| 31. | 0.007 | 0.047 | ↓ 5.0 | 5 | 1 |
→
Nested Loop (cost=0.00..19.58 rows=1 width=1064) (actual time=0.039..0.047 rows=5 loops=1)
|
| 32. | 0.015 | 0.015 | ↓ 5.0 | 5 | 1 |
→
Seq Scan on price_tier p (cost=0.00..11.30 rows=1 width=544) (actual time=0.012..0.015 rows=5 loops=1)
|
| 33. | 0.025 | 0.025 | ↑ 1.0 | 1 | 5 |
→
Index Scan using rate_pk on rate r (cost=0.00..8.27 rows=1 width=524) (actual time=0.005..0.005 rows=1 loops=5)
|
| 34. | 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)
|
| 35. | 13.447 | 43.321 | ↓ 4.0 | 79996 | 1 |
→
Subquery Scan "*SELECT* 4" (cost=0.00..874.83 rows=20009 width=1081) (actual time=0.061..43.321 rows=79996 loops=1)
|
| 36. | 18.420 | 29.874 | ↓ 4.0 | 79996 | 1 |
→
Nested Loop (cost=0.00..674.74 rows=20009 width=1081) (actual time=0.059..29.874 rows=79996 loops=1)
|
| 37. | 0.017 | 0.199 | ↓ 5.0 | 5 | 1 |
→
Nested Loop (cost=0.00..18.54 rows=1 width=1080) (actual time=0.028..0.199 rows=5 loops=1)
|
| 38. | 0.012 | 0.137 | ↓ 9.0 | 9 | 1 |
→
Nested Loop (cost=0.00..17.57 rows=1 width=540) (actual time=0.020..0.137 rows=9 loops=1)
|
| 39. | 0.052 | 0.080 | ↓ 9.0 | 9 | 1 |
→
Nested Loop (cost=0.00..9.29 rows=1 width=20) (actual time=0.015..0.080 rows=9 loops=1)
|
| 40. | 0.010 | 0.010 | ↓ 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.010 rows=9 loops=1)
|
| 41. | 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)
|
| 42. | 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)
|
| 43. | 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)
|
| 44. | 11.255 | 11.255 | ↑ 1.0 | 19999 | 5 |
→
Seq Scan on pricing_program_enrollment ppe (cost=0.00..406.09 rows=20009 width=9) (actual time=0.004..2.251 rows=19999 loops=5)
|
| 45. | 0.006 | 0.027 | ↑ 10.8 | 12 | 1 |
→
Hash (cost=11.30..11.30 rows=130 width=552) (actual time=0.027..0.027 rows=12 loops=1)
|
| 46. | 0.021 | 0.021 | ↑ 10.8 | 12 | 1 |
→
Seq Scan on price_tier (cost=0.00..11.30 rows=130 width=552) (actual time=0.018..0.021 rows=12 loops=1)
|
| 47. | 50.099 | 383.343 | ↓ 159992.0 | 159992 | 1 |
→
Hash (cost=722.25..722.25 rows=1 width=1040) (actual time=383.343..383.343 rows=159992 loops=1)
|
| 48. | 15.570 | 333.244 | ↓ 159992.0 | 159992 | 1 |
→
Subquery Scan r (cost=722.23..722.25 rows=1 width=1040) (actual time=242.381..333.244 rows=159992 loops=1)
|
| 49. | 197.758 | 317.674 | ↓ 159992.0 | 159992 | 1 |
→
HashAggregate (cost=722.23..722.24 rows=1 width=1050) (actual time=242.381..317.674 rows=159992 loops=1)
|
| 50. | 71.620 | 119.916 | ↓ 159992.0 | 159992 | 1 |
→
Nested Loop Left Join (cost=37.88..722.22 rows=1 width=1050) (actual time=3.947..119.916 rows=159992 loops=1)
|
| 51. | 29.491 | 48.296 | ↓ 159992.0 | 159992 | 1 |
→
Nested Loop (cost=24.73..693.64 rows=1 width=1049) (actual time=3.944..48.296 rows=159992 loops=1)
|
| 52. | 0.054 | 0.337 | ↓ 9.0 | 9 | 1 |
→
Nested Loop (cost=24.73..37.44 rows=1 width=1044) (actual time=0.066..0.337 rows=9 loops=1)
|
| 53. | 0.019 | 0.211 | ↓ 9.0 | 9 | 1 |
→
Nested Loop (cost=0.00..9.91 rows=1 width=1056) (actual time=0.029..0.211 rows=9 loops=1)
|
| 54. | 0.035 | 0.129 | ↓ 9.0 | 9 | 1 |
→
Nested Loop (cost=0.00..9.29 rows=1 width=28) (actual time=0.022..0.129 rows=9 loops=1)
|
| 55. | 0.013 | 0.013 | ↓ 9.0 | 9 | 1 |
→
Seq Scan on schedule s (cost=0.00..1.01 rows=1 width=8) (actual time=0.007..0.013 rows=9 loops=1)
|
| 56. | 0.081 | 0.081 | ↑ 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.008..0.009 rows=1 loops=9)
|
| 57. | 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)
|
| 58. | 0.049 | 0.072 | ↑ 7.8 | 9 | 9 |
→
HashAggregate (cost=24.73..25.60 rows=70 width=528) (actual time=0.004..0.008 rows=9 loops=9)
|
| 59. | 0.014 | 0.023 | ↑ 7.8 | 9 | 1 |
→
Hash Join (cost=11.57..24.20 rows=70 width=528) (actual time=0.020..0.023 rows=9 loops=1)
|
| 60. | 0.002 | 0.002 | ↑ 15.6 | 9 | 1 |
→
Seq Scan on schedule_rates sr (cost=0.00..11.40 rows=140 width=16) (actual time=0.001..0.002 rows=9 loops=1)
|
| 61. | 0.004 | 0.007 | ↑ 7.8 | 9 | 1 |
→
Hash (cost=10.70..10.70 rows=70 width=520) (actual time=0.007..0.007 rows=9 loops=1)
|
| 62. | 0.003 | 0.003 | ↑ 7.8 | 9 | 1 |
→
Seq Scan on rate r2 (cost=0.00..10.70 rows=70 width=520) (actual time=0.001..0.003 rows=9 loops=1)
|
| 63. | 18.468 | 18.468 | ↑ 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.052 rows=19999 loops=9)
|
| 64. | 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)
|
| 65. | 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)
|
| 66. | 0.000 | 0.000 | ↓ 0.0 | 0 |
→
Hash (cost=11.40..11.40 rows=140 width=9) (actual time=.. rows= loops=0)
|
|
| 67. | 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)
|