This is the multi-page printable view of this section.
Blog
This is the Percona pg_tde 2.3.0 manual. For the paired build, backup tools and major upgrades, see PG TDE on Mimus.
Release notes, architecture explainers, and operational guidance derived from the pg_tde documentation.
1 - Release notes
This is the Percona pg_tde 2.3.0 manual. For the paired build, backup tools and major upgrades, see PG TDE on Mimus.
Version announcements and focused upgrade notes for pg_tde.
1.1 - pg_tde 2.2.2: Vault Enterprise KMIP and faster WAL encryption
This is the Percona pg_tde 2.3.0 manual. For the paired build, backup tools and major upgrades, see PG TDE on Mimus.
An editorial reading note by PGSTY, based on the upstream documentation.
pg_tde 2.2.2 focuses on two operator-facing changes: KMIP support for HashiCorp Vault Enterprise and better WAL encryption performance.
The upstream release notes state that pg_tde 2.2.2 is incompatible with Percona Distribution for PostgreSQL versions older than 17.10.2 or 18.4.2.
What changed
- Add support for HashiCorp Vault Enterprise through KMIP. Vault Enterprise was already supported through the Vault V2 protocol.
- Improve WAL encryption performance.
- Fix empty certificate parameters passed to
pg_tde_add_global_key_provider_kmip()andpg_tde_add_database_key_provider_kmip(). - Fix a Vault provider race after a process fork.
- Fix WAL archiving with
pg_tde_archive_decryptandpg_tde_restore_encryptwhenpg_walis a symlink. - Include frontend tool fixes from PostgreSQL 16.15, 17.11, and 18.5.
Before you upgrade
- Confirm the Percona PostgreSQL package version is compatible.
- Review the key provider configuration and ensure the server can read existing principal keys.
- Test WAL archive and restore in a disposable environment.
- Keep the backup and WAL encryption procedure with the change record.
For the complete upstream changelog, read the pg_tde 2.2.2 release note.
1.2 - pg_tde 2.2.1: PostgreSQL 16 support and safer rewind
This is the Percona pg_tde 2.3.0 manual. For the paired build, backup tools and major upgrades, see PG TDE on Mimus.
An editorial reading note by PGSTY, based on the upstream documentation.
pg_tde 2.2.1 is a compatibility and reliability release.
Highlights
- Add PostgreSQL 16 support.
- Improve
pg_rewindbehavior for pg_tde clusters. - Fix the
could not find server principal keyerror frompg_tde_basebackup. - Build pg_tde with Meson; the upstream release no longer supports building it with
make.
Upgrade checks
Before upgrading, verify that the target Percona PostgreSQL package and the configured provider can read all existing principal keys. Test rewind, recovery, and backup restore in a staging cluster before changing a production primary.
Read the full 2.2.1 release note.
2 - Guides
This is the Percona pg_tde 2.3.0 manual. For the paired build, backup tools and major upgrades, see PG TDE on Mimus.
Short, practical guides for designing and operating pg_tde deployments.
2.1 - A production checklist for pg_tde
This is the Percona pg_tde 2.3.0 manual. For the paired build, backup tools and major upgrades, see PG TDE on Mimus.
An editorial reading note by PGSTY, based on the upstream documentation.
Before enabling encryption, make the key provider and recovery path as concrete as the database configuration.
Checklist
- Confirm the Percona PostgreSQL and pg_tde versions are compatible.
- Load
pg_tdethroughshared_preload_librariesand create the extension in every database that needs it. - Use an external KMS or KMIP-compatible provider for production; keep keyring files for development and testing.
- Create and verify a principal key before creating encrypted tables.
- Test
tde_heapon a new table and on a disposable copy of an existing table. - If WAL encryption is enabled, use the pg_tde-aware archive and restore tools.
- Back up the provider configuration and document how the server obtains historical keys.
- Test restore, replica creation, major upgrade, and provider outage procedures.
- Record which objects are outside the encryption scope, including temporary files and statistics.
Related documentation
2.2 - How pg_tde keeps data encrypted through PostgreSQL storage
This is the Percona pg_tde 2.3.0 manual. For the paired build, backup tools and major upgrades, see PG TDE on Mimus.
An editorial reading note by PGSTY, based on the upstream documentation.
Encryption only helps when it follows the real storage path. pg_tde marks the tables that need encryption with tde_heap, then uses PostgreSQL’s Storage Manager to encrypt pages before they reach disk and decrypt them before they enter the buffer cache.
The two-key hierarchy
Each encrypted data file has an internal key. The principal key protects the internal keys and lives in a key provider. This separation lets pg_tde rotate protection without rewriting every data page immediately.
Where WAL fits
WAL encryption is cluster-wide. The WAL pages use internal keys, and those keys are protected by the server principal key. A WAL reader uses key metadata to decide which records need decryption.
Operator consequence
A table can be readable while its key provider is available and unreadable when the provider or credentials are missing. The key management guide and recovery limits belong in the same runbook as the database configuration.
3 - From the Percona blog
This is the Percona pg_tde 2.3.0 manual. For the paired build, backup tools and major upgrades, see PG TDE on Mimus.
Editorial notes and links to original Percona articles. Read the complete articles at the source.
3.1 - Questions from the PostgreSQL TDE webinar
This is the Percona pg_tde 2.3.0 manual. For the paired build, backup tools and major upgrades, see PG TDE on Mimus.
Original author: Michal Nosek · Published: 2025-08-13 · Source: Percona Blog. Reading note by PGSTY.
The webinar follow-up discusses external key custody, table-level encryption, and the PostgreSQL patches required by pg_tde at the time. It is a useful starting point for separating data encryption from the surrounding access controls and recovery responsibilities.
Read the complete Percona article.
This article reflects its publication date. For current instructions, consult the related documentation and supported versions.
3.2 - The road to the pg_tde release candidate
tde_heap_basic to storage-manager integration and the redesign of WAL encryption. It captures a transition: table encryption was approaching GA, while WAL encryption remained a technology preview.This is the Percona pg_tde 2.3.0 manual. For the paired build, backup tools and major upgrades, see PG TDE on Mimus.
Original author: Jan Wieremjewicz · Published: 2025-03-28 · Source: Percona Blog. Reading note by PGSTY.
The release-candidate announcement explains the move from tde_heap_basic to storage-manager integration and the redesign of WAL encryption. It captures a transition: table encryption was approaching GA, while WAL encryption remained a technology preview.
Read the complete Percona article.
This article reflects its publication date. For current instructions, consult the related documentation and supported versions.
3.3 - An early look at pg_tde
This is the Percona pg_tde 2.3.0 manual. For the paired build, backup tools and major upgrades, see PG TDE on Mimus.
Original author: David Stokes · Published: 2024-01-30 · Source: Percona Blog. Reading note by PGSTY.
This early project update invites testing of an experimental pg_tde and discusses checking whether a table is encrypted. Read it as project history: the access method and SQL interfaces have changed since this prototype.
Read the complete Percona article.
This article reflects its publication date. For current instructions, consult the related documentation and supported versions.