You will create a new data directory for 10 and the data from 9.5 will get moved to that new folder after the upgrade. The metadata info in the catalog will get updated accordingly to pg10.
At the end of the upgrade, the 9.5 folder can be dropped after making sure everything is working. This script is also get generated by pg_upgrade.
thanks,
Suresh Neravati.
On Thursday, August 2, 2018, 9:05:38 PM PDT, suresh neravati <suresh.neravati@xxxxxxxxx> wrote:
Hi Debraj,
You can use pg_upgrade utility from Postgresql. This works with inplace option. Look at this link below for more details.
This option is also be the fastest for upgrading from 9.5 to PG10
Thanks,
Suresh Neravati
On Thursday, August 2, 2018, 7:28:47 AM PDT, Debraj Manna <subharaj.manna@xxxxxxxxx> wrote:
Hi
On moving from postgres 9.5.4 to postgres 10.x we have to do data migration.
Can some one let me know will the disk space requirement remain same for same set of tables with same number of rows in postgres 10.x and postgres 9.5.4 ?
Thanks,