diff options
author | Jeff Davis <jdavis@postgresql.org> | 2020-05-26 16:06:30 -0700 |
---|---|---|
committer | Jeff Davis <jdavis@postgresql.org> | 2020-05-26 16:49:43 -0700 |
commit | 896ddf9b3cd7dcf70e43f733ae8fec5dfe6e31af (patch) | |
tree | 84e81fa15f27efd29660550f59729c73724a40cd /src/backend/jit/llvm/llvmjit_inline.cpp | |
parent | 49223e106b0a43452d64b4e52719532012c81e25 (diff) | |
download | postgresql-896ddf9b3cd7dcf70e43f733ae8fec5dfe6e31af.tar.gz postgresql-896ddf9b3cd7dcf70e43f733ae8fec5dfe6e31af.zip |
Avoid fragmentation of logical tapes when writing concurrently.
Disk-based HashAgg relies on writing to multiple tapes
concurrently. Avoid fragmentation of the tapes' blocks by
preallocating many blocks for a tape at once. No file operations are
performed during preallocation; only the block numbers are reserved.
Reviewed-by: Tomas Vondra
Discussion: https://postgr.es/m/20200519151202.u2p2gpiawoaznsv2%40development
Diffstat (limited to 'src/backend/jit/llvm/llvmjit_inline.cpp')
0 files changed, 0 insertions, 0 deletions