From b6f2b51d701cf2a1f2407bc52876c3d975c8fbd2 Mon Sep 17 00:00:00 2001 From: Fabio Perrella Date: Sun, 5 Oct 2025 22:12:06 +0200 Subject: [PATCH 1/3] pg_test_fsync: add page --- pages/common/pg_test_fsync.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pages/common/pg_test_fsync.md diff --git a/pages/common/pg_test_fsync.md b/pages/common/pg_test_fsync.md new file mode 100644 index 00000000000000..06d44a3f664935 --- /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 (in seconds): + +`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]}} {{file_path}}` From 94886d9cf5f2e7c67c149a1694919f64e7de4115 Mon Sep 17 00:00:00 2001 From: Fabio Perrella Date: Mon, 6 Oct 2025 09:17:37 +0200 Subject: [PATCH 2/3] Update pages/common/pg_test_fsync.md Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> --- pages/common/pg_test_fsync.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/pg_test_fsync.md b/pages/common/pg_test_fsync.md index 06d44a3f664935..62c0bfdaa9e931 100644 --- a/pages/common/pg_test_fsync.md +++ b/pages/common/pg_test_fsync.md @@ -7,7 +7,7 @@ `pg_test_fsync` -- Specify a custom test duration (in seconds): +- Specify a custom test duration: `pg_test_fsync {{[-s|--secs-per-test]}} {{seconds}}` From 094971db5b6aeb9513fd7d74d4683ace996577aa Mon Sep 17 00:00:00 2001 From: Fabio Perrella Date: Tue, 7 Oct 2025 10:28:28 +0200 Subject: [PATCH 3/3] Update pages/common/pg_test_fsync.md Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com> --- pages/common/pg_test_fsync.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/pg_test_fsync.md b/pages/common/pg_test_fsync.md index 62c0bfdaa9e931..713cc68c65bf27 100644 --- a/pages/common/pg_test_fsync.md +++ b/pages/common/pg_test_fsync.md @@ -13,4 +13,4 @@ - 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]}} {{file_path}}` +`pg_test_fsync {{[-f|--filename]}} {{path/to/file}}`