Re: [ADMIN] pgdump and restore results in different sizes DB - Mailing list pgsql-admin

From Michael Vitale
Subject Re: [ADMIN] pgdump and restore results in different sizes DB
Date
Msg-id 1758120710.400302.1504525501413@email.1and1.com
Whole thread Raw
In response to [ADMIN] pgdump and restore results in different sizes DB  ("Jean R. Franco" <jfranco@maila.biz>)
Responses Re: [ADMIN] pgdump and restore results in different sizes DB  ("Jean R. Franco" <jfranco@maila.biz>)
List pgsql-admin

nice benefit of logical dump and restore: bye bye bloat

On September 4, 2017 at 7:35 AM "Jean R. Franco" <jfranco@maila.biz> 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,

pgsql-admin by date:

Previous
From: "Jean R. Franco"
Date:
Subject: [ADMIN] pgdump and restore results in different sizes DB
Next
From: "Jean R. Franco"
Date:
Subject: Re: [ADMIN] pgdump and restore results in different sizes DB