Re: pg_xlog - files are guaranteed to be sequentialy named?
В списке pgsql-general по дате отправления:
| От | Scott Marlowe |
|---|---|
| Тема | Re: pg_xlog - files are guaranteed to be sequentialy named? |
| Дата | |
| Msg-id | 46701097.2070501@g2switchworks.com обсуждение исходный текст |
| Ответ на | Re: pg_xlog - files are guaranteed to be sequentialy named? (Alvaro Herrera <alvherre@commandprompt.com>) |
| Список | pgsql-general |
Alvaro Herrera wrote: > Johannes Konert wrote: > >> Hi pgsql-list-members, >> I currently write a small script that deletes outdated xlog-files from >> my backup-location. >> Because I do not want to rely on creation-date, I found it usable to use >> the result of >> ln | sort -g -r >> Thus the newest WAL xlog-file is on top and I can delete all not needed >> files at the bottom of the list. >> > > Warning, this is NOT SAFE to do. You should NEVER delete "outdated" > xlog files, unless you appreciate RANDOM CORRUPTION of your data. > I think he's talking about deleting pg_xlog files that are being used for PITR from the backup machine after they've been applied. But I'm not sure that's really what he meant or not.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера