forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf577919
committed
Add pinning_backends column to the pg_buffercache extension.
The new column shows how many backends have a buffer pinned. That canbe useful during development or to diagnose production issuese.g. caused by vacuum waiting for cleanup locks.To handle upgrades transparently - the extension might be used inviews - deal with callers expecting the old number of columns.Reviewed by Fujii Masao and Rajeev rastogi.1 parentce48605 commitf577919
File tree
6 files changed
+58
-6
lines changed- contrib/pg_buffercache
- doc/src/sgml
6 files changed
+58
-6
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
| 7 | + | |
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
|
Lines changed: 11 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + |
Lines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
| 16 | + | |
| 17 | + | |
17 | 18 |
| |
18 | 19 |
| |
19 | 20 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 |
| - | |
| 3 | + | |
4 | 4 |
| |
5 | 5 |
|
Lines changed: 35 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
| 18 | + | |
| 19 | + | |
19 | 20 |
| |
20 | 21 |
| |
21 | 22 |
| |
| |||
33 | 34 |
| |
34 | 35 |
| |
35 | 36 |
| |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
36 | 43 |
| |
37 | 44 |
| |
38 | 45 |
| |
| |||
60 | 67 |
| |
61 | 68 |
| |
62 | 69 |
| |
| 70 | + | |
63 | 71 |
| |
64 | 72 |
| |
65 | 73 |
| |
| |||
75 | 83 |
| |
76 | 84 |
| |
77 | 85 |
| |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
78 | 101 |
| |
79 |
| - | |
| 102 | + | |
80 | 103 |
| |
81 | 104 |
| |
82 | 105 |
| |
| |||
94 | 117 |
| |
95 | 118 |
| |
96 | 119 |
| |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
97 | 124 |
| |
98 | 125 |
| |
99 | 126 |
| |
| |||
131 | 158 |
| |
132 | 159 |
| |
133 | 160 |
| |
| 161 | + | |
134 | 162 |
| |
135 | 163 |
| |
136 | 164 |
| |
| |||
185 | 213 |
| |
186 | 214 |
| |
187 | 215 |
| |
| 216 | + | |
| 217 | + | |
188 | 218 |
| |
189 | 219 |
| |
190 | 220 |
| |
| |||
202 | 232 |
| |
203 | 233 |
| |
204 | 234 |
| |
| 235 | + | |
| 236 | + | |
| 237 | + | |
205 | 238 |
| |
206 | 239 |
| |
207 | 240 |
| |
|
Lines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
106 | 106 |
| |
107 | 107 |
| |
108 | 108 |
| |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
109 | 116 |
| |
110 | 117 |
| |
111 | 118 |
| |
|
0 commit comments
Comments
(0)