Re: Per-table random_page_cost for tables that we know are always cached
В списке pgsql-hackers по дате отправления:
| От | Ron Mayer |
|---|---|
| Тема | Re: Per-table random_page_cost for tables that we know are always cached |
| Дата | |
| Msg-id | 48100BB0.1010704@cheapcomplexdevices.com обсуждение исходный текст |
| Ответ на | Re: Per-table random_page_cost for tables that we know are always cached (Decibel! <decibel@decibel.org>) |
| Список | pgsql-hackers |
Decibel! wrote: > we can just look at > the hit rate for the object. But we'd also need stats for how often we > find pages for a relation in the OS cache, which no one has come up with > a good method for. Makes me wonder if we could (optionally, I guess, since timing stuff is apparently slow on some systems) also keep save the average time it took for a block to get ready in pg_statio_all_tables. Or, (if possible), save the averages for random and sequential pages separately. Then rather than using guessed values in the config files it seems the plans could use the actual averages per table. That would address both poor guesses on random_page_cost, effective_cache_size, etc - as well as get things right on systems where some tablespaces are fast and some are slow.
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера