Skip to content

This is the multi-page printable view of this section.

Return to the regular view of this page

Blog

Release notes, architecture notes, and operational guidance 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.

Release notes, architecture explainers, and operational guidance derived from the pg_tde documentation.

PG.CENTER edition · Upstream source

1 - Release notes

Version announcements and focused upgrade notes 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.

Version announcements and focused upgrade notes for pg_tde.

PG.CENTER edition · Upstream source

1.1 - pg_tde 2.2.2: Vault Enterprise KMIP and faster WAL encryption

What changed in pg_tde 2.2.2, which Percona PostgreSQL versions are compatible, and what operators should check before upgrading.

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.

Warning

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() and pg_tde_add_database_key_provider_kmip().
  • Fix a Vault provider race after a process fork.
  • Fix WAL archiving with pg_tde_archive_decrypt and pg_tde_restore_encrypt when pg_wal is a symlink.
  • Include frontend tool fixes from PostgreSQL 16.15, 17.11, and 18.5.

Before you upgrade

  1. Confirm the Percona PostgreSQL package version is compatible.
  2. Review the key provider configuration and ensure the server can read existing principal keys.
  3. Test WAL archive and restore in a disposable environment.
  4. 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.

PG.CENTER edition · Upstream source

1.2 - pg_tde 2.2.1: PostgreSQL 16 support and safer rewind

The compatibility and reliability changes in pg_tde 2.2.1, with upgrade checks for operators.

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_rewind behavior for pg_tde clusters.
  • Fix the could not find server principal key error from pg_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.

PG.CENTER edition · Upstream source

2 - Guides

Short, practical guides for designing and operating pg_tde deployments.

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.

PG.CENTER edition · Upstream source

2.1 - A production checklist for pg_tde

The small set of installation, key custody, WAL, backup, and recovery checks to complete before enabling TDE in production.

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_tde through shared_preload_libraries and 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_heap on 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.

PG.CENTER edition · Upstream source

2.2 - How pg_tde keeps data encrypted through PostgreSQL storage

A practical tour of tde_heap, the Storage Manager path, internal keys, principal keys, and 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.

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.

PG.CENTER edition · Upstream source

3 - From the Percona blog

Original authors, publication dates and concise bilingual reading 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.

Editorial notes and links to original Percona articles. Read the complete articles at the source.

PG.CENTER edition · Upstream source

3.1 - Questions from the PostgreSQL TDE webinar

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.

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.

Historical article

This article reflects its publication date. For current instructions, consult the related documentation and supported versions.

PG.CENTER edition · Upstream source

3.2 - The road to the pg_tde release candidate

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.

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.

Historical article

This article reflects its publication date. For current instructions, consult the related documentation and supported versions.

PG.CENTER edition · Upstream source

3.3 - An early look at pg_tde

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.

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.

Historical article

This article reflects its publication date. For current instructions, consult the related documentation and supported versions.

PG.CENTER edition · Upstream source