Re: Would like to know how analyze works technically

Поиск
Список
Период
Сортировка
От TonyS
Тема Re: Would like to know how analyze works technically
Дата
Msg-id 8bb916e3e7b9fa1e4533a8b11c7ca2c1.squirrel@www.exquisiteimages.com
обсуждение исходный текст
Ответ на Re: Would like to know how analyze works technically  (Igor Neyman <ineyman@perceptron.com>)
Ответы Re: Would like to know how analyze works technically  (Bill Moran <wmoran@potentialtech.com>)
Список pgsql-general
On Wed, April 1, 2015 12:30 pm, Igor Neyman [via PostgreSQL] wrote:

>>
>> TonyS <[hidden email]</user/SendEmail.jtp?type=node&node=5844292&i=0>>
>> wrote:
>>
>>
>
> name,current_setting,source autovacuum,off,configuration file
> synchronous_commit,off,configuration file TimeZone,localtime,configuration
> file unix_socket_directories,/var/run/postgresql,configuration file
> wal_buffers,8MB,configuration file work_mem,1536MB,configuration file
>
>
> ---
>
>
> ?    work_mem,1536MB,configuration file
>
>
>
> IIRC, your RAM is 8GB.  Your work_mem is too high.  Actual memory used
> for sorting, etc... could be multiples of work_mem setting.
>
> That could be the reason for your memory problems.  I'd suggest to set it
> to 16MB, and see if you can avoid "on disk" sorting.  If not - gradually
> increase work_mem.
>
> Regards,
>
>
> Igor Neyman
>


Thanks Igor,

I will try changing that. I pretty much just let pgtune set all of those
values for me.




View this message in context: Re: Would like to know how analyze works technically
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

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

Предыдущее
От: "FarjadFarid\(ChkNet\)"
Дата:
Сообщение: Re: Would like to know how analyze works technically
Следующее
От: James Cloos
Дата:
Сообщение: now() vs 'epoch'::timestamp