The Backend Engineering Show with Hussein Nasser cover image

Your SSD lies but that's ok | Postgres fsync

The Backend Engineering Show with Hussein Nasser

00:00

The Power of Order

If you enable this f sync, you can delay all this wall writing. The database better know or the app in this case, better know what it's doing. There is one final option in postgres that I forgot to mention: You can turn F sync off altogether and write directly to memory. When I say memory, God, what is memory anymore? Right? Is it the buffer shared buffer? Or is it the page cache?"

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app