Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VF3q2-0002xP-K7 for pgsql-performance@arkaria.postgresql.org; Thu, 29 Aug 2013 15:08:46 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VF3q1-0001iM-UD for pgsql-performance@arkaria.postgresql.org; Thu, 29 Aug 2013 15:08:45 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VF3q0-0001fu-15 for pgsql-performance@postgresql.org; Thu, 29 Aug 2013 15:08:44 +0000 Received: from lists.commandprompt.com ([69.168.55.30]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VF3pt-0008TS-3P for pgsql-performance@postgresql.org; Thu, 29 Aug 2013 15:08:42 +0000 Received: from [192.168.1.5] (spinlock.commandprompt.com [69.168.55.30]) by lists.commandprompt.com (Postfix) with ESMTPA id 99DB42B3; Thu, 29 Aug 2013 08:08:35 -0700 (PDT) Received: from [192.168.1.5] ([75.142.30.85] helo=[192.168.1.5]) by assp.commandprompt.com with ESMTPS(AES256-SHA) (2.1.1); 29 Aug 2013 08:08:35 -0700 Message-ID: <521F63DD.3050301@commandprompt.com> Date: Thu, 29 Aug 2013 08:08:13 -0700 From: "Joshua D. Drake" Organization: Command Prompt, Inc. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130803 Thunderbird/17.0.8 MIME-Version: 1.0 To: Richard Huxton CC: bsreejithin , pgsql-performance@postgresql.org Subject: Re: How clustering for scale out works in PostgreSQL References: <1377778443804-5768917.post@n5.nabble.com> <521F61B9.1000709@archonet.com> In-Reply-To: <521F61B9.1000709@archonet.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Assp-Version: 2.1.1(11364) on assp.commandprompt.com X-Assp-Client-SSL: yes X-Assp-ID: assp.commandprompt.com m1-88915-02369 X-Assp-Envelope-From: jd@commandprompt.com X-Assp-Intended-For: dev@archonet.com X-Assp-Original-Subject: Re: [PERFORM] How clustering for scale out works in PostgreSQL X-Pg-Spam-Score: -2.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 08/29/2013 07:59 AM, Richard Huxton wrote: > > On 29/08/13 13:14, bsreejithin wrote: >> >> I am *expecting 1000+ hits to my PostgreSQL DB* and I doubt my >> standalone DB >> will be able to handle it. We are going to need a little more detail here. In a normal environment 1000+ "hits" isn't that much, even if the hit is generating a dozen queries per page. A more appropriate action would be to consider the amount of transaction per second and the type of queries the machine will be doing. You will want to look into replication, hot standby as well as read only scaling with pgpool-II. > > OMG! 1000 hits every year! And "hits" too - not just any type of > query!!!! :-) > > Seriously, if you try describing your setup, what queries make up your > "hits" and what you mean by 1000 then there are people on this list who > can tell you what sort of setup you'll need. > > While you're away googling though, "replication" is indeed the term you > want. In particular "hot standby" which lets you run read-only queries > on the replicas. Sarcasm with new recruits to the community is not the way to go. JD -- Command Prompt, Inc. - http://www.commandprompt.com/ 509-416-6579 PostgreSQL Support, Training, Professional Services and Development High Availability, Oracle Conversion, Postgres-XC, @cmdpromptinc For my dreams of your image that blossoms a rose in the deeps of my heart. - W.B. Yeats -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance