pg_dump file size

Поиск
Список
Период
Сортировка
От Mike angelo
Тема pg_dump file size
Дата
Msg-id 872577.50178.qm@web110309.mail.gq1.yahoo.com
обсуждение исходный текст
Ответы Re: pg_dump file size
Список pgsql-admin
I'm a newb  running Postgres 8.3 on a SuSE 7.2 system. I have a database whose size reports as 644 MB using
 
select pg_size_pretty(pg_database_size('adempiere'));
 
When using the following command to back up the database,
 

su postgres -c "pg_dump adempiere | split -b 3000m - /tmp/adempiere_`date +%F`.dmp"

 

the result is a 49.5 MB file. Curious as to how the backup file can be less than 1/10th the size of the database?

 

Thanks,

 

-Mike


В списке pgsql-admin по дате отправления:

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Finding out on exactly what I am stuck
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_dump file size