Re: pgtune: postgresql.conf wizard

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: pgtune: postgresql.conf wizard
Дата
Msg-id 497E123F.3060207@agliodbs.com
обсуждение исходный текст
Ответ на pgtune: postgresql.conf wizard  (Greg Smith <gsmith@gregsmith.com>)
Список pgsql-hackers
Greg,

> Things I was hoping for some input on:
> -Using default_stats_target=100 doesn't seem controversial anymore, 
> which makes we wonder if it makes sense to restore the original DW 
> suggestion of 400 Josh suggested?

I'm going to back off from this.  Following our discussion, I did some 
testing on DWs belonging to my clients.  The amount of time required to 
ANALYZE 20m rows of a large text field at 400 is significant, as is the 
bulk-out of the stats table.

Instead, I'm writing a script which increases stats for all *indexed* 
columns under a named size to a user-specified level.  When it's ready, 
I'll add it to pgTune.

So for DW, go for 100.  Not 400, though.

--Josh Berkus


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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: 8.4 release planning
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: autovacuum, reloptions, and hardcoded pg_class tupdesc