Re: Is There Any Way ....

Поиск
Список
Период
Сортировка
От Stefan Weiss
Тема Re: Is There Any Way ....
Дата
Msg-id 43425A0E.2050305@foo.at
обсуждение исходный текст
Ответ на Is There Any Way ....  ("Lane Van Ingen" <lvaningen@esncc.com>)
Ответы Re: Is There Any Way ....
Re: Is There Any Way ....
Список pgsql-performance
On 2005-09-30 01:21, Lane Van Ingen wrote:
>   (3) Assure that a disk-based table is always in memory (outside of keeping
> it in
>       memory buffers as a result of frequent activity which would prevent
> LRU
>       operations from taking it out) ?

I was wondering about this too. IMO it would be useful to have a way to tell
PG that some tables were needed frequently, and should be cached if
possible. This would allow application developers to consider joins with
these tables as "cheap", even when querying on columns that are not indexed.
I'm thinking about smallish tables like users, groups, *types, etc which
would be needed every 2-3 queries, but might be swept out of RAM by one
large query in between. Keeping a table like "users" on a RAM fs would not
be an option, because the information is not volatile.


cheers,
stefan

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

Предыдущее
От: PFC
Дата:
Сообщение: Re: Comparative performance
Следующее
От: "Lane Van Ingen"
Дата:
Сообщение: Re: Is There Any Way ....