Skip to content

Commit

Permalink
Added information about statistics collector (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfvanek authored Dec 17, 2019
1 parent ef6b229 commit d14e58c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
1. Tables with missing indexes ([sql](https://github.com/mfvanek/pg-index-health/blob/master/src/main/resources/sql/tables_with_missing_indexes.sql)).
1. Tables without primary key ([sql](https://github.com/mfvanek/pg-index-health/blob/master/src/main/resources/sql/tables_without_primary_key.sql)).

## Important note
**pg_index_health** uses the [Statistics Collector](https://www.postgresql.org/docs/10/monitoring-stats.html).
You can call `pg_stat_reset()` to reset all statistics counters for the current database to zero.

## Demo application
```java
import com.mfvanek.pg.connection.HighAvailabilityPgConnection;
Expand Down

0 comments on commit d14e58c

Please sign in to comment.