Re: pgdump and restore results in different sizes DB

From: "Jean R(dot) Franco" <jfranco(at)maila(dot)biz>
To: "Michael Vitale" <michaeldba(at)sqlexec(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: pgdump and restore results in different sizes DB
Date: 2017-09-04 12:36:03
Message-ID: 9f30edef02a5c0f25f4c72fb191f9512@maila.biz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi Michael,

Thanks for replying,

Do you think it would be that big of a size? Over 21G?

Thanks,

4 de Setembro de 2017 08:45, "Michael Vitale" escreveu:
nice benefit of logical dump and restore: bye bye bloat On September 4, 2017 at 7:35 AM "Jean R. Franco" wrote:
Hello Everyone,

I'm moving a postgresql server from one server to another, both running versions 9.4.10
It's a single large database and I'm using pgdump to export and restoring on the new server.

The thing is, on the old server the database size is 81GB, but when I restore on the new server, it decreases to 60GB

List of databases
Name | Owner | Encoding | Collate | Ctype | Access privileges | Size | Tablespace | Description
------------+----------+----------+---------+-------+-------------------+-------+------------+-------------
ecidade | postgres | LATIN1 | C | C | | 60 GB | pg_default |

I'm watching the whole process of restoring it and have no errors.
What could I been doing wrong?

Thanks,

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Michaeldba@sqlexec.com 2017-09-04 12:51:54 Re: pgdump and restore results in different sizes DB
Previous Message Michael Vitale 2017-09-04 11:45:01 Re: pgdump and restore results in different sizes DB