forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit13d0072
committed
Rename I/O timing statistics columns to shared_blk_{read|write}_time
These two counters, defined in BufferUsage to track respectively thetime spent while reading and writing blocks have historically onlytracked data related to shared buffers, when track_io_timing is enabled.An upcoming patch to add specific counters for local buffers will takeadvantage of this rename as it has come up that no data is currentlytracked for local buffers, and tracking local and shared buffers usingthe same fields would be inconsistent with the treatment done for tempbuffers. Renaming the existing fields clarifies what the block type ofeach stats field is.pg_stat_statement is updated to reflect the rename. No extensionversion bump is required as5a3423a has done one, affecting v17~.Author: Nazir Bilal YavuzReviewed-by: Robert Haas, Melanie PlagemanDiscussion:https://postgr.es/m/CAN55FZ19Ss279mZuqGbuUNxka0iPbLgYuOQXqAKewrjNrp27VA@mail.gmail.com1 parent9b103f8 commit13d0072
File tree
9 files changed
+95
-92
lines changed- contrib/pg_stat_statements
- expected
- doc/src/sgml
- src
- backend
- commands
- executor
- utils/activity
- include/executor
- test/regress/expected
9 files changed
+95
-92
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
284 | 284 |
| |
285 | 285 |
| |
286 | 286 |
| |
287 |
| - | |
288 |
| - | |
| 287 | + | |
| 288 | + | |
289 | 289 |
| |
290 | 290 |
| |
291 | 291 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
44 |
| - | |
45 |
| - | |
| 44 | + | |
| 45 | + | |
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
|
Lines changed: 8 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
180 | 180 |
| |
181 | 181 |
| |
182 | 182 |
| |
183 |
| - | |
184 |
| - | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
185 | 187 |
| |
186 | 188 |
| |
187 | 189 |
| |
| |||
1391 | 1393 |
| |
1392 | 1394 |
| |
1393 | 1395 |
| |
1394 |
| - | |
1395 |
| - | |
| 1396 | + | |
| 1397 | + | |
1396 | 1398 |
| |
1397 | 1399 |
| |
1398 | 1400 |
| |
| |||
1823 | 1825 |
| |
1824 | 1826 |
| |
1825 | 1827 |
| |
1826 |
| - | |
1827 |
| - | |
| 1828 | + | |
| 1829 | + | |
1828 | 1830 |
| |
1829 | 1831 |
| |
1830 | 1832 |
| |
|
Lines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
335 | 335 |
| |
336 | 336 |
| |
337 | 337 |
| |
338 |
| - | |
| 338 | + | |
339 | 339 |
| |
340 | 340 |
| |
341 |
| - | |
| 341 | + | |
342 | 342 |
| |
343 | 343 |
| |
344 | 344 |
| |
345 | 345 |
| |
346 | 346 |
| |
347 | 347 |
| |
348 |
| - | |
| 348 | + | |
349 | 349 |
| |
350 | 350 |
| |
351 |
| - | |
| 351 | + | |
352 | 352 |
| |
353 | 353 |
| |
354 | 354 |
| |
|
Lines changed: 15 additions & 14 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3562 | 3562 |
| |
3563 | 3563 |
| |
3564 | 3564 |
| |
3565 |
| - | |
3566 |
| - | |
| 3565 | + | |
| 3566 | + | |
3567 | 3567 |
| |
3568 | 3568 |
| |
3569 | 3569 |
| |
3570 |
| - | |
| 3570 | + | |
| 3571 | + | |
3571 | 3572 |
| |
3572 | 3573 |
| |
3573 | 3574 |
| |
| |||
3633 | 3634 |
| |
3634 | 3635 |
| |
3635 | 3636 |
| |
3636 |
| - | |
| 3637 | + | |
3637 | 3638 |
| |
3638 | 3639 |
| |
3639 | 3640 |
| |
3640 | 3641 |
| |
3641 |
| - | |
| 3642 | + | |
3642 | 3643 |
| |
3643 |
| - | |
3644 |
| - | |
| 3644 | + | |
| 3645 | + | |
3645 | 3646 |
| |
3646 |
| - | |
3647 |
| - | |
| 3647 | + | |
| 3648 | + | |
3648 | 3649 |
| |
3649 |
| - | |
| 3650 | + | |
3650 | 3651 |
| |
3651 | 3652 |
| |
3652 | 3653 |
| |
| |||
3690 | 3691 |
| |
3691 | 3692 |
| |
3692 | 3693 |
| |
3693 |
| - | |
3694 |
| - | |
| 3694 | + | |
| 3695 | + | |
3695 | 3696 |
| |
3696 |
| - | |
3697 |
| - | |
| 3697 | + | |
| 3698 | + | |
3698 | 3699 |
| |
3699 | 3700 |
| |
3700 | 3701 |
| |
|
Lines changed: 6 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
235 | 235 |
| |
236 | 236 |
| |
237 | 237 |
| |
238 |
| - | |
239 |
| - | |
| 238 | + | |
| 239 | + | |
240 | 240 |
| |
241 | 241 |
| |
242 | 242 |
| |
| |||
257 | 257 |
| |
258 | 258 |
| |
259 | 259 |
| |
260 |
| - | |
261 |
| - | |
262 |
| - | |
263 |
| - | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
264 | 264 |
| |
265 | 265 |
| |
266 | 266 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
123 | 123 |
| |
124 | 124 |
| |
125 | 125 |
| |
126 |
| - | |
| 126 | + | |
127 | 127 |
| |
128 | 128 |
| |
129 | 129 |
| |
130 | 130 |
| |
131 | 131 |
| |
132 |
| - | |
| 132 | + | |
133 | 133 |
| |
134 | 134 |
| |
135 | 135 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
| |
36 |
| - | |
37 |
| - | |
| 36 | + | |
| 37 | + | |
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
|
Lines changed: 54 additions & 54 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
230 | 230 |
| |
231 | 231 |
| |
232 | 232 |
| |
233 |
| - | |
234 |
| - | |
235 |
| - | |
236 |
| - | |
237 |
| - | |
238 |
| - | |
239 |
| - | |
240 |
| - | |
241 |
| - | |
242 |
| - | |
243 |
| - | |
244 |
| - | |
245 |
| - | |
246 |
| - | |
247 |
| - | |
248 |
| - | |
249 |
| - | |
250 |
| - | |
251 |
| - | |
252 |
| - | |
253 |
| - | |
254 |
| - | |
255 |
| - | |
256 |
| - | |
257 |
| - | |
258 |
| - | |
259 |
| - | |
260 |
| - | |
261 |
| - | |
262 |
| - | |
263 |
| - | |
264 |
| - | |
265 |
| - | |
266 |
| - | |
267 |
| - | |
268 |
| - | |
269 |
| - | |
270 |
| - | |
271 |
| - | |
272 |
| - | |
273 |
| - | |
274 |
| - | |
275 |
| - | |
276 |
| - | |
277 |
| - | |
278 |
| - | |
279 |
| - | |
280 |
| - | |
281 |
| - | |
282 |
| - | |
283 |
| - | |
284 |
| - | |
285 |
| - | |
286 |
| - | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
287 | 287 |
| |
288 | 288 |
| |
289 | 289 |
| |
|
0 commit comments
Comments
(0)