Re: The Last Optimization

Поиск
Список
Период
Сортировка
От Gregory Wood
Тема Re: The Last Optimization
Дата
Msg-id 00ed01c255b1$b9525bf0$7889ffcc@comstock.com
обсуждение исходный текст
Ответ на Date not being parsed as expected  (Jean-Christian Imbeault <jc@mega-bucks.co.jp>)
Ответы Re: The Last Optimization  ("scott.marlowe" <scott.marlowe@ihs.com>)
Список pgsql-general
> I did already a some optimization optimization :
>
>     max_connections = 64
>     shared_buffers = 32000
>     sort_mem = 64336
>     fsync = false

Ouch... 64MB of sort_mem? It'll only take 32 sort operations to exhaust your
memory... actually much less since your 2GB isn't likely to be used
exclusively for sorting.

I would start by pushing sort_mem back to 8192 (you might be able to get
away with 16384, but I wouldn't go any higher). Anything else, we'll need to
know what you're doing, schema, queries, explain analyze, etc.

Greg


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

Предыдущее
От: Oliver Elphick
Дата:
Сообщение: Re: pb on installation
Следующее
От: Florian Litot
Дата:
Сообщение: Re: pb on installation