fsync is required to persist data to disk:
the WAL (transaction log), so that committed transactions are on disk and no data modification takes place before it is logged in WAL
the data files during a checkpoint
Both WAL and checkpoints are cluster-wide concepts, so your whole cluster will be broken after a crash with fsync disabled.
Don't touch that dial!
Answer from Laurenz Albe on Stack OverflowDoes turning off fsync in PostgreSQL can corrupt all the database or only the specific table I'm working with - Stack Overflow
Difference between fsync and synchronous_commit - postgresql - Database Administrators Stack Exchange
PostgreSQL's fsync() surprise
If I turn off fsync, full_page_writes, and synchronous_commit but set up replication to backup to a standby server, will I still see a performance gain?
Videos
I'm just trying to see if I can get additional performance risking the integrity of my primary cluster by using replication to back up after the fact (presumably after high-load transactions have completed) instead of using the WAL.
Do I need to set max_standby_streaming_delay or similar parameters to do this correctly?
Are there any measurements out there for what I should expect from this?