Skip to content

zhuohuwu0603/postgresql_notes

This branch is 16 commits behind Vonng/pg:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

931669f · Nov 9, 2020

History

30 Commits
Nov 9, 2020
Mar 14, 2019
Jun 6, 2020
May 22, 2020
Jun 6, 2020
Jun 13, 2019
May 22, 2020
Jun 12, 2019
May 22, 2020
May 27, 2019
May 29, 2020

Repository files navigation

PG

Postgres is good

—— Vonng

Posts / 文章

Monitor / 监控

数据库没有监控系统,就像蒙着眼睛狂奔。

Run database without a monitoring system is like running while blindfloded

Monitor system / 监控系统

这里将介绍基于Prometheus,Grafana开发的Postgres监控系统 —— Pigsty (Postgres In Grafana Style)

Metrics / 监控指标

  • [Node监控指标概览]
  • [Postgres监控指标]
  • [Pgbouncer中间件监控指标]
  • [监控指标的聚合方式]
  • [Prometheus指标预处理规则]
  • [Prometheus机器报警规则]
  • [Prometheus数据库报警规则]
  • [黄金监控指标:PG Load]
  • 9.4到13的监控指标变化梳理

Catalog Monitoring / 监控系统目录

Administration / 管理

当一个人能完成所有工作时,他是不需要管理的。

管理方案

备份与复制

运维调优

配置

升级迁移

扩展性

  • 垂直拆分,分库分表
  • 水平拆分与分片
  • 如何管理几百个PostgreSQL实例

故障

Development / 开发

案例

SQL

驱动

  • Golang的数据库标准接口教程:database/sql
  • PostgreSQL驱动横向评测:Go语言
  • PostgreSQL Golang驱动介绍:pgx
  • PostgreSQL Golang驱动介绍:go-pg
  • PostgreSQL Python驱动介绍:psycopg2
  • psycopg2的进阶包装,让Python访问Pg更敏捷。
  • PostgreSQL Node.JS驱动介绍:node-postgres

Kernel / 内核原理

Tools / 工具

命令行

连接池

操作系统

网络

性能测试

FDW

PostGIS

Reference

About

PostgreSQL notes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 91.8%
  • Makefile 6.8%
  • Go 1.4%