| От | Tom Lane |
|---|---|
| Тема | Re: reindex/vacuum locking/performance? |
| Дата | |
| Msg-id | 1368.1065373870@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: reindex/vacuum locking/performance? ("Matt Clark" <matt@ymogen.net>) |
| Ответы |
Re: reindex/vacuum locking/performance?
|
| Список | pgsql-performance |
"Matt Clark" <matt@ymogen.net> writes:
> OK I'm definitely missing something here.
The point is that a big seqscan (either VACUUM or a plain table scan)
hits a lot of pages, and thereby tends to fill your cache with pages
that aren't actually likely to get hit again soon, perhaps pushing out
pages that will be needed again soon. This happens at both the
shared-buffer and kernel-disk-cache levels of caching.
It would be good to find some way to prevent big seqscans from
populating cache, but I don't know of any portable way to tell the OS
that we don't want it to cache a page we are reading.
regards, tom lane
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера