| От | Tom Lane |
|---|---|
| Тема | Re: [HACKERS] WAL logging freezing |
| Дата | |
| Msg-id | 8993.1162329918@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: [HACKERS] WAL logging freezing (Alvaro Herrera <alvherre@commandprompt.com>) |
| Список | pgsql-patches |
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Huh, but the log would not be flushed for each operation that the vacuum
> logs. Only when it's going to commit.
It strikes me that the vacuum cost delay feature omits to consider
generation of WAL records as a cost factor. It may not be a big problem
though, as long as we can limit the number of records created to one or
two per page --- then you can see it as just a component of the "dirtied
a page" cost. If we made a separate WAL record for each tuple then it
could be important to account for.
regards, tom lane
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера