EDB postgresql TDE 加密的文件

What's encrypted with TDE? v15

TDE encrypts:

  • The files underlying tables, sequences, and indexes, including TOAST tables and system catalogs and all forks. These files are known as data files.

  • The write-ahead log (WAL).

  • Various temporary files that are used during query processing and database system operation.

Implications
  • Any WAL fetched from a server using TDE, including by streaming replication and archiving, is encrypted.

  • A physical replica is necessarily encrypted (or not encrypted) in the same way and using the same keys as its primary server.

  • If a server uses TDE, a base backup is encrypted.

The following aren't encrypted or otherwise disguised by TDE:

  • Metadata internal to operating the database system that doesn't contain user data, such as the transaction status (for example, pg_subtrans and pg_xact).

  • The file names and file system structure in the data directory. That means that the overall size of the database system, the number of databases, the number of tables, their relative sizes, as well as file system metadata, such as last access time, are all visible without decryption.

  • Data in foreign tables.

  • The server diagnostics log.

  • Configuration files.

Implications

Logical replication isn't affected by TDE. Publisher and subscriber can have different encryption settings. The payload of the logical replication protocol isn't encrypted. (You can use SSL.)

相关推荐
利威尔xu2 天前
PostgreSQL 索引失效 4 类:函数运算让查询全表扫描拖垮性能
开发语言·数据库·postgresql·性能优化·索引优化
Lucifer三思而后行2 天前
PostgreSQL DBA 面试必问的 30 个问题,建议收藏!
postgresql·dba
tianyuanwo2 天前
PostgreSQL 部署运维实战总结:从安装踩坑到生产可用
运维·数据库·postgresql
打工的小王3 天前
postgresql和mysql对比
数据库·mysql·postgresql
tianyuanwo4 天前
NocoDB 系统手册:PostgreSQL 主机资产管理的界面层实施方案
数据库·postgresql·oracle
ClouGence8 天前
最基础的异构数据库 DDL 同步,我们踩过哪些坑?
数据库·mysql·postgresql
数据库小学妹9 天前
pgbouncer 事务池:prepared statement、临时表与会话状态
数据库·后端·postgresql
zhangjw349 天前
1-9 SELECT 查询基础:where、group by、having、order by、limit offset
数据库·postgresql·pg数据库
FungLeo10 天前
成为全栈·基础补充·数据库迁移与事务:数据结构怎样安全演进
mysql·postgresql·sqlite·数据一致性·数据库事务·数据库迁移·成为全栈
隔窗听雨眠12 天前
云数仓向PostgreSQL生态延伸的技术动因与工程代价
postgresql·数据库架构·云数仓