Re: Enquiry about TDE with PgSQL

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Kai Wagner <kai(dot)wagner(at)percona(dot)com>, 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-04 05:40:26
Message-ID: b5efc1949fdba81576bcf53e3b44e626a2c582de.camel@cybertec.at
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, 2025-11-03 at 21:05 -0500, Bruce Momjian wrote:
> On Mon, Nov 3, 2025 at 07:42:06PM +0100, Laurenz Albe wrote:
>
> > 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.
>
> Uh, people will say that if the solution is not 100% secure in its
> coverage, it is much less useful and therefore not worth it.

Some people will doubtless say that. Others will consider the checkbox
requirement satisfied and use it. Yet others will consider a mislaid
backup their biggest problem and will consider TDE a technically useful
solution.

9.6, which introduced parallel query, only supported it for sequential
scans, which was much less useful than what we have today. I for one
wouldn't consider an implementation of TDE with some features missing
"not worth it". If anything, I consider the marginal security improvement
that TDE as a whole provides not worth it. But I am sold on the claim
that having TDE would promote the adoption of PostgreSQL.  

I am curious what others think.

Yours,
Laurenz Albe

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Álvaro Herrera 2025-11-04 12:12:07 Re: Enquiry about TDE with PgSQL
Previous Message Adrian Klaver 2025-11-04 05:23:33 Re: Enquiry about TDE with PgSQL