public inbox for [email protected]  
help / color / mirror / Atom feed
From: Christophe Pettus <[email protected]>
To: Sarkar, Subhadeep <[email protected]>
Cc: [email protected] <[email protected]>
Cc: Sur, Sanjay <[email protected]>
Subject: Re: PostgreSQL Active-Active Clustering
Date: Mon, 15 Jul 2024 12:28:14 -0700
Message-ID: <[email protected]> (raw)
In-Reply-To: <PN0PR01MB90693B1DF528D64769D81B91C5A12@PN0PR01MB9069.INDPRD01.PROD.OUTLOOK.COM>
References: <PN0PR01MB9069922B90966633C8183C5AC5A12@PN0PR01MB9069.INDPRD01.PROD.OUTLOOK.COM>
	<PN0PR01MB90693B1DF528D64769D81B91C5A12@PN0PR01MB9069.INDPRD01.PROD.OUTLOOK.COM>



> On Jul 15, 2024, at 12:06, Sarkar, Subhadeep <[email protected]> wrote:
> 
>   • Does the Community edition of PostgreSQL provide NATIVE active-active high availability clustering with objectives of scalability, load balancing and high availability without using any extensions or external components or usage of Kubernetes/Dockers. 
> 
>   • In the Community edition of PostgreSQL is it possible to setup a database cluster in load balancing mode and provide vertical and horizontal scalability without repartitioning or changes to the database objects or 3rd party transaction routing mechanisms using NATIVE features only (i.e. without using any extensions or external components or usage of Kubernetes/Dockers).
> 
>   • In the Community edition of PostgreSQL is it possible to setup  a cluster where all the nodes are able to concurrently read-write the underlying database image using NATIVE features (i.e. without using any extensions or external components or usage of Kubernetes/Dockers).

Short answer: No.

The community version of PostgreSQL, without any extensions beyond what is available in the core distribution, supports none of these.  I will offer that your client is not being realistic if these are their requirements, and they expect them to be fulfilled by the core distribution of any open-source database.

There are commercial extensions to PostgreSQL that provide the first, but PostgreSQL does not do so out of the box.  It is possible, now, to build this on top of community PostgreSQL with logical replication, but there is notable development work involved, and you cannot just drop an existing database into PostgreSQL and expect this to work.  In any event, you will need to make sure the schema is compatible with an active-active model.

For the second, you can explore open-source projects such as Citus, but some attention to the schema and queries will be required. 

No product, either commercial or open-source, provides the last one (read-write shared storage), although there are commercial products that provide for a shared-storage model single-writer, multiple-reader model (for example, Amazon Aurora).





view thread (5+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected]
  Subject: Re: PostgreSQL Active-Active Clustering
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox