| От | Tom Lane |
|---|---|
| Тема | Re: Bug: Buffer cache is not scan resistant |
| Дата | |
| Msg-id | 21794.1173125927@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Bug: Buffer cache is not scan resistant ("Simon Riggs" <simon@2ndquadrant.com>) |
| Список | pgsql-hackers |
"Simon Riggs" <simon@2ndquadrant.com> writes:
> Best way is to prove it though. Seems like not too much work to have a
> private ring data structure when the hint is enabled. The extra
> bookeeping is easily going to be outweighed by the reduction in mem->L2
> cache fetches. I'll do it tomorrow, if no other volunteers.
[ shrug... ] No one has yet proven to my satisfaction that L2 cache has
anything to do with this. The notion that you can read a new disk page
into a shared buffer and have that buffer still be live in the processor
cache is so obviously bogus that I think there must be some other effect
at work.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера