Description
pg_tde is a PostgreSQL extension that provides Transparent Data Encryption, which protects data at rest by encrypting files at the file level. The encryption is transparent to users, so applications and users can read and change the data as usual. The extension provides a tde_heap access method, which encrypts tuples, WAL and indexes. It works only with Percona Server for PostgreSQL 17 or 18, and it uses extended Storage Manager and WAL APIs. The README notes that temporary files and statistics are not encrypted yet. The extension supports a keyring file and external key management systems through a Global Key Provider interface. Percona provides binary packages for pg_tde only for Percona Server for PostgreSQL, and the documentation explains how to install or build it from source. The README covers running it in Docker, setting it up, including key providers and creating encrypted tables, and listing downloads. The project is public on GitHub under the percona organization. It suits database operators who need encryption at rest for PostgreSQL data on Percona Server.…
Highlights
- Transparent data encryption at rest
- tde_heap access method
- Keyring file and external KMS support
- Works with Percona Server for PostgreSQL 17 and 18
Ratings & Reviews
No ratings yet
Be the first to rate PG Tde.
People also visit
MyDiamo
MyDiamo is a leading open source DBMS encryption solution for MySQL, MariaDB
PG Tde FAQ
What does pg_tde do?
It encrypts PostgreSQL data at rest, using a tde_heap access method, so the data is encrypted without changes to how you query it.
Which PostgreSQL version does it need?
Percona Server for PostgreSQL 17 or 18, according to the README.
What is not encrypted?
Temporary files and statistics are not encrypted yet, according to the README.
Where do I get it?
Percona provides binary packages for Percona Server for PostgreSQL, and the documentation explains how to build it from source.
What are the best PG Tde alternatives?
Popular alternatives to PG Tde include Pgmoneta, Stack and PG Probackup. See all PG Tde alternatives


