Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 97A5C1337B2F for ; Fri, 17 Dec 2010 06:48:50 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 64934-07 for ; Fri, 17 Dec 2010 10:48:44 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mail.postgresql.org (Postfix) with ESMTP id 562CD133655C for ; Fri, 17 Dec 2010 06:48:43 -0400 (AST) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.69) (envelope-from ) id 1PTXre-00058X-Nq for pgsql-performance@postgresql.org; Fri, 17 Dec 2010 02:48:42 -0800 Date: Fri, 17 Dec 2010 02:48:42 -0800 (PST) From: selvi88 To: pgsql-performance@postgresql.org Message-ID: <1292582922732-3309251.post@n5.nabble.com> In-Reply-To: References: <1292502787617-3307846.post@n5.nabble.com> Subject: Re: postgres performance tunning MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.767 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, T_TO_NO_BRKTS_FREEMAIL=0.01, URI_HEX=1.122 X-Spam-Level: X-Archive-Number: 201012/243 X-Sequence-Number: 41695 My requirement is more than 15 thousand queries will run, It will be 5000 updates and 5000 insert and rest will be select. Each query will be executed in each psql client, (let say for 15000 queries 15000 thousand psql connections will be made). Since the connections are more for me the performance is low, I have tested it with pgbench tool. Configurations, RAM : 17.9GB CPU : 64-bit 2 cores each 5346 bogomips Postgres Configurations, Shared Memory Required (shmmax) : 1720320000 bytes Wal Buffers : 1024KB Maintenance work mem : 1024MB Effective Cache Size : 9216MB Work Memory : 32MB Shared Buffer : 1536MB -- View this message in context: http://postgresql.1045698.n5.nabble.com/postgres-performance-tunning-tp3307846p3309251.html Sent from the PostgreSQL - performance mailing list archive at Nabble.com.