Re: Tuning 9.3 for 32 GB RAM - Mailing list pgsql-general

From Zev Benjamin
Subject Re: Tuning 9.3 for 32 GB RAM
Date
Msg-id 5284FAA9.5010608@strangersgate.com
Whole thread Raw
In response to Re: Tuning 9.3 for 32 GB RAM  (Alexander Farber <alexander.farber@gmail.com>)
List pgsql-general
On 11/14/2013 10:09 AM, Alexander Farber wrote:
> pgtune has produced the following for my server (the specs:
> http://www.hetzner.de/en/hosting/produkte_rootserver/px60ssd ):
>
> default_statistics_target = 50
> maintenance_work_mem = 1GB
> constraint_exclusion = on
> checkpoint_completion_target = 0.9
> effective_cache_size = 22GB
> work_mem = 192MB
> wal_buffers = 8MB
> checkpoint_segments = 16
> shared_buffers = 7680MB
> max_connections = 80
>
> Is it really okay? Isn't 22GB too high?
> And how does it know that max_connections =80 is enough in my case? (I
> use pgbouncer).

It doesn't.  There is a static map between the "type" (the -T option)
pgtune is using and the max_connections value it sets.  You should
consider the output of pgtune as a guideline rather than "optimal settings."


Zev

>
> Regards
> Alex
>
>
>
>
>
>
> On Thu, Nov 14, 2013 at 4:04 PM, Alexander Farber
> <alexander.farber@gmail.com <mailto:alexander.farber@gmail.com>> wrote:
>
>     And pgtune is 4 years old...
>
>
>


pgsql-general by date:

Previous
From: Vincent Veyron
Date:
Subject: Mixed locales and date formatting
Next
From: Adrian Klaver
Date:
Subject: Re: Mixed locales and date formatting