| От | Leigh Dyer |
|---|---|
| Тема | Backup strategies with significant bytea data |
| Дата | |
| Msg-id | 4B4CB3BE.20AD.00BA.0@healthscope.com.au обсуждение |
| Ответы |
Re: Backup strategies with significant bytea data
|
| Список | pgsql-general |
Hi, For years now I've simply backed up my databases by doing a nightly pg_dump, but since we added the ability for users to import binary files in to our application, which are stored in a bytea fields, the dump sizes have gone through the roof — even with gzip compression, they're significantly larger than the on-disk size of the database. My guess is that this due to the way that the binary data from the bytea fields is encoded in the dump file when it's produced. Is there any way I can reduce the size of my pg_dump files? Alternatively, are there other backup methods worth investigating? PITR looks promising, but I have about a dozen databases on the machine, and I'd need to be able to restore them individually. Thanks Leigh Please consider the environment before printing this message
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера