Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TdLRy-0007hO-PX for pgsql-performance@arkaria.postgresql.org; Tue, 27 Nov 2012 13:43:46 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TdLRx-0000og-NP for pgsql-performance@arkaria.postgresql.org; Tue, 27 Nov 2012 13:43:45 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TdLRw-0000nk-B8 for pgsql-performance@postgresql.org; Tue, 27 Nov 2012 13:43:44 +0000 Received: from smtp-outbound-1.vmware.com ([208.91.2.12]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TdLRt-0001Z4-Ir for pgsql-performance@postgresql.org; Tue, 27 Nov 2012 13:43:44 +0000 Received: from sc9-mailhost2.vmware.com (sc9-mailhost2.vmware.com [10.113.161.72]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id 348BF2820D; Tue, 27 Nov 2012 05:43:38 -0800 (PST) Received: from zcs-prod-ext-mta-2.vmware.com (zcs-prod-ext-mta-2.vmware.com [10.113.62.224]) by sc9-mailhost2.vmware.com (Postfix) with ESMTP id 31E84B0392; Tue, 27 Nov 2012 05:43:38 -0800 (PST) Received: from localhost (localhost.localdomain [127.0.0.1]) by zcs-prod-ext-mta-2.vmware.com (Postfix) with ESMTP id 0E968C1A0F; Tue, 27 Nov 2012 05:43:38 -0800 (PST) X-Virus-Scanned: amavisd-new at zcs-prod-ext-mta-2.vmware.com Received: from zcs-prod-ext-mta-2.vmware.com ([127.0.0.1]) by localhost (zcs-prod-ext-mta-2.vmware.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id aENRuNTHrlJF; Tue, 27 Nov 2012 05:43:37 -0800 (PST) Received: from [192.168.1.90] (unknown [10.113.62.14]) by zcs-prod-ext-mta-2.vmware.com (Postfix) with ESMTPSA id 543DDC19F5; Tue, 27 Nov 2012 05:43:37 -0800 (PST) Message-ID: <50B4C38B.9060409@vmware.com> Date: Tue, 27 Nov 2012 15:43:39 +0200 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.10) Gecko/20121027 Icedove/10.0.10 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: -7.3 (-------) 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 27.11.2012 09:47, Syed Asif Tanveer wrote: > 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. The configuration looks OK to me at a quick glance. I'd suggest looking at the access plans of the queries that are too slow (ie. EXPLAIN ANALYZE). How low is "too low", and how fast do the queries need to be? What kind of an I/O system does the server have? See also https://wiki.postgresql.org/wiki/Slow_Query_Questions - Heikki -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance