LinuxCommandLibrary

pg_test_fsync

benchmarks various fsync methods

TLDR

Test fsync methods

$ pg_test_fsync
copy
Test with specific file
$ pg_test_fsync -f [testfile]
copy

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

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community