Re:ZFS Is the Best Filesystem For Now
by floatboth on Wednesday July 12, 2017 @05:08PM
(#14756701)
Atomic snapshots like ZFS's are always consistent for Postgres. I guess other databases with a similar write-ahead log can be snapshotted as well?
[ Parent
| on HN ]
> Atomic snapshots like ZFS's are always consistent for Postgres.
As long as you make sure to only use one filesystem, i.e. you don't place pg_xlog or some tablespaces on a different filesystem. You can get very weird corruption in such cases :)
With ZFS you can also do atomic snapshots of multiple filesystems. https://serverfault.com/questions/608223/is-zfs-snapshot-r-o...