| От | Tom Lane |
|---|---|
| Тема | Re: synchronized scans for VACUUM |
| Дата | |
| Msg-id | 19398.1212328662@sss.pgh.pa.us обсуждение |
| Ответ на | Re: synchronized scans for VACUUM (Gregory Stark <stark@enterprisedb.com>) |
| Список | pgsql-hackers |
Gregory Stark <stark@enterprisedb.com> writes:
>> It will certainly not "solve" the problem. What it will do is mean that
>> the breaks are further apart and longer, which seems to me to make the
>> conflict with syncscan behavior worse not better.
> How would it make them longer? They still have the same amount of i/o to do
> scanning the indexes. I suppose they would dirty more pages which might slow
> them down?
More tuples to delete = more writes (in WAL, if not immediately in the
index itself) = longer to complete the indexscan. It's still cheaper
than doing multiple indexscans, of course, but my point is that the
index-fixing work gets concentrated.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера