Re: Enquiry about TDE with PgSQL

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Enquiry about TDE with PgSQL
Дата
Msg-id aQlfgmZO9seHsmMx@momjian.us
обсуждение исходный текст
Ответ на Re: Enquiry about TDE with PgSQL  (Laurenz Albe <laurenz.albe@cybertec.at>)
Ответы Re: Enquiry about TDE with PgSQL
Re: Enquiry about TDE with PgSQL
RE: Enquiry about TDE with PgSQL
Список pgsql-general
On Mon, Nov  3, 2025 at 07:42:06PM +0100, Laurenz Albe wrote:
> 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.

Yes, the server has to be modified because the hooks they need don't
exist in the community source code.  They also have encryption control
on the table level, which I frankly think will never work long-term
because the storage API doesn't have enough table-level detail, so I
think they are considering tablespace-level or cluster-level encryption.

> 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.

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.

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

  Do not let urgent matters crowd out time for investment in the future.



В списке pgsql-general по дате отправления: