Re: Postgres Database Backup Size

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Shiwangini Shishulkar <shiwangini(dot)shishulkar(at)webgility(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Postgres Database Backup Size
Date: 2019-08-12 07:39:02
Message-ID: 9638676cdd3274bc76a7f41503156732f9dac8dc.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Shiwangini Shishulkar wrote:
> Any way to reduce backup size of postgres backups or it's default behavior of postgres to take backups which are double in size?

The smallest backup would be a compressed custom format "pg_dump":

pg_dump -F c -Z 9 ...

I is very unusual for a custom format dump to be bigger than
the original database. How did you measure the database size?

Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message James (王旭) 2019-08-12 09:51:34 How to gracefully keep my specific index in memory ?
Previous Message Shiwangini Shishulkar 2019-08-12 06:23:33 Postgres Database Backup Size