| От | Tom Lane |
|---|---|
| Тема | Re: remove useless ccache searching |
| Дата | |
| Msg-id | 12840.1315250266@sss.pgh.pa.us обсуждение |
| Ответ на | remove useless ccache searching (Andy Colson <andy@squeakycode.net>) |
| Список | pgsql-hackers |
Andy Colson <andy@squeakycode.net> writes: > This patch: > https://commitfest.postgresql.org/action/patch_view?id=597 > caches the cache because, I guess, the cache is slow. > Simon asked, "What is making the first cache so slow?". Pavel does not know, nor how to fix it, and nobody else responded. Well, the cache doesn't need to be "slow" to make it worthwhile to eliminate repeated cache lookups altogether. We do that in many places. The questions that need to be asked here are whether the speed gain is worthwhile, whether there is any possibility of the locally cached information becoming obsolete, whether it's done in a clean fashion, whether it should be done somewhere else instead of right here. regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера