Re: pg_dump and pg_restore make data dir doubled size?

From: Yan Chunlu <springrider(at)gmail(dot)com>
To: pgsql-general General <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg_dump and pg_restore make data dir doubled size?
Date: 2011-12-19 05:28:42
Message-ID: CAOA66tH-uc1PBsy+m1XVby50s2EjCu7=MEyH+KRude-hrf8SNg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

never mind. just found I changed the wal_keep_segments to 5000, it's
the size of pg_xlog dir who used a lot of space.

On Sun, Dec 18, 2011 at 10:18 PM, Yan Chunlu <springrider(at)gmail(dot)com> wrote:
> I just tried several times to make sure I didn't do anything wrong.
>
> I use
> pg_dump -U postgres  -E UTF8  -F c -b -v -a  dbcontent -f  data.backup
> then
> pg_restore -a -d dbcontent data.backup
>
> to restore a db, and the data dir's size on the source machine is
> 56GB,  after I restored data on the target machine, it 130GB,  I did
> vacuum full but nothing changed.
>
> is there anything wrong with the db?

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Капралов Александр 2011-12-19 06:43:58 How to make a non-removable row in a table?
Previous Message Merlin Moncure 2011-12-19 04:32:09 Re: Logical Aggregate Functions (eg ANY())