Re:PostgreSQL used fsync incorrectly for 20 years
by ciupicri on Sunday February 10, 2019 @08:27PM
(#19131404)
Try the sync option. From the man page:
> All I/O to the filesystem should be done synchronously. In the case of media with a limited number of write cycles (e.g. some flash drives), sync may cause life-cycle shortening.
> All I/O to the filesystem should be done synchronously. In the case of media with a limited number of write cycles (e.g. some flash drives), sync may cause life-cycle shortening.