Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jul 6, 2021. It is now read-only.

Postgres Health Check and SQL Performance Analysis. 👉 THIS IS A MIRROR OFhttps://gitlab.com/postgres-ai/postgres-checkup

License

NotificationsYou must be signed in to change notification settings

postgres-ai/postgres-checkup

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PgHealth is the ultimate open-source PostgreSQL database healthcheck utility.

It checks PostgreSQL settings, configs and Linux postgres-related environmentwith series of checks.

The observed data is saved in the form of JSON reports, ready to be consumed by machines.
The final reports are .md files, in Markdown format, to be read by humans.

The main goal is to detect bottlenecks and prevent performance degradation.
It also helps to detect a lot of issues with postgres instances.

Example

./check -h db1 -p 5432 --username postgres --dbname postgres --project my-site_org-slony -e 1
./check -h db2 -p 5432 --username postgres --dbname postgres --project my-site_org-slony -e 1

Which literaly means: "connect to server with given credentials, save data intomy-site_org-slonyproject directory as epoch of check1. Epoch is a numerical sign of current iteration.For example: in half a year we can switch to "epoch number2".

As a result of health-check we have got two directories with .json files and .md files:

./artifacts/my-site_org-slony/json_reports/1_2018_12_06T14_12_36_+0300/./artifacts/my-site_org-slony/md_reports/1_2018_12_06T14_12_36_+0300/

Each of generated files contains information about "what we check" and collected data forall instances of the postgres clustermy-site_org-slony.

Requirements

  • bash
  • psql
  • coreutils
  • jq >= 1.5,
  • golang >= 1.8
  • awk

About

Postgres Health Check and SQL Performance Analysis. 👉 THIS IS A MIRROR OFhttps://gitlab.com/postgres-ai/postgres-checkup

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors8


[8]ページ先頭

©2009-2025 Movatter.jp