| От | Nathan Bossart |
|---|---|
| Тема | Re: remove more archiving overhead |
| Дата | |
| Msg-id | 20220407222327.GA1363808@nathanxps13 обсуждение исходный текст |
| Ответ на | Re: remove more archiving overhead (Nathan Bossart <nathandbossart@gmail.com>) |
| Ответы |
Re: remove more archiving overhead
Re: remove more archiving overhead |
| Список | pgsql-hackers |
On Thu, Feb 24, 2022 at 09:55:53AM -0800, Nathan Bossart wrote: > Yes. I found that a crash at an unfortunate moment can produce multiple > links to the same file in pg_wal, which seemed bad independent of archival. > By fixing that (i.e., switching from durable_rename_excl() to > durable_rename()), we not only avoid this problem, but we also avoid trying > to archive a file the server is concurrently writing. Then, after a crash, > the WAL file to archive should either not exist (which is handled by the > archiver) or contain the same contents as any preexisting archives. I moved the fix for this to a new thread [0] since I think it should be back-patched. I've attached a new patch that only contains the part related to reducing archiving overhead. [0] https://www.postgresql.org/message-id/20220407182954.GA1231544%40nathanxps13 -- Nathan Bossart Amazon Web Services: https://aws.amazon.com
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера