Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1doqdo-0000ox-HK for pgsql-admin@arkaria.postgresql.org; Mon, 04 Sep 2017 12:38:12 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1doqdn-0005wp-TO for pgsql-admin@arkaria.postgresql.org; Mon, 04 Sep 2017 12:38:11 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1doqby-0000MH-7V for pgsql-admin@postgresql.org; Mon, 04 Sep 2017 12:36:18 +0000 Received: from my.maila.biz ([138.118.35.245]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1doqbq-00033B-FQ for pgsql-admin@postgresql.org; Mon, 04 Sep 2017 12:36:17 +0000 Received: (Haraka outbound); Mon, 04 Sep 2017 12:36:05 +0000 Authentication-Results: my.maila.biz; auth=pass (login) Received: from webmail.maila.biz (e9fe2f8a-27e0-4f92-a13d-5b2f3de0e680.cloudron [172.18.0.21]) by my.maila.biz (Haraka/2.8.13) with ESMTPA id 38453CE8-3304-48DB-8022-031B3901260E.1 envelope-from (authenticated bits=0); Mon, 04 Sep 2017 12:36:04 +0000 Mime-Version: 1.0 Date: Mon, 04 Sep 2017 12:36:03 +0000 Content-Type: multipart/alternative; boundary="--=_RainLoop_548_485622872.1504528563" X-Mailer: RainLoop/1.11.1 From: "Jean R. Franco" Message-ID: <9f30edef02a5c0f25f4c72fb191f9512@maila.biz> Subject: Re: pgdump and restore results in different sizes DB To: "Michael Vitale" , pgsql-admin@postgresql.org In-Reply-To: <1758120710.400302.1504525501413@email.1and1.com> References: <1758120710.400302.1504525501413@email.1and1.com> <3e75543bdc093c158f050b3dfc0afe8e@maila.biz> X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on 8cf618c304ea X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,HTML_MESSAGE autolearn=ham autolearn_force=no version=3.4.1 DKIM-Signature: v=1;a=rsa-sha256;bh=OjXlkthmMrZOQk7pF/39AZszTqn3wV4sgLUqIB7lzoA=;c=relaxed/simple;d=maila.biz;h=from:subject:date:message-id:to:mime-version;s=cloudron;b=BiLEFvhWQofJ9f8JMhYUUgMiwjvd9TrdTMWhtzat8Kk6a8PLCwX3XpCF5lHML/ekrY/V6XJv/so4au0Z7sMFRZkRKAnND2/u5u+IEK+AIvDsaBNSmtc532t5zdAbd7N4ngUB051z0YB1btJ9g9P3mYgAtX8e8eJCgT4g7JMjGyc= List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org ----=_RainLoop_548_485622872.1504528563 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Michael,=0A=0AThanks for replying,=0A=0ADo you think it would be that = big of a size? Over 21G?=0A=0AThanks,=0A=0A4 de Setembro de 2017 08:45, "= Michael Vitale" escreveu:=0A nice benefit of logical dump and restore: b= ye bye bloat On September 4, 2017 at 7:35 AM "Jean R. Franco" wrote:=0AH= ello Everyone,=0A=0AI'm moving a postgresql server from one server to ano= ther, both running versions 9.4.10=0AIt's a single large database and I'm= using pgdump to export and restoring on the new server.=0A=0AThe thing i= s, on the old server the database size is 81GB, but when I restore on the= new server, it decreases to 60GB=0A=0AList of databases=0AName | Owner |= Encoding | Collate | Ctype | Access privileges | Size | Tablespace | Des= cription=0A------------+----------+----------+---------+-------+---------= ----------+-------+------------+-------------=0Aecidade | postgres | LATI= N1 | C | C | | 60 GB | pg_default |=0A=0AI'm watching the whole process o= f restoring it and have no errors.=0AWhat could I been doing wrong?=0A=0A= Thanks, ----=_RainLoop_548_485622872.1504528563 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
H= i Michael,

Thanks for replying,

Do you think it would be th= at big of a size? Over 21G?

Thanks,

4 de Setembro de 2017 0= 8:45, "Michael Vitale" <michaeldba= @sqlexec.com> escreveu:

nice benefit= of logical dump and restore: bye bye bloat

On September 4, 2017 at 7:35 AM "Jean R. Franco" <jfranco@m= aila.biz> wrote:

Hello Everyone,

I'm moving a postgresql serv= er from one server to another, both running versions 9.4.10
It's a sin= gle large database and I'm using pgdump to export and restoring on the ne= w server.

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

List= of databases
Name | Owner | Encoding | Collate | Ctype | Access privi= leges | Size | Tablespace | Description
------------+----------+------= ----+---------+-------+-------------------+-------+------------+---------= ----
ecidade | postgres | LATIN1 | C | C | | 60 GB | pg_default |
<= br>I'm watching the whole process of restoring it and have no errors.
= What could I been doing wrong?

Thanks,

----=_RainLoop_548_485622872.1504528563--