forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitd17ffc7
committed
Count write times when extending relation files for shared buffers
Relation files extended by multiple blocks at a time have been countingthe number of blocks written, but forgot to increment the write time inthis case, as single-block write and relation extension are treated astwo different I/O operations in the shared stats: IOOP_EXTEND vsIOOP_WRITE. In this case IOOP_EXTEND was forgotten for normal(non-temporary) relations, still the number of blocks written wasincremented according to the relation extend done.Write times are tracked when track_io_timing is enabled, which is notthe case by default.Author: Nazir Bilal YavuzReviewed-by: Robert Haas, Melanie PlagemanDiscussion:https://postgr.es/m/CAN55FZ19Ss279mZuqGbuUNxka0iPbLgYuOQXqAKewrjNrp27VA@mail.gmail.comBackpatch-through: 161 parent173b56f commitd17ffc7
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
119 | 119 |
| |
120 | 120 |
| |
121 | 121 |
| |
122 |
| - | |
| 122 | + | |
123 | 123 |
| |
124 | 124 |
| |
125 | 125 |
| |
|
0 commit comments
Comments
(0)