Re: Enquiry about TDE with PgSQL

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Bruce Momjian <bruce(at)momjian(dot)us>, Kai Wagner <kai(dot)wagner(at)percona(dot)com>
Cc: Chris Travers <chris(dot)travers(at)gmail(dot)com>, Christophe Pettus <xof(at)thebuild(dot)com>, "Clay Jackson (cjackson)" <Clay(dot)Jackson(at)quest(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>, Ron Johnson <ronljohnsonjr(at)gmail(dot)com>
Subject: Re: Enquiry about TDE with PgSQL
Date: 2025-11-03 18:42:06
Message-ID: bb3db67c53fc1c58ba1fae740b52cb7450fbcab3.camel@cybertec.at
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, 2025-11-03 at 11:56 -0500, Bruce Momjian wrote:
> The problem with the Percona extension is it seems like it was developed
> mostly/all by Percona employees, meaning development was driven/steered
> by Percona, and there was insufficient feedback from the community for
> it to be polished enough to be a general community solution.

Reading a Percona blog, it looks like you need a modified server to get
to encrypt WAL, and they probably have no support for encrypting
temporary files. So I'd say that TDE can probably not be a pure extension.
Perhaps somebody from Percona can confirm.

But I don't think it's a shortage of implementations for TDE that is the
problem.

Since you say that encrypting the temp files is the biggest hurdle for
community acceptance, what about a first version that does not encrypt
temp files? For one, that will be good for encrypted backups (which is
one of the good use cases for TDE), and then you could argue that temp
files are not data *at rest*, so data-at-rest-encryption does not apply
to them. Rome wasn't built in a day, and neither were parallel query
or declarative partitioning.

Yours,
Laurenz Albe

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2025-11-03 18:46:30 Re: Enquiry about TDE with PgSQL
Previous Message Laurenz Albe 2025-11-03 18:30:01 Re: Enquiry about TDE with PgSQL