home/categories/sql-databases/isdaniel-pgtuner-mcp-skills-pg-index-optimization-skill-md
sql-databasesdatabases

pg-index-optimization

Performs comprehensive PostgreSQL index optimization including unused index cleanup, duplicate detection, missing index recommendations, and hypothetical index testing with HypoPG. Provides actionable CREATE/DROP INDEX statements with estimated impact.

isdaniel
maintainer
isdaniel
Updated 3/26/2026
Stars
21
Forks
4
quick start

Installation and usage

Performs comprehensive PostgreSQL index optimization including unused index cleanup, duplicate detection, missing index recommendations, and hypothetical index testing with HypoPG. Provides actionable CREATE/DROP INDEX statements with estimated impact.

Installation
$ install --globalskills.sh
Usage

Once installed, you can use this skill by running the following command in your terminal:

skills use pg-index-optimization