Re: pgdump and restore results in different sizes DB

From: Michael Vitale <michaeldba(at)sqlexec(dot)com>
To: "Jean R(dot) Franco" <jfranco(at)maila(dot)biz>, pgsql-admin(at)postgresql(dot)org
Subject: Re: pgdump and restore results in different sizes DB
Date: 2017-09-04 11:45:01
Message-ID: 1758120710.400302.1504525501413@email.1and1.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-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 &#34;Jean R. Franco&#34; &#60;jfranco(at)maila(dot)biz&#62; wrote:<br><br><div style="font-family: arial, sans-serif; font-size: 13px;"><br>Hello Everyone,<br><br>I&#39;m moving a postgresql server from one server to another, both running versions 9.4.10<br>It&#39;s a single large database and I&#39;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&#39;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>

Attachment Content-Type Size
unknown_filename text/html 1.1 KB

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Jean R. Franco 2017-09-04 12:36:03 Re: pgdump and restore results in different sizes DB
Previous Message Jean R. Franco 2017-09-04 11:35:31 pgdump and restore results in different sizes DB