sriniarul / pg-index-health-sql

pg-index-health-sql is a set of sql-queries for analyzing and maintaining indexes health in Postgresql databases.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pg-index-health-sql

pg-index-health-sql is a set of sql-queries for analyzing and maintaining indexes health in Postgresql databases.

Lint Code Base License: Apache 2.0

Supported PostgreSQL versions

PostgreSQL 9.6 PostgreSQL 10 PostgreSQL 11 PostgreSQL 12 PostgreSQL 13 PostgreSQL 14

Available checks

pg-index-health-sql allows you to detect the following problems:

  1. Invalid (broken) indexes (sql).
  2. Duplicated (completely identical) indexes (sql).
  3. Intersected (partially identical) indexes (sql).
  4. Unused indexes (sql).
  5. Foreign keys without associated indexes (sql).
  6. Indexes with null values (sql).
  7. Tables with missing indexes (sql).
  8. Tables without primary key (sql).
  9. Indexes bloat (sql).
  10. Tables bloat (sql).
  11. Tables without description (sql).
  12. Columns without description (sql).
  13. Columns with json type (sql).
  14. Columns of serial types that are not primary keys (sql).
  15. Functions without description (sql).

About

pg-index-health-sql is a set of sql-queries for analyzing and maintaining indexes health in Postgresql databases.

License:Apache License 2.0