Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q1A67-0006kH-0F for pgsql-general@arkaria.postgresql.org; Mon, 22 May 2023 18:17:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1q1A65-0006Ff-1x for pgsql-general@arkaria.postgresql.org; Mon, 22 May 2023 18:17:29 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q1A64-0006CW-NF for pgsql-general@lists.postgresql.org; Mon, 22 May 2023 18:17:28 +0000 Received: from smtp99.ord1d.emailsrvr.com ([184.106.54.99]) by makus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1q1A61-001FkD-QE for pgsql-general@lists.postgresql.org; Mon, 22 May 2023 18:17:27 +0000 X-Auth-ID: xof@thebuild.com Received: by smtp21.relay.ord1d.emailsrvr.com (Authenticated sender: xof-AT-thebuild.com) with ESMTPSA id CE7A36012A; Mon, 22 May 2023 14:17:23 -0400 (EDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\)) Subject: Re: Would PostgreSQL 16 native transparent data encryption support database level encryption? From: Christophe Pettus In-Reply-To: Date: Mon, 22 May 2023 11:16:20 -0700 Cc: "pgsql-generallists.postgresql.org" Content-Transfer-Encoding: quoted-printable Message-Id: <78CFAEC1-8D31-4CF6-AAFE-AE6C34AD0F42@thebuild.com> References: <08c133e0-b136-ff80-886e-b0d4f621c75c@gmail.com> <1d0735cf-b5dd-1c05-d03a-9b52ee2cc5bb@gmail.com> <5d617fb4-a2de-f6a2-f0d3-8a068ac4d83f@aklaver.com> To: Tony Xu X-Mailer: Apple Mail (2.3608.120.23.2.7) X-Classification-ID: 51e912b4-8d64-4880-97ef-abb25a0ca16e-1-1 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On May 22, 2023, at 11:02, Tony Xu wrote: > there are still some shared area between clusters. That's not quite right. A PostgreSQL cluster (in the traditional sense, = which means one PostgreSQL server handling a particular endpoint) is = isolated from any other clusters on the same machine. If the individual = clusters have their own underlying volumes, those can be encrypted = independently of any other cluster. This is not quite as elegant as = each database in a cluster having its own encryption key, but it does = have the advantage that it can be deployed right now. A single cluster does have shared areas between databases, and those are = not trivial: The global system catalogs, the write-ahead log, and the = commit log, just for a start. The global system catalogs include users = and roles. The effort required to split those up is very significant. And, to be somewhat blunt, is Rubrik prepared to pay for it? This = engineering effort needs to be funded by someone, since engineers have = to eat. This is not to say that any feature someone is willing to pay = for will make it into PostgreSQL, but an effort of this size, to have = any hope of reaching the point of being accepted, will need someone to = pay the salaries of the people working on it. Best, -- Christophe=