合 PG开源的巡检工具pg_gather
Tags: PGPostgreSQL巡检开源工具pg_gather
简介
GitHub:https://github.com/jobinau/pg_gather
This is a single SQL-only script for gathering performance and configuration data from PostgreSQL databases.
And another SQL script available for analyzing and generating detailed HTML reports from the collected data. Yes, everything SQL-Only!, leveraging the features ofpsql
-The command-line utility of PostgreSQLSupported Versions : 10, 11, 12, 13, 14, 15 & 16
Minimum support versions : PostgreSQL 9.5, 9.6
纯SQL脚本,只生成一个html报告文件。
缺点
需要导入数据库部分数据
安装
1 2 3 | wget https://github.com/jobinau/pg_gather/archive/refs/tags/v26.tar.gz -O pg_gather-16.tar.gz tar -zxvf pg_gather-16.tar.gz cd pg_gather-26 |