Re:PostgreSQL used fsync incorrectly for 20 years
by Jerry2 on Sunday February 10, 2019 @06:17PM
(#19130767)
What's the proper way to mount flash devices?
[ Parent
| on HN ]
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.