Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vozwp-0003fA-If for pgsql-performance@arkaria.postgresql.org; Fri, 06 Dec 2013 18:16:19 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Vozwp-0004Ju-2T for pgsql-performance@arkaria.postgresql.org; Fri, 06 Dec 2013 18:16:19 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vozwo-0004Jo-1O for pgsql-performance@postgresql.org; Fri, 06 Dec 2013 18:16:18 +0000 Received: from mail.simkin.ca ([72.51.27.125]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vozwl-00045Q-7W for pgsql-performance@postgresql.org; Fri, 06 Dec 2013 18:16:17 +0000 Received: from vpn.reinvent.com (vpn.reinvent.com [72.51.27.50]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.simkin.ca (Postfix) with ESMTPSA id E1ED2270328 for ; Fri, 6 Dec 2013 10:16:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=simkin.ca; s=default; t=1386353773; bh=yM6JBKbiIuGdeH2U2Ukw7bR1Zto7V3JKbtB5x3KBASg=; h=From:To:Subject:Date:In-Reply-To:References; b=VzuXSY5of853Kphwo8MQUjhuS9X/tTXOVSNwyewemGWbFVIXbrYSVnBMrFsF58Hf/ 1tuC/nwLPRhDGlqpvXpBZA0EwdVyVbMTkyFIO3ogo6/6gImM0TFjn9DdTfMsaI0hWp W9k0w0KbOmz0+xoX++ZIZ5dWolnQVHf+wD0mf4AE= From: Alan Hodgson To: pgsql-performance@postgresql.org Subject: Re: postgres performance Date: Fri, 06 Dec 2013 10:16:03 -0800 Message-ID: <3689509.Q27PSGIt0i@skynet.simkin.ca> User-Agent: KMail/4.10.5 (Linux/3.10.17-gentoo; KDE/4.10.5; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Pg-Spam-Score: 0.5 (/) 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 Friday, December 06, 2013 11:06:58 PM chidamparam muthusamy wrote: > hi, > Registered with PostgreSQL Help Forum to identify and resolve the Postgres > DB performance issue, received suggestions but could not improve the > speed/response time. Please help. > > Details: > Postgres Version 9.3.1 > Server configuration: > Processor: 2 x Intel Quad core E5620 @ 2.40GHz > RAM: 16 GB > > Postgres configuration: > Effective cache size = 10 GB > shared Buffer = 1250 MB > random page cost = 4 > > Table size = 60 GB > Number of records = 44 million > Carried out Vacuum Analyze after inserting new records and also after > creating Index, > 6 months data, every month around 10 GB will get added. Expecting good > performance with 3 years data. > DB Will be used for Reporting/Read, will not be used for transaction. Daily > records will be inserted through bulk insertion every day. Suggestions: Partition by month. Add many more disks, in RAID-10. or move to SSD. Add a lot more RAM. -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance