4 ms·
Note: this only applies if the `--link` flag is used with `pg_upgrade` (which, I recommend), but the default is to copy all data.
by pritambaral 2mo ago
Note: this only applies if the `--link` flag is used with `pg_upgrade` (which, I recommend), but the default is to copy all data.
- CodesInChaos 2mo agoAssuming you're on a filesystem that supports reflinks (Btrfs, XFS), `--clone` is an interesting option as well. Though assuming you create a volume backup before starting migration, hardlinks don't really have downsides and will probably have better performance after the upgrade since the avoid copy-on-write.