Postgrespro是俄罗斯著名的数据库公司,旗下主要产品基于PostgreSQL。近期发布了一本新书“PostgreSQL 14 Internals”。

俄罗斯postgresql公司PostgresPro新书:PG14技术内幕_mysql

本书适用于那些使用数据库时不满足于黑盒方法的人。简要介绍了PostgreSQL的主要概念,然后深入数据一致性和隔离级别,解释了多版本并发控制和快照隔离、缓冲区缓存和预写日志以及锁系统的实现细节。本书的其余部分涵盖了执行计划和执行 SQL 查询的问题,包括对数据访问和连接方法、统计信息和各种索引类型的讨论。

目前,该书仅翻译了一部分,其他部分正在进行中。完成的部分可以通过下面连接进行下载:

​https://edu.postgrespro.com/postgresql_internals-14_part1_en.pdf​

章节内容:

  • Part I. Isolation and MVCC
    Isolation · Pages and Tuples · Snapshots · Page Pruning and HOT Updates · Vacuum and Autovacuum · Freezing · Rebuilding Tables and Indexes
  • Part II. Buffer Cache and WAL
    Buffer Cache · Write-Ahead Log · WAL Modes
  • Part III. Locks
    Relation-Level Locks · Row-Level Locks · Miscellaneous Locks · Locks in Memory
  • Part IV. Query Execution
    Query Execution Stages · Statistics · Table Access Methods · Index Access Methods · Index Scan · Nested Loop · Hashing · Merging and Sorting
  • Part V. Types of Indexes
    Hash · B-Tree · GiST · SP-GiST · GIN · BRIN一本基于PG14的内核书籍即将面世,值得关注跟踪!