From: suresh neravati <suresh.neravati@yahoo.com>
To: pgsql-admin <pgsql-admin@postgresql.org>
To: Debraj Manna <subharaj.manna@gmail.com>
Subject: Re: Postgres 10 disk space requirement compared to postgres 9.5.4
Date: Fri, 3 Aug 2018 04:25:32 +0000 (UTC)
Message-ID: <40500692.1442950.1533270332882@mail.yahoo.com> (raw)
In-Reply-To: <962124430.1421515.1533269097117@mail.yahoo.com>
References: <CAF6DVKM_MV5AvDk2BgY_Ai83vu6j2j3qR7-N2xqR3xOK0__YoQ@mail.gmail.com>
<962124430.1421515.1533269097117@mail.yahoo.com>
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@yahoo.com> wrote:
Hi Debraj,
You can use pg_upgrade utility from Postgresql. This works with inplace option. Look at this link below for more details.
PostgreSQL: Documentation: 10: pg_upgrade
|
|
|
| | |
|
|
|
| |
PostgreSQL: Documentation: 10: pg_upgrade
|
|
|
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@gmail.com> 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,
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: suresh.neravati@yahoo.com, subharaj.manna@gmail.com
Subject: Re: Postgres 10 disk space requirement compared to postgres 9.5.4
In-Reply-To: <40500692.1442950.1533270332882@mail.yahoo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox