Re: reducing the footprint of ScanKeyword (was Re: Large writable variables)
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: reducing the footprint of ScanKeyword (was Re: Large writable variables) |
| Дата | |
| Msg-id | 1645.1545503315@sss.pgh.pa.us обсуждение |
| Ответ на | Re: reducing the footprint of ScanKeyword (was Re: Large writablevariables) (Andres Freund <andres@anarazel.de>) |
| Список | pgsql-hackers |
Andres Freund <andres@anarazel.de> writes:
> On 2018-12-22 12:20:00 -0500, Tom Lane wrote:
>> I like that idea a *lot*, actually, because it offers the opportunity
>> to decouple this mechanism from all assumptions about what the
>> auxiliary data for a keyword is.
> OTOH, it doubles or triples the number of cachelines accessed when
> encountering a keyword.
Compared to what? The current situation in that regard is a mess.
Also, AFAICS this proposal involves the least amount of data touched
during the lookup phase of anything we've discussed, so I do not even
accept that your criticism is correct. One extra cacheline fetch
to get the aux data for a particular keyword after the search is not
going to tip the scales away from this being a win.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера