Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XthSt-0001aY-BN for pgsql-general@arkaria.postgresql.org; Wed, 26 Nov 2014 18:37:23 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XthSs-00045v-SP for pgsql-general@arkaria.postgresql.org; Wed, 26 Nov 2014 18:37:22 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XthSr-00045P-Mx for pgsql-general@postgresql.org; Wed, 26 Nov 2014 18:37:21 +0000 Received: from tamriel.snowman.net ([2001:4830:167b::11]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XthSo-0002Ei-7S for pgsql-general@postgresql.org; Wed, 26 Nov 2014 18:37:19 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id A47AF5FB3E; Wed, 26 Nov 2014 13:37:17 -0500 (EST) Date: Wed, 26 Nov 2014 13:37:17 -0500 From: Stephen Frost To: Suzuki Hironobu Cc: pgsql-general@postgresql.org Subject: Re: Active/Active clustering in postgres Message-ID: <20141126183717.GF28859@tamriel.snowman.net> References: <54760BD4.1020000@hogranch.com> <54761B2B.9060708@interdb.jp> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hI0qOZ2GL3370DIZ" Content-Disposition: inline In-Reply-To: <54761B2B.9060708@interdb.jp> X-Editor: Vim http://www.vim.org/ X-Info: http://www.snowman.net X-Operating-System: Linux/3.11.0-19-generic (x86_64) X-Uptime: 13:32:03 up 232 days, 4:51, 8 users, load average: 0.48, 0.28, 0.20 User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org --hI0qOZ2GL3370DIZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Suzuki Hironobu (hironobu@interdb.jp) wrote: > (2014/11/27 2:20), John R Pierce wrote: > >On 11/26/2014 2:36 AM, Postgres India wrote: > >>I am looking for PostgreSQL active/active clustering and whether > >>PostgreSQL support any form of shared-storage clustering . Is there > >>any methods or tools for implementing active/active clustering on > >>Postgres supported by community or any third party tools. > > > >you might look into PostgreSQL-XC and -XL (-XL is a fork of -XC). both > >of these are multi-master clusters based on postgres. >=20 > In addition, XC and XL are shared-nothing DB clusters. >=20 > I think that there is no multi-master shared-storage DB cluster > based on PostgreSQL. I'm not aware of any. It would require the equivilant of the distributed lock management which exists in RAC (and is also what makes RAC limited in its ability to scale..). Note that applications which are written to use RAC are likely easier to migrate to shared-nothing sharded database systems since they would have already had to deal with the complications associated with determining which node to send writes to. If your application isn't doing that then you're very unlikely to be using RAC in a performant manner (as it relates to write-load distribution, specifically) and would operate just fine with a single master and slave replicas, with appropriate systems in place to handle failover. Thanks, Stephen --hI0qOZ2GL3370DIZ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJUdh3dAAoJEO1sijiDR2RVsv8P/2eecvaqkfgIx01p3OI8j2Wt cZCymt9bFwWTXGSsUI/ap5SmWtsvhxXV5Rdjt2PEALAWS6Qm1YzFSh8zvO4R62Jr gQ3CrHW6eSfF2U9c6Q/XvAGSiZ/EhkEYu464NbkNWqWjPvpQaThtvL5E7vI+6+ZF /onKtSNUTao9zpXd8RiXg8kgulmz9JdXtVWvyXn4T53T1IziJPM8akfhnA86iEQd mQ9fkGWDbsb//RgvGHRnNqnhubflU2AvUeHQZ1IRZtRdXUjIDhvV7JYJ4UbOEfaC 65iCM14NA4kVnn0T3GoPJ3H+8GBVSLnPA/xvKgrM86NzB8q2QZVvDdBtibE+x60M FO2dVQtcTLYZNqdrQLKR0e/6fR+M8gjtO3BYCTMPxVWahSp9iFvVgC1kJvOln9OL QpTOSHxEUZMFo6ONOGqw+w5joI8VNnR1Vx8oWwjvjOqi/eOoaRYN3w6Og6wUbtkN 1n77BNtcAlGrC3IacAwHOHlOCAg4r5/9r+toAAvSS+WAVtP6iLQH+1fYkbFaC+F4 lDwsgxyjTQnYpsmmcPxdhuvBFDIAMwEI3S/kABL/yfLykaiTRF3JvcoflAne83sB ox7bbemJ3O7gq/hi7PyDSSO+XpnWo2fy82E3qHcbemOPyXgJwm69MeLRLos0OPIg rBW3tsbQ1JzRUsQnsxel =oEtB -----END PGP SIGNATURE----- --hI0qOZ2GL3370DIZ--