forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc23f97f
Add memory/disk usage for Window aggregate nodes in EXPLAIN.
This commit is similar to1eff827 and expands the idea to Windowaggregate nodes so that users can know how much memory or disk thetuplestore used.This commit uses newly introduced tuplestore_get_stats() to inquire thisinformation and add some additional output in EXPLAIN ANALYZE todisplay the information for the Window aggregate node.Reviewed-by: David Rowley, Ashutosh Bapat, Maxim Orlov, Jian HeDiscussion:https://postgr.es/m/20240706.202254.89740021795421286.ishii%40postgresql.org1 parentd85f501 commitc23f97f
File tree
3 files changed
+97
-18
lines changed- src
- backend/commands
- test/regress
- expected
- sql
3 files changed
+97
-18
lines changedLines changed: 50 additions & 18 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
120 | 120 |
| |
121 | 121 |
| |
122 | 122 |
| |
| 123 | + | |
123 | 124 |
| |
124 | 125 |
| |
125 | 126 |
| |
126 | 127 |
| |
127 | 128 |
| |
128 | 129 |
| |
129 | 130 |
| |
| 131 | + | |
130 | 132 |
| |
131 | 133 |
| |
132 | 134 |
| |
| |||
2231 | 2233 |
| |
2232 | 2234 |
| |
2233 | 2235 |
| |
| 2236 | + | |
2234 | 2237 |
| |
2235 | 2238 |
| |
2236 | 2239 |
| |
| |||
2894 | 2897 |
| |
2895 | 2898 |
| |
2896 | 2899 |
| |
| 2900 | + | |
| 2901 | + | |
| 2902 | + | |
| 2903 | + | |
| 2904 | + | |
| 2905 | + | |
| 2906 | + | |
| 2907 | + | |
| 2908 | + | |
| 2909 | + | |
| 2910 | + | |
| 2911 | + | |
| 2912 | + | |
| 2913 | + | |
| 2914 | + | |
| 2915 | + | |
| 2916 | + | |
| 2917 | + | |
| 2918 | + | |
| 2919 | + | |
| 2920 | + | |
| 2921 | + | |
| 2922 | + | |
| 2923 | + | |
| 2924 | + | |
| 2925 | + | |
| 2926 | + | |
| 2927 | + | |
2897 | 2928 |
| |
2898 | 2929 |
| |
2899 | 2930 |
| |
| |||
3350 | 3381 |
| |
3351 | 3382 |
| |
3352 | 3383 |
| |
3353 |
| - | |
3354 |
| - | |
3355 |
| - | |
3356 | 3384 |
| |
3357 | 3385 |
| |
3358 | 3386 |
| |
| |||
3361 | 3389 |
| |
3362 | 3390 |
| |
3363 | 3391 |
| |
3364 |
| - | |
3365 |
| - | |
| 3392 | + | |
| 3393 | + | |
3366 | 3394 |
| |
3367 |
| - | |
3368 |
| - | |
3369 |
| - | |
3370 |
| - | |
3371 |
| - | |
3372 |
| - | |
3373 |
| - | |
3374 |
| - | |
3375 |
| - | |
3376 |
| - | |
3377 |
| - | |
3378 |
| - | |
3379 |
| - | |
| 3395 | + | |
| 3396 | + | |
| 3397 | + | |
| 3398 | + | |
| 3399 | + | |
| 3400 | + | |
| 3401 | + | |
| 3402 | + | |
| 3403 | + | |
| 3404 | + | |
| 3405 | + | |
| 3406 | + | |
| 3407 | + | |
| 3408 | + | |
| 3409 | + | |
| 3410 | + | |
| 3411 | + | |
3380 | 3412 |
| |
3381 | 3413 |
| |
3382 | 3414 |
| |
|
Lines changed: 38 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
691 | 691 |
| |
692 | 692 |
| |
693 | 693 |
| |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + |
Lines changed: 9 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
169 | 169 |
| |
170 | 170 |
| |
171 | 171 |
| |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + |
0 commit comments
Comments
(0)