Re: Per-table random_page_cost for tables that we know are always cached

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Per-table random_page_cost for tables that we know are always cached
Дата
Msg-id 29120.1208907578@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Per-table random_page_cost for tables that we know are always cached  (Decibel! <decibel@decibel.org>)
Список pgsql-hackers
Decibel! <decibel@decibel.org> writes:
> "cache priority" to me sounds like we're trying to influence caching  
> behavior, which isn't what's happening. I do agree that we need a  
> better way to tell the planner what tables are in memory.

What's been discussed in the past is per-tablespace settings for
random_page_cost and friends.  That was meant to cover actual disk
hardware differences, but could be (ab)used to handle the case of
heavily and not so heavily used tables.

Per-table sounds kinda bogus to me; such settings would probably reflect
wishful thinking on the part of the DBA more than reality.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: WIP: psql default banner patch
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: WIP: psql default banner patch