pg_test_fsync
benchmarks various fsync methods
TLDR
Test fsync methods
$ pg_test_fsync
Test with specific file$ pg_test_fsync -f [testfile]
SYNOPSIS
pg_test_fsync [options]
DESCRIPTION
pg_test_fsync benchmarks various fsync methods. Helps choose optimal walsyncmethod setting. Run on actual storage to determine best synchronization method.
PARAMETERS
-f, --filename file
Test file path.-s, --secs-per-test n
Seconds per test.
SEE ALSO
pg_test_timing(1), postgres(1)
