- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit3f02b51

Amit Kapila
Match the buffer usage tracking for leader and worker backends.
In the leader backend, we don't track the buffer usage for ExecutorStartphase whereas in worker backend we track it for ExecutorStart phase aswell. This leads to different value for buffer usage stats for theparallel and non-parallel query. Change the code so that worker backendalso starts tracking buffer usage after ExecutorStart.Author: Amit Kapila and Robert HaasReviewed-by: Robert Haas and Andres FreundBackpatch-through: 9.6 where this code was introducedDiscussion:https://postgr.es/m/86137f17-1dfb-42f9-7421-82fd786b04a1@anayrat.info1 parent71e3b28 commit3f02b51
1 file changed
+9
-3
lines changedLines changed: 9 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
979 | 979 |
| |
980 | 980 |
| |
981 | 981 |
| |
982 |
| - | |
983 |
| - | |
984 |
| - | |
985 | 982 |
| |
986 | 983 |
| |
987 | 984 |
| |
| |||
993 | 990 |
| |
994 | 991 |
| |
995 | 992 |
| |
| 993 | + | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
996 | 1002 |
| |
997 | 1003 |
| |
998 | 1004 |
| |
|
0 commit comments
Comments
(0)