# 架构

> 了解 pg_tde 如何加密数据、管理密钥并接入 PostgreSQL。

---

LLMS 索引： [llms.txt](/zh/llms.txt)

---

> 本页沿用 Percona pg_tde 2.3.0 手册。Mimus 的配套构建、备份工具和跨大版本迁移见 [Mimus PG TDE](/zh/docs/tde/)。



[PG.CENTER 双语底本](https://github.com/pgsty/doc.pg.center/blob/4410c32dc9186a22859008303f474b72a779f583/content/percona/architecture/_index.zh.md) · [上游原文](https://github.com/percona/pg_tde/tree/5dd7a9e4e3599d88546f5de67ff0f4ef3fe51a9a)

---

本节页面：

- [架构概览](/zh/docs/tde/upstream/architecture/overview/): pg_tde 的可定制加密模型、服务器内核改动、扩展与 keyring API。
- [加密架构](/zh/docs/tde/upstream/architecture/encryption-architecture/): pg_tde 的双层密钥结构、AES 算法、SMGR 加密流程与 WAL 加密机制。
- [密钥与密钥提供商管理](/zh/docs/tde/upstream/architecture/key-provider-management/): 主密钥轮换、内部密钥重建、密钥存储布局和密钥提供商迁移。
