Skip to content

Commit c44d532

Browse files
fabioperrellaManagordmmqz
authored
pg_test_fsync: add page (#18483)
Co-authored-by: Managor <[email protected]> Co-authored-by: Dylan <[email protected]>
1 parent 77a4174 commit c44d532

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

pages/common/pg_test_fsync.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# pg_test_fsync
2+
3+
> Determine the fastest wal_sync_method on your system.
4+
> More information: <https://www.postgresql.org/docs/current/pgtestfsync.html>.
5+
6+
- Run the default fsync benchmark (5 seconds):
7+
8+
`pg_test_fsync`
9+
10+
- Specify a custom test duration:
11+
12+
`pg_test_fsync {{[-s|--secs-per-test]}} {{seconds}}`
13+
14+
- Use a specific filename (it must be in same file system that the pg_wal directory is or will be placed in):
15+
16+
`pg_test_fsync {{[-f|--filename]}} {{path/to/file}}`

0 commit comments

Comments
 (0)