Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TdLeK-0007um-De for pgsql-performance@arkaria.postgresql.org; Tue, 27 Nov 2012 13:56:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TdLeJ-0001oJ-GU for pgsql-performance@arkaria.postgresql.org; Tue, 27 Nov 2012 13:56:31 +0000 Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TdLeH-0001n8-P6 for pgsql-performance@postgresql.org; Tue, 27 Nov 2012 13:56:29 +0000 Received: from relay4-d.mail.gandi.net ([217.70.183.196]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TdLeG-0007eS-C9 for pgsql-performance@postgresql.org; Tue, 27 Nov 2012 13:56:29 +0000 X-Originating-IP: 217.70.178.139 Received: from mfilter10-d.gandi.net (mfilter10-d.gandi.net [217.70.178.139]) by relay4-d.mail.gandi.net (Postfix) with ESMTP id 0F941172094; Tue, 27 Nov 2012 14:56:16 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mfilter10-d.gandi.net Received: from relay4-d.mail.gandi.net ([217.70.183.196]) by mfilter10-d.gandi.net (mfilter10-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id J4Jh9NnCDvKa; Tue, 27 Nov 2012 14:56:14 +0100 (CET) X-Originating-IP: 98.27.58.255 Received: from [192.168.10.146] (cpe-098-027-058-255.nc.res.rr.com [98.27.58.255]) (Authenticated sender: adsend@dunslane.net) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 493C01720B7; Tue, 27 Nov 2012 14:56:14 +0100 (CET) Message-ID: <50B4C67C.1040802@dunslane.net> Date: Tue, 27 Nov 2012 08:56:12 -0500 From: Andrew Dunstan User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120827 Thunderbird/15.0 MIME-Version: 1.0 To: Syed Asif Tanveer CC: pgsql-performance@postgresql.org Subject: Re: Postgres configuration for 8 CPUs, 6 GB RAM References: <000601cdcc73$69f82d70$3de88850$@analytics.com.pk> In-Reply-To: <000601cdcc73$69f82d70$3de88850$@analytics.com.pk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org 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 -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance