Re: our buffer replacement strategy is kind of lame

Поиск
Список
Период
Сортировка
От daveg
Тема Re: our buffer replacement strategy is kind of lame
Дата
Msg-id 20110812224246.GN14353@sonic.net
обсуждение исходный текст
Ответ на Re: our buffer replacement strategy is kind of lame  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-hackers
On Fri, Aug 12, 2011 at 01:28:49PM +0100, Simon Riggs wrote:
> I think there are reasonable arguments to make
> 
> * prefer_cache = off (default) | on a table level storage parameter,
> =on will disable the use of BufferAccessStrategy
> 
> * make cache_spoil_threshold a parameter, with default 0.25
> 
> Considering the world of very large RAMs in which we now live, some
> control of the above makes sense.

As long as we are discussion cache settings for tables, I have a client
who would like to be able to lock specific tables and indexes into cache
as they have strict response time requirements for particular queries.
At the moment they are running postgres with a tablespace on ramfs and
taking frequent backups, but this is not optimal.

-dg

-- 
David Gould       daveg@sonic.net      510 536 1443    510 282 0869
If simplicity worked, the world would be overrun with insects.


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

Предыдущее
От: daveg
Дата:
Сообщение: Re: VACUUM FULL versus system catalog cache invalidation
Следующее
От: daveg
Дата:
Сообщение: OperationalError: FATAL: lock AccessShareLock on object 0/1260/0 is already