Re: [HACKERS] Buglist

Поиск
Список
Период
Сортировка
От Manfred Koizar
Тема Re: [HACKERS] Buglist
Дата
Msg-id 8uhckvg4cfh4kk1oq9j755dd1qu6r7t0kn@4ax.com
обсуждение исходный текст
Ответ на Re: [HACKERS] Buglist  (Jan Wieck <JanWieck@Yahoo.com>)
Список pgsql-general
On Fri, 22 Aug 2003 12:18:02 -0400, Jan Wieck <JanWieck@Yahoo.com>
wrote:
>Okay, my proposal would be to have a VACUUM mode where it tells the
>buffer manager to only return a page if it is already in memory

But how can it know?  Yes, we know exactly what we have in PG shared
buffers.  OTOH we keep telling people that they should configure
moderate values for shared_buffers because the OS is better at
caching.  Your CACHEONLY VACUUM wouldn't catch those pages that are in
the OS cache but not in the shared buffers, although they are
retrievable at almost the same low cost.

We should not try to avoid _any_ physical disk access.  It's good
enough to avoid useless reads.  Hence my proposal for a reclaimable
space list ...

Servus
 Manfred

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

Предыдущее
От:
Дата:
Сообщение: Re: pg_dump and alter database
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Buglist