Additional mop-up for sync-to-fsync changes: avoid issuing fsyncs for
temp tables, and avoid WAL-logging truncations of temp tables. Do issue fsync on truncated files (not sure this is necessary but it seems like a good idea).
Showing
- src/backend/storage/buffer/bufmgr.c 10 additions, 7 deletionssrc/backend/storage/buffer/bufmgr.c
- src/backend/storage/buffer/localbuf.c 3 additions, 2 deletionssrc/backend/storage/buffer/localbuf.c
- src/backend/storage/smgr/md.c 24 additions, 8 deletionssrc/backend/storage/smgr/md.c
- src/backend/storage/smgr/smgr.c 44 additions, 28 deletionssrc/backend/storage/smgr/smgr.c
- src/include/storage/smgr.h 13 additions, 7 deletionssrc/include/storage/smgr.h
Loading
Please register or sign in to comment