From: Michael Vitale <michaeldba@sqlexec.com>
To: Jean R. Franco <jfranco@maila.biz>
To: pgsql-admin@postgresql.org
Subject: Re: pgdump and restore results in different sizes DB
Date: Mon, 4 Sep 2017 07:45:01 -0400 (EDT)
Message-ID: <1758120710.400302.1504525501413@email.1and1.com> (raw)
In-Reply-To: <3e75543bdc093c158f050b3dfc0afe8e@maila.biz>
References: <3e75543bdc093c158f050b3dfc0afe8e@maila.biz>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>
<!DOCTYPE html>
<html><head>
<meta charset="UTF-8">
</head><body><p>nice benefit of logical dump and restore: bye bye bloat</p><blockquote type="cite">On September 4, 2017 at 7:35 AM "Jean R. Franco" <jfranco@maila.biz> wrote:<br><br><div style="font-family: arial, sans-serif; font-size: 13px;"><br>Hello Everyone,<br><br>I'm moving a postgresql server from one server to another, both running versions 9.4.10<br>It's a single large database and I'm using pgdump to export and restoring on the new server.<br><br>The thing is, on the old server the database size is 81GB, but when I restore on the new server, it decreases to 60GB<br><br> List of databases<br> Name | Owner | Encoding | Collate | Ctype | Access privileges | Size | Tablespace | Description<br>------------+----------+----------+---------+-------+-------------------+-------+------------+-------------<br> ecidade | postgres | LATIN1 | C | C | | 60 GB | pg_default |<br><br>I'm watching the whole process of restoring it and have no errors.<br>What could I been doing wrong?<br><br>Thanks,<br><br></div></blockquote></body></html>
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: michaeldba@sqlexec.com, jfranco@maila.biz
Subject: Re: pgdump and restore results in different sizes DB
In-Reply-To: <1758120710.400302.1504525501413@email.1and1.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