Re: Working on huge RAM based datasets

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: Working on huge RAM based datasets
Дата
Msg-id 40EDF7DE.8080900@familyhealth.com.au
обсуждение исходный текст
Ответ на Working on huge RAM based datasets  ("Andy Ballingall" <andy_ballingall@bigfoot.com>)
Список pgsql-performance
> What is it about the buffer cache that makes it so unhappy being able to
> hold everything? I don't want to be seen as a cache hit fascist, but isn't
> it just better if the data is just *there*, available in the postmaster's
> address space ready for each backend process to access it, rather than
> expecting the Linux cache mechanism, optimised as it may be, to have to do
> the caching?

Because the PostgreSQL buffer management algorithms are pitiful compared
to Linux's.  In 7.5, it's improved with the new ARC algorithm, but still
- the Linux disk buffer cache will be very fast.

Chris


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

Предыдущее
От: "Andy Ballingall"
Дата:
Сообщение: Working on huge RAM based datasets
Следующее
От: "Merlin Moncure"
Дата:
Сообщение: Re: Working on huge RAM based datasets