Back to directory

pg-mastery

A personal, mostly Chinese-language PostgreSQL knowledge base by a PostgreSQL DBA, collecting articles and write-ups on internals, DBA practice, performance tuning, and production troubleshooting.

pg-mastery

pg-mastery is a personal PostgreSQL knowledge base maintained by a PostgreSQL DBA, gathering articles on database internals, DBA practices, performance tuning, troubleshooting, ecosystem developments, and real production incidents. The material is organized under topics such as database principles, the query optimizer, parallel query, database ecosystem comparisons, execution plans, statistics, page pruning, storage space accounting, and specific production cases like duplicate primary keys, multiple postmasters, and unusual dead-tuple counts.

Most of the listed articles are the author's own write-ups, in Chinese, and the repository also links to related English-language articles on Postgres query execution and optimization. The author is also credited as the founder of a PostgreSQL how-to project in Chinese and as a translator of a PostgreSQL internals book into Chinese.

More in Databases

See all 294
  • SQLBraid

    clickin.github.io

    A SQL-first data-access toolkit for TypeScript that keeps ordinary SQL visible in tagged template literals, binds interpolated values safely by default, supports readable conditional SQL directives, and lets a schema validate the returned rows.

  • A SQL-style query language and toolchain for the Qdrant vector database, covering dense, sparse and hybrid search, filtering and multitenancy, with the same grammar running from a CLI, Python, Node.js, Rust, WebAssembly and an in-process edge engine.

  • Fast Knowledge

    github.com

    A self-hosted, Java-based knowledge base for small and mid-sized organizations, turning internal documents into a searchable, question-answerable and audit-exportable knowledge asset with hybrid retrieval and Docker deployment.