# ankane/pghero

A performance dashboard for Postgres

Repository: https://github.com/ankane/pghero
Canonical: https://ross.abutalabs.com/products/pghero
Language: Ruby
License: MIT
License Family: permissive
Last push: 2026-08-15T21:05:00+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 35, longevity 100
- inputs: {"age_days": 4426, "days_push": 18, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 8912, forks 477 (observed 2026-08-28T04:10:26.254715+00:00)

## What it is
PgHero is a performance dashboard for PostgreSQL, available as a Docker image or a Rails engine. It provides insight into query performance, index usage, and database health.

## Use cases
- monitor postgres query performance
- find slow queries in postgres
- check for missing indexes in postgres
- dashboard for database health
- monitor postgres table bloat
- track postgres connection usage

## When to choose
- you run PostgreSQL and want a self-hosted performance dashboard
- you use Rails and want database insights integrated into your app
- you want quick visibility into slow queries and index usage

## When to avoid
- you need full observability with metrics, alerting, and dashboards across many systems
- you use a database other than PostgreSQL
- you need long-term historical metrics storage

## Facets
- artifact type: application
- maturity: stable
- function: monitoring, database, analytics
- domain: databases, monitoring, self-hosted
- platform: self-hosted, ruby
- tags: postgres, performance-dashboard, rails-engine, database-monitoring, devops, docker, web-server

## Member repositories
- ankane/pghero (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:26.254715+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:24:42.883267+00:00, confidence not recorded.
  - readme: https://github.com/ankane/pghero (fetched 2026-08-28T04:10:26.254715+00:00, sha 84e7a38fb86f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
