Search Postgresql Archives

pg_dump and pg_restore make data dir doubled size?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux