Commit 76ad5764 authored by Dan Notestein's avatar Dan Notestein
Browse files

Add fsync/full_page_writes optimization during massive sync

Disable WAL safety features (fsync, full_page_writes) during massive sync
for better performance. Original values are saved and restored after
massive sync completes, preserving any custom configuration (e.g., ZFS
setups with full_page_writes=off).

This is safe because if massive sync is interrupted, the database is in
an inconsistent state anyway and must be rebuilt from scratch.
parent 8fb9f3f8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment