Re: Postgres configuration for 8 CPUs, 6 GB RAM

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Syed Asif Tanveer <asif(dot)tanveer(at)analytics(dot)com(dot)pk>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Postgres configuration for 8 CPUs, 6 GB RAM
Date: 2012-11-27 13:56:12
Message-ID: 50B4C67C.1040802@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance


On 11/27/2012 02:47 AM, Syed Asif Tanveer wrote:
>
> Hi,
>
> I am using PostgreSQL 9.1.5 for Data warehousing and OLAP puposes.
> Data size is around 100 GB and I have tuned my PostgreSQL accordingly
> still I am facing performance issues. The query performance is too low
> despite tables being properly indexed and are vacuumed and analyzed at
> regular basis. CPU usage never exceeded 15% even at peak usage times.
> Kindly guide me through if there are any mistakes in setting
> configuration parameters. Below are my system specs and please find
> attached my postgresql configuration parameters for current system.
>
>

There is at least anecdotal evidence that Windows servers degrade when
shared_buffers is set above 512Mb. Personally, I would not recommend
using Windows for a high performance server.

Also, it makes no sense to have a lower setting for maintenance_work_mem
than for work_mem. You would normally expect maintenance_work_mem to be
higher - sometimes much higher.

Apart from that, it's going to be impossible to tell what your problem
is without seeing actual slow running queries and their corresponding
explain analyse output.

cheers

andrew

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Scott Marlowe 2012-11-27 19:53:45 Re: Postgres configuration for 8 CPUs, 6 GB RAM
Previous Message Heikki Linnakangas 2012-11-27 13:43:39 Re: Postgres configuration for 8 CPUs, 6 GB RAM