I recently upgraded my postgres from 9.5 to 10.3 using pg_upgrade and it was smooth. There is no separate disk space requirement for migration of data .
Also before migration you can try "check " option for dry run of migration. (not actual migration , data will be untouched).Below is command
What will be the disk space requirement for space for same set of data in 9.5 and 10? I am asking this as I am guessing since we have to do data migration so there may be some change in data format.
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 ?