pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Postgres 10 disk space requirement compared to postgres 9.5.4
10+ messages / 5 participants
[nested] [flat]

* Postgres 10 disk space requirement compared to postgres 9.5.4
@ 2018-08-02 14:27 Debraj Manna <subharaj.manna@gmail.com>
  2018-08-03 03:57 ` Re: Postgres 10 disk space requirement compared to postgres 9.5.4 Debraj Manna <subharaj.manna@gmail.com>
  2018-08-03 04:04 ` Re: Postgres 10 disk space requirement compared to postgres 9.5.4 suresh neravati <suresh.neravati@yahoo.com>
  0 siblings, 2 replies; 10+ messages in thread

From: Debraj Manna @ 2018-08-02 14:27 UTC (permalink / raw)
  To: pgsql-admin

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,

^ permalink  raw  reply  [nested|flat] 10+ messages in thread

* Re: Postgres 10 disk space requirement compared to postgres 9.5.4
  2018-08-02 14:27 Postgres 10 disk space requirement compared to postgres 9.5.4 Debraj Manna <subharaj.manna@gmail.com>
@ 2018-08-03 03:57 ` Debraj Manna <subharaj.manna@gmail.com>
  2018-08-03 04:41   ` Re: Postgres 10 disk space requirement compared to postgres 9.5.4 Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
  1 sibling, 1 reply; 10+ messages in thread

From: Debraj Manna @ 2018-08-03 03:57 UTC (permalink / raw)
  To: pgsql-admin

Anyone any thoughts on this?

On Thu 2 Aug, 2018, 7:57 PM 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,
>

^ permalink  raw  reply  [nested|flat] 10+ messages in thread

* Re: Postgres 10 disk space requirement compared to postgres 9.5.4
  2018-08-02 14:27 Postgres 10 disk space requirement compared to postgres 9.5.4 Debraj Manna <subharaj.manna@gmail.com>
  2018-08-03 03:57 ` Re: Postgres 10 disk space requirement compared to postgres 9.5.4 Debraj Manna <subharaj.manna@gmail.com>
@ 2018-08-03 04:41   ` Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
  2018-08-03 06:37     ` Re: Postgres 10 disk space requirement compared to postgres 9.5.4 Debraj Manna <subharaj.manna@gmail.com>
  0 siblings, 1 reply; 10+ messages in thread

From: Mark Kirkwood @ 2018-08-03 04:41 UTC (permalink / raw)
  To: Debraj Manna <subharaj.manna@gmail.com>; pgsql-admin

I think people have been answering a question that is different from 
what you are asking.

It looks to me like you are asking something to the effect: *After* 
upgrading to Postgres 10 - will I use more disk space than 9.5?

I don't believe that there have been significant changes in storage 
space allocation between 9.5 and 10, so your tables should be the same 
size. e.g I frequently create a database using pgbench scale 100. it has 
used 1.5 GB of disk for all the version of Postgres that I have used 
(and that is quite a few)!

Cheers

Mark


On 03/08/18 15:57, Debraj Manna wrote:
> Anyone any thoughts on this?
>
> On Thu 2 Aug, 2018, 7:57 PM Debraj Manna, <subharaj.manna@gmail.com 
> <mailto: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,
>





^ permalink  raw  reply  [nested|flat] 10+ messages in thread

* Re: Postgres 10 disk space requirement compared to postgres 9.5.4
  2018-08-02 14:27 Postgres 10 disk space requirement compared to postgres 9.5.4 Debraj Manna <subharaj.manna@gmail.com>
  2018-08-03 03:57 ` Re: Postgres 10 disk space requirement compared to postgres 9.5.4 Debraj Manna <subharaj.manna@gmail.com>
  2018-08-03 04:41   ` Re: Postgres 10 disk space requirement compared to postgres 9.5.4 Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
@ 2018-08-03 06:37     ` Debraj Manna <subharaj.manna@gmail.com>
  0 siblings, 0 replies; 10+ messages in thread

From: Debraj Manna @ 2018-08-03 06:37 UTC (permalink / raw)
  To: Mark Kirkwood <mark.kirkwood@catalyst.net.nz>; +Cc: pgsql-admin

Thanks Mark, that is what I was asking.

On Fri, Aug 3, 2018 at 10:11 AM, Mark Kirkwood <
mark.kirkwood@catalyst.net.nz> wrote:

> I think people have been answering a question that is different from what
> you are asking.
>
> It looks to me like you are asking something to the effect: *After*
> upgrading to Postgres 10 - will I use more disk space than 9.5?
>
> I don't believe that there have been significant changes in storage space
> allocation between 9.5 and 10, so your tables should be the same size. e.g
> I frequently create a database using pgbench scale 100. it has used 1.5 GB
> of disk for all the version of Postgres that I have used (and that is quite
> a few)!
>
> Cheers
>
> Mark
>
>
> On 03/08/18 15:57, Debraj Manna wrote:
>
>> Anyone any thoughts on this?
>>
>> On Thu 2 Aug, 2018, 7:57 PM Debraj Manna, <subharaj.manna@gmail.com
>> <mailto: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,
>>
>>
>

^ permalink  raw  reply  [nested|flat] 10+ messages in thread

* Re: Postgres 10 disk space requirement compared to postgres 9.5.4
  2018-08-02 14:27 Postgres 10 disk space requirement compared to postgres 9.5.4 Debraj Manna <subharaj.manna@gmail.com>
@ 2018-08-03 04:04 ` suresh neravati <suresh.neravati@yahoo.com>
  2018-08-03 04:07   ` Re: Postgres 10 disk space requirement compared to postgres 9.5.4 Debraj Manna <subharaj.manna@gmail.com>
  2018-08-03 04:08   ` Re: Postgres 10 disk space requirement compared to postgres 9.5.4 Ron <ronljohnsonjr@gmail.com>
  2018-08-03 04:25   ` Re: Postgres 10 disk space requirement compared to postgres 9.5.4 suresh neravati <suresh.neravati@yahoo.com>
  1 sibling, 3 replies; 10+ messages in thread

From: suresh neravati @ 2018-08-03 04:04 UTC (permalink / raw)
  To: pgsql-admin; Debraj Manna <subharaj.manna@gmail.com>

 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,  

^ permalink  raw  reply  [nested|flat] 10+ messages in thread

* Re: Postgres 10 disk space requirement compared to postgres 9.5.4
  2018-08-02 14:27 Postgres 10 disk space requirement compared to postgres 9.5.4 Debraj Manna <subharaj.manna@gmail.com>
  2018-08-03 04:04 ` Re: Postgres 10 disk space requirement compared to postgres 9.5.4 suresh neravati <suresh.neravati@yahoo.com>
@ 2018-08-03 04:07   ` Debraj Manna <subharaj.manna@gmail.com>
  2018-08-03 04:27     ` Re: Postgres 10 disk space requirement compared to postgres 9.5.4 Sachin Singh <notsachin@gmail.com>
  2 siblings, 1 reply; 10+ messages in thread

From: Debraj Manna @ 2018-08-03 04:07 UTC (permalink / raw)
  To: suresh neravati <suresh.neravati@yahoo.com>; +Cc: pgsql-admin

Yes.

 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 Fri 3 Aug, 2018, 9:34 AM 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
> <https://www.postgresql.org/docs/10/static/pgupgrade.html;
>
> PostgreSQL: Documentation: 10: pg_upgrade
>
> <https://www.postgresql.org/docs/10/static/pgupgrade.html;
>
>
> 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,
>

^ permalink  raw  reply  [nested|flat] 10+ messages in thread

* Re: Postgres 10 disk space requirement compared to postgres 9.5.4
  2018-08-02 14:27 Postgres 10 disk space requirement compared to postgres 9.5.4 Debraj Manna <subharaj.manna@gmail.com>
  2018-08-03 04:04 ` Re: Postgres 10 disk space requirement compared to postgres 9.5.4 suresh neravati <suresh.neravati@yahoo.com>
  2018-08-03 04:07   ` Re: Postgres 10 disk space requirement compared to postgres 9.5.4 Debraj Manna <subharaj.manna@gmail.com>
@ 2018-08-03 04:27     ` Sachin Singh <notsachin@gmail.com>
  0 siblings, 0 replies; 10+ messages in thread

From: Sachin Singh @ 2018-08-03 04:27 UTC (permalink / raw)
  To: subharaj.manna@gmail.com; +Cc: suresh.neravati@yahoo.com; pgsql-admin

Hi Debraj,
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
/usr/pgsql-10/bin/pg_upgrade --old-bindir=<> --new-bindir=<>
--old-datadir=<> --new-datadir=<> --check

On Fri, Aug 3, 2018 at 9:38 AM Debraj Manna <subharaj.manna@gmail.com>
wrote:

> Yes.
>
>  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 Fri 3 Aug, 2018, 9:34 AM 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
>> <https://www.postgresql.org/docs/10/static/pgupgrade.html;
>>
>> PostgreSQL: Documentation: 10: pg_upgrade
>>
>> <https://www.postgresql.org/docs/10/static/pgupgrade.html;
>>
>>
>> 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,
>>
>

-- 



To:



With Regards

Sachin

Contact: +91-8123183431
Email: notsachin@gmail.com
BANGLORE

^ permalink  raw  reply  [nested|flat] 10+ messages in thread

* Re: Postgres 10 disk space requirement compared to postgres 9.5.4
  2018-08-02 14:27 Postgres 10 disk space requirement compared to postgres 9.5.4 Debraj Manna <subharaj.manna@gmail.com>
  2018-08-03 04:04 ` Re: Postgres 10 disk space requirement compared to postgres 9.5.4 suresh neravati <suresh.neravati@yahoo.com>
@ 2018-08-03 04:08   ` Ron <ronljohnsonjr@gmail.com>
  2 siblings, 0 replies; 10+ messages in thread

From: Ron @ 2018-08-03 04:08 UTC (permalink / raw)
  To: pgsql-admin@lists.postgresql.org

How fast is fast?  Does it need to rewrite all the data (would take a while 
on a Really Large Database), or just change a bit of metadata?

On 08/02/2018 11:04 PM, suresh neravati 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 
> <https://www.postgresql.org/docs/10/static/pgupgrade.html;
>
>
> 	
>
>
> 	
>
>
>     PostgreSQL: Documentation: 10: pg_upgrade
>
> <https://www.postgresql.org/docs/10/static/pgupgrade.html;
>
>
> 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,

-- 
Angular momentum makes the world go 'round.

^ permalink  raw  reply  [nested|flat] 10+ messages in thread

* Re: Postgres 10 disk space requirement compared to postgres 9.5.4
  2018-08-02 14:27 Postgres 10 disk space requirement compared to postgres 9.5.4 Debraj Manna <subharaj.manna@gmail.com>
  2018-08-03 04:04 ` Re: Postgres 10 disk space requirement compared to postgres 9.5.4 suresh neravati <suresh.neravati@yahoo.com>
@ 2018-08-03 04:25   ` suresh neravati <suresh.neravati@yahoo.com>
  2018-08-03 04:27     ` Re: Postgres 10 disk space requirement compared to postgres 9.5.4 Debraj Manna <subharaj.manna@gmail.com>
  2 siblings, 1 reply; 10+ messages in thread

From: suresh neravati @ 2018-08-03 04:25 UTC (permalink / raw)
  To: pgsql-admin; Debraj Manna <subharaj.manna@gmail.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,    

^ permalink  raw  reply  [nested|flat] 10+ messages in thread

* Re: Postgres 10 disk space requirement compared to postgres 9.5.4
  2018-08-02 14:27 Postgres 10 disk space requirement compared to postgres 9.5.4 Debraj Manna <subharaj.manna@gmail.com>
  2018-08-03 04:04 ` Re: Postgres 10 disk space requirement compared to postgres 9.5.4 suresh neravati <suresh.neravati@yahoo.com>
  2018-08-03 04:25   ` Re: Postgres 10 disk space requirement compared to postgres 9.5.4 suresh neravati <suresh.neravati@yahoo.com>
@ 2018-08-03 04:27     ` Debraj Manna <subharaj.manna@gmail.com>
  0 siblings, 0 replies; 10+ messages in thread

From: Debraj Manna @ 2018-08-03 04:27 UTC (permalink / raw)
  To: suresh neravati <suresh.neravati@yahoo.com>; +Cc: pgsql-admin

I think been are going off the topic in this thread. My initial question was

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 ?


On Fri 3 Aug, 2018, 9:55 AM suresh neravati, <suresh.neravati@yahoo.com>
wrote:

> 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
> <https://www.postgresql.org/docs/10/static/pgupgrade.html;
>
> PostgreSQL: Documentation: 10: pg_upgrade
>
> <https://www.postgresql.org/docs/10/static/pgupgrade.html;
>
>
> 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,
>

^ permalink  raw  reply  [nested|flat] 10+ messages in thread


end of thread, other threads:[~2018-08-03 06:37 UTC | newest]

Thread overview: 10+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-08-02 14:27 Postgres 10 disk space requirement compared to postgres 9.5.4 Debraj Manna <subharaj.manna@gmail.com>
2018-08-03 03:57 ` Debraj Manna <subharaj.manna@gmail.com>
2018-08-03 04:41   ` Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
2018-08-03 06:37     ` Debraj Manna <subharaj.manna@gmail.com>
2018-08-03 04:04 ` suresh neravati <suresh.neravati@yahoo.com>
2018-08-03 04:07   ` Debraj Manna <subharaj.manna@gmail.com>
2018-08-03 04:27     ` Sachin Singh <notsachin@gmail.com>
2018-08-03 04:08   ` Ron <ronljohnsonjr@gmail.com>
2018-08-03 04:25   ` suresh neravati <suresh.neravati@yahoo.com>
2018-08-03 04:27     ` Debraj Manna <subharaj.manna@gmail.com>

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