diff --git a/pages/common/pg_test_fsync.md b/pages/common/pg_test_fsync.md new file mode 100644 index 00000000000000..713cc68c65bf27 --- /dev/null +++ b/pages/common/pg_test_fsync.md @@ -0,0 +1,16 @@ +# pg_test_fsync + +> Determine the fastest wal_sync_method on your system. +> More information: . + +- Run the default fsync benchmark (5 seconds): + +`pg_test_fsync` + +- Specify a custom test duration: + +`pg_test_fsync {{[-s|--secs-per-test]}} {{seconds}}` + +- Use a specific filename (it must be in same file system that the pg_wal directory is or will be placed in): + +`pg_test_fsync {{[-f|--filename]}} {{path/to/file}}`