aboutsummaryrefslogtreecommitdiff
path: root/src/backend/jit/llvm/llvmjit_expr.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2023-10-18 14:54:33 +0900
committerMichael Paquier <michael@paquier.xyz>2023-10-18 14:54:33 +0900
commitd17ffc734dad8c231ad3deee0b3670ecb99b713d (patch)
treed93366c5543400a617d8ce6688f52753a16616ce /src/backend/jit/llvm/llvmjit_expr.c
parent173b56f1ef597251fe79d8e71a0df7586ea12549 (diff)
downloadpostgresql-d17ffc734dad8c231ad3deee0b3670ecb99b713d.tar.gz
postgresql-d17ffc734dad8c231ad3deee0b3670ecb99b713d.zip
Count write times when extending relation files for shared buffers
Relation files extended by multiple blocks at a time have been counting the number of blocks written, but forgot to increment the write time in this case, as single-block write and relation extension are treated as two different I/O operations in the shared stats: IOOP_EXTEND vs IOOP_WRITE. In this case IOOP_EXTEND was forgotten for normal (non-temporary) relations, still the number of blocks written was incremented according to the relation extend done. Write times are tracked when track_io_timing is enabled, which is not the case by default. Author: Nazir Bilal Yavuz Reviewed-by: Robert Haas, Melanie Plageman Discussion: https://postgr.es/m/CAN55FZ19Ss279mZuqGbuUNxka0iPbLgYuOQXqAKewrjNrp27VA@mail.gmail.com Backpatch-through: 16
Diffstat (limited to 'src/backend/jit/llvm/llvmjit_expr.c')
0 files changed, 0 insertions, 0 deletions