Re: Configuring Shared Buffers

Поиск
Список
Период
Сортировка
От Tino Schwarze
Тема Re: Configuring Shared Buffers
Дата
Msg-id 20080630182830.GA5358@easy2.in-chemnitz.de
обсуждение исходный текст
Ответ на Configuring Shared Buffers  ("Rafael Domiciano" <rafael.domiciano@gmail.com>)
Ответы Re: Configuring Shared Buffers  ("Rafael Domiciano" <rafael.domiciano@gmail.com>)
Список pgsql-admin
On Mon, Jun 30, 2008 at 02:52:05PM -0300, Rafael Domiciano wrote:

> Folks, I am configuring a new Postgres Server, that's gonna substitute the
> critical server of the enterprise.
> I have a good machine:
> Quad-Core 2.5 Ghz
> 4 Gb RAM
> 1 Dedicated HD 300 Gb Sata for the PostgreSQL Directory

If it's the "critical server", you'd want to use a RAID1 for the disk so
your server and data survives a harddisk crash.

> My question is:
> How much I could assign for the "Shared Buffers" parameter?
>
> The default assigned now is 24 Mb.

That's rather low. I suppose, you may safely say 200Mb here (check that
you don't run into OS limits, they might need raising). You may also
want to increase work_mem, but it depends on what the DB does, how many
concurrent connections you have etc. pp. maintenance_work_mem may safely
be set rather high - it speeds up vacuum etc. and is only used during
such operations. Also look for effective_cache_size and max_fsm_pages.

BTW: What version are you going to use?

Tino.

--
"What we nourish flourishes." - "Was wir nähren erblüht."

www.craniosacralzentrum.de
www.forteego.de

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

Предыдущее
От: "Rafael Domiciano"
Дата:
Сообщение: Configuring Shared Buffers
Следующее
От: "Rafael Domiciano"
Дата:
Сообщение: Re: Configuring Shared Buffers