forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2308f18
committed
Count write times when extending relation files for shared buffers
Relation files extended multiple blocks at a time have been counting thenumber of blocks written, but forgot that to increment the write time inthis case, as write and relation extension are treated as two differentI/O operations in the shared stats: IOOP_EXTEND vs IOOP_WRITE. In thiscase IOOP_EXTEND was forgotten for normal (non-temporary) relations.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 parent4a427b8 commit2308f18
1 file changed
+1
-1
lines changedOriginal 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)