Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1jAHle-0004ip-H7 for pgsql-general@arkaria.postgresql.org; Fri, 06 Mar 2020 18:32:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1jAHld-0005jX-BK for pgsql-general@arkaria.postgresql.org; Fri, 06 Mar 2020 18:32:13 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1jAHlc-0005QZ-QT for pgsql-general@lists.postgresql.org; Fri, 06 Mar 2020 18:32:13 +0000 Received: from mail-pl1-x641.google.com ([2607:f8b0:4864:20::641]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jAHlZ-0004PR-Uw for pgsql-general@lists.postgresql.org; Fri, 06 Mar 2020 18:32:11 +0000 Received: by mail-pl1-x641.google.com with SMTP id g6so1212893plt.2 for ; Fri, 06 Mar 2020 10:32:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ardentperf-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:cc:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=ZW6NV5h9vc6/TojbHopfrI5J/3FH1IVY/jRL8x5o5rE=; b=nZpDBTkTAEitbK9ldiGkGGyIvLwm3OW7UlOKtGDrPmOEozC0yykl95sGmY2lESgtfo 7MZXoTag1H19MAHQqrYi96UuEON7ymX2yx/in5phcnQHDdyAOJz/SdOQ11Pogo0yzk+G S4D+DqsJ/jd5Uk4z0Npl+bkcXoW+sqoYPImbHGCfKO1Xg8C2iPAoQzTGN7AeBOrV+WtC enDHI86p812GUUxvvvvwZPOZtXmtAgAiLGaqfd05BVaQtp2j+4q6itQ6+MiiBghKZWOp jQ5BWhb3kY2YU3T3hjH19L28MU0dYFrAP4/CTHKmsunX5orqbmSuKVE2iRD/9qVx92Q5 xPUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:cc:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ZW6NV5h9vc6/TojbHopfrI5J/3FH1IVY/jRL8x5o5rE=; b=g+UvHzJFH9fYKqlJa0j+MI07B2L4zrAEH55EkwHygGIJwv//lDOcPYxOOPmXiv9Gui BBocRKbwaKEDmVK7x8S1vrPotnpFd7OAvQmi3sdog7T1j1MlIyp2lO1IPQ0TNjRiHSCk b+xCPRWMRRPV47AxzAsRqslJ6tFWTT3JUc/hkoozxieKCYuAT5z1SR7H6NkIukQd4KWV Gdb1xke0D019b8Cxg1j8rmxCTEiGHpbbqVTx+s3M5A72EWCE+zWE9jr3hlv9V2Y2wXCI E42rOaJNOGscfPcdofkS6oOTIFp+FVmpzsfwIya2b3hGUXH4D7I+dYwR4WS1UpcY0e0b 74AA== X-Gm-Message-State: ANhLgQ1jTp7vMnPcNvFs4GEZWvMF7pyGeuiBAfjfv4tKoPHmQDZHq8TZ hjyymZF/k6HY9bOIEFUnWPotsw== X-Google-Smtp-Source: ADFU+vtI6gLPQkYvCCS3cTTZpYJRdtT72/0/Vf5WTeEwNkCgpVIDW6K9f681DZGR6iAHrML4AcAvIg== X-Received: by 2002:a17:90a:f48c:: with SMTP id bx12mr4845645pjb.184.1583519528695; Fri, 06 Mar 2020 10:32:08 -0800 (PST) Received: from 186590ce269b.ant.amazon.com (54-240-196-184.amazon.com. [54.240.196.184]) by smtp.gmail.com with ESMTPSA id m9sm3108478pga.92.2020.03.06.10.32.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 06 Mar 2020 10:32:08 -0800 (PST) Subject: Re: Real application clustering in postgres. To: Ron , pgsql-general@lists.postgresql.org References: <1aa5a345543ea85b3e0e7d3021ed6b1cdc04e66c.camel@cybertec.at> From: Jeremy Schneider Cc: Daulat Ram , Laurenz Albe Message-ID: <89db5a96-9fc3-3ea9-bdc2-6cb2caaddbb0@ardentperf.com> Date: Fri, 6 Mar 2020 10:32:07 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 3/6/20 01:25, Ron wrote: > On 3/5/20 6:07 AM, Laurenz Albe wrote: >> On Thu, 2020-03-05 at 07:45 +0000, Daulat Ram wrote: >>> Is there any possibility/options to setup a real application clustering in Postgres as in Oracle we have a RAC feature. >> No, and as far as I know nobody feels interested in providing it. >> >> RAC is a complicated architecture that doesn't do much good, so most >> people feel that it would be a waste of time and effort. >> >> RAC ist not really a scaling solution: because of the shared storage, >> you can only scale for more CPUs; I/O remains the bottleneck. >> RAC is not really a high availability solution: because of the shared >> storage, it has a sibgle point of failure. > > This is utter nonsense.  Dual redundant storage controllers connected to > disks in RAID-10 configurations have been around for *at least* 25 years. > > Oracle got it's clustering technology from DEC, and I *know* that > works.  Cluster members, storage controllers and disks have all gone > down, while the database and application keep on humming along. Just want to point out that while the merits of RAC are considered as universal truth in the Oracle marketing community, they are certainly still debated and nuanced within the Oracle technical community. Some great reading would be Mogens Norgaard's article "You Probably Don't Need RAC" from 2003 (which is surprisingly hard to find on the internet) and much of the ensuing discussion between then and now, for example this recent message over on the oracle-l list: https://www.freelists.org/post/oracle-l/Chuckleworthy-issue-of-the-NoCOUG-Journal,1 For my part, I spent many years running RAC clusters and solving the usual handful of problems you bump into, and I definitely have a strong bias now toward as simple of architectures as possible. Regardless of which parties participate in your operations, and regardless of who owns the data center where your stack is running. Note that I apply this to all the new databases as well. I enjoy and appreciate the opportunities I've had to work on some really interesting new technology - but I also still see merit in simple, boring, mature, well-understood architectures if they are doing the job. Complexity will find us all soon enough driven by true business needs without being helped by the pursuit of shiny things! It seemed to me there was a major and well-funded effort to market and sell cluster databases for many years, and as a result I suspect that while there are certainly some good use cases, there are probably also some people using RAC today who would do fine (or better) without it. Seems I even touched on this all the way back in 2007 in an article on my own blog... https://ardentperf.com/2007/05/10/fidelity-case-study/ -Jeremy -- http://about.me/jeremy_schneider