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.

Commit93173f4

Browse files
committed
Corrections applied to README.md
1 parentd5ba2ba commit93173f4

File tree

1 file changed

+56
-18
lines changed

1 file changed

+56
-18
lines changed

‎README.md

Lines changed: 56 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,77 @@
11
#About
2-
Postgres Checkup ([postgres-checkup](https://gitlab.com/postgres-ai-team/postgres-checkup)) is a new-generation diagnostics tool that allows to collect deep analysis of a Postgres database health. It aims to detect and describe all current and potential issues in the fields of database performance, scalability and security, advising how to resolve or prevent them.
3-
4-
Compared to a monitoring system, postgres-checkup goes deeper in database system and environment analysis, it combines numerious database internal characteristics with data about resources and OS into multiple comprehensive reports. These reports use formats which are easy readable both by humans and machines and are extremely oriented to DBA problems solving. Monitoring systems constantly collect telemetry, they help to react to issues quicker and do post-mortem analyses. Checkups are needed for a different purpose: detect issues at very early stage, advising on how to prevent them. This procedure is to be done on a regular basis — weekly, monthly, or quarterly. Additionally, it is recommended to run it right right before and right after any major change in database server.
2+
Postgres Checkup ([postgres-checkup](https://gitlab.com/postgres-ai-team/postgres-checkup))
3+
is a new-generation diagnostics tool that allows users to collect deep analysis
4+
of the health of a Postgres database. It aims to detect and describe all current
5+
and potential issues in the fields of database performance, scalability, and
6+
security, providing advices how to resolve or prevent them.
7+
8+
Compared to a monitoring system, postgres-checkup goes deeper into the analysis
9+
of the database system and environment. It combines numerous internal
10+
characteristics of the database with data about resources and OS, producing
11+
multiple comprehensive reports. These reports use formats which are easily
12+
readable both by humans and machines and which are extremely oriented to DBA
13+
problem-solving. Monitoring systems constantly collect telemetry, help to react
14+
to issues more quickly, and are useful for post-mortem analyses. At the same
15+
time, checkups are needed for a different purpose: detect issues at a very early
16+
stage, advising on how to prevent them. This procedure is to be done on a
17+
regular basis — weekly, monthly, or quarterly. Additionally, it is recommended
18+
to run it immediately before and after any major change in the database server.
519

620
The three key principles behind postgres-checkup:
721

8-
- *Unobtrusiveness*: postgres-checkup’s impact on the observing system is close to zero. It does not use any heavy queries, keeping resource usage very low, avoids having the “observer effect”.
22+
- *Unobtrusiveness*: postgres-checkup’s impact on the observing system is
23+
close to zero. It does not use any heavy queries, keeping resource usage
24+
very low, and avoiding having the [“observer effect.”](https://en.wikipedia.org/wiki/Observer_effect_(information_technology))
925

10-
- *Zero install* (on observed machines): it is able to analyze any Linux machine (including virtual machines), as well as Cloud Postgres instanced (such as Amazon RDs or Google Cloud SQL), not requiring any additional setup or any changes. It does, hovewer, require the privileged access (a DBA usually has it anyway).
26+
- *Zero install* (on observed machines): it is able to analyze any Linux
27+
machine (including virtual machines), as well as Cloud Postgres instances
28+
(such as Amazon RDs or Google Cloud SQL), not requiring any additional setup
29+
or any changes. It does, hovewer, require a privileged access (a DBA usually
30+
has it anyway).
1131

12-
- *Complex analysis*: unlike most monitoring tools, which provide raw data, postgres-checkup combines data from various parts of the system (w.g.: internal Postgres stats are combined with knowledge about system resources in autovacuum setting and behavior analysis). Also, it analyzes the master database server together with all its replicas (e.g. to build the list of unused indexes).
32+
- *Complex analysis*: unlike most monitoring tools, which provide raw data,
33+
postgres-checkup combines data from various parts of the system (e.g.,
34+
internal Postgres stats are combined with knowledge about system resources
35+
in autovacuum setting and behavior analysis). Also, it analyzes the master
36+
database server together with all its replicas (e.g. to build the list of
37+
unused indexes).
1338

1439
#Reports Structure
15-
Thetwo kinds of reports postgres-checkup produces for every check:
40+
Postgres-checkup producestwo kinds of reports for every check:
1641

17-
- JSON reports (*.json) — can be consumed by any program or service, or stores in some database.
42+
- JSON reports (*.json) — can be consumed by any program or service, or
43+
stores in some database.
1844

19-
- Markdown reports (*.md) — the main format for humans, may contain lists, tables, pictures. Being of native format for GitLab and GitHub, such reports are ready to be used, for instance, in their issue trackers, simplifying workflow. Markdown reports are derived from JSON reports.
45+
- Markdown reports (*.md) — the main format for humans, may contain lists,
46+
tables, pictures. Being of native format for GitLab and GitHub, such reports
47+
are ready to be used, for instance, in their issue trackers, simplifying
48+
workflow. Markdown reports are derived from JSON reports.
2049

2150
Markdown reports can be converted to different formats such as HTML or PDF.
2251

2352
Each report consists of three sections:
2453

25-
1. "Observations": automatically collected data. This is to be consumed by an expert DBA.
26-
1. "Conclusions": what we conclude from the Observations, what is good, what is bad (right now, it is to be manually filled for most checks).
27-
1. "Recommendations": actions items, what to do to fix issues found. Both "Conclusions" and "Recommendations" are to be consumed by an engineers who will make decisions what, how and when to optimize, how to react to the findings.
54+
1. "Observations": automatically collected data. This is to be consumed by
55+
an expert DBA.
56+
1. "Conclusions": what we conclude from the Observations—what is good, what
57+
is bad (right now, it is to be manually filled for most checks).
58+
1. "Recommendations": action items, what to do to fix the discovered issues.
59+
Both "Conclusions" and "Recommendations" are to be consumed by engineers who
60+
will make decisions what, how and when to optimize, and how to react to the
61+
findings.
2862

2963
#Installation and Usage
3064

3165
##Requirements
3266

33-
The supported OS of the observer machine (those from which the tool is to be executed):
67+
The supported OS of the observer machine (those from which the tool is to be
68+
executed):
3469

35-
* Linux (modern RHEL/CentOS or Debian/Ubuntu; others should work as well, but not yet tested);
70+
* Linux (modern RHEL/CentOS or Debian/Ubuntu; others should work as well, but
71+
are not yet tested);
3672
* MacOS.
3773

38-
It has to havethefollowing programs:
74+
The following programs must be installed ontheobserver machine:
3975

4076
* bash
4177
* psql
@@ -45,13 +81,15 @@ It has to have the following programs:
4581
* awk
4682
* sed
4783

48-
Nothing special has to be istalled on the observed machines. However, these machines must run Linux (again: modern RHEL/CentOS or Debian/Ubuntu; others should work as well, but not yet tested).
84+
Nothing special has to be installed on the observed machines. However, these
85+
machines must run Linux (again: modern RHEL/CentOS or Debian/Ubuntu; others
86+
should work as well, but are not yet tested).
4987

5088
:warning: Only Postgres version 9.6 and higher are currently supported.
5189

5290
##How to Install
5391

54-
Use`git clone`. This is the onlyway of installation currently supported.
92+
Use`git clone`. This is the onlymethod of installation currently supported.
5593

5694
##Example of Use
5795

@@ -85,7 +123,7 @@ As a result of postgres-checkup we have got two directories with .json files and
85123
Each of generated files contains information about "what we check" and collected data for
86124
all instances of the postgres cluster`prod1`.
87125

88-
Human-readable report can be found at:
126+
A human-readable report can be found at:
89127

90128
```bash
91129
./artifacts/prod1/e1_full_report.md

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp