Re: In-Memory Columnar Store

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: In-Memory Columnar Store
Дата
Msg-id CAHyXU0zDetDik7X8zEbSgYK3VncvVL_su3qrgSshVrJOtTyN_w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: In-Memory Columnar Store  (knizhnik <knizhnik@garret.ru>)
Список pgsql-hackers
On Thu, Dec 12, 2013 at 12:18 PM, knizhnik <knizhnik@garret.ru> wrote:
> IMHO it is strange to see such small default values in postgresql
> configuration.

This (low default work mem) is because of three things:

1) Most queries do not really need a lot of work mem
2) Work mem stacks with each query using it -- so with your 1mb
setting vs 1000 connections, you get a gigabyte.  So, some
conservatism is justified although this setting tended to be much more
dangerous in the old days when we measured memory in megabytes.
3) Postgres does not query available physical memory for default
settings due to portability issues.  So we tend to tune to "common
denominator".

merlin



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

Предыдущее
От: knizhnik
Дата:
Сообщение: Re: In-Memory Columnar Store
Следующее
От: Tom Lane
Дата:
Сообщение: Re: ANALYZE sampling is too good