ankane/pghero

A performance dashboard for Postgres

View on GitHub ↗Jump to charts ↓Open shareable report →

ankane/pghero has 8.5k+ stars and 450+ forks on GitHub, is written in Ruby, and was last pushed on Oct 17, 2026. Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 1 hour ago
Added to GitGenius on December 10th, 2023
Created on July 21st, 2014
Open Issues & Pull Requests: 6 (+0)
GitHub issues: Enabled
Number of forks: 481
Total Stargazers: 8,936 (+0)
Total Subscribers: 89 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 11.9 hours
Mean response time: 113.7 days
90th percentile: 322.3 days
Tracked items: 41

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 3
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 622 days
Stale 30+ days: 3
Stale 90+ days: 2

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • awaiting response (33)
  • enhancement (15)
  • help wanted (6)
  • bug (5)
  • question (1)
  • waiting (1)
  • wontadd (1)
  • wontfix (1)

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

PgHero is a performance dashboard designed specifically for PostgreSQL databases. It provides a web-based interface that visualizes database health metrics, query performance data, and indexing recommendations, enabling database administrators and developers to monitor and optimize their Postgres instances. The project is available in multiple deployment formats including Docker images, Linux packages, and as a Rails engine, making it accessible to different infrastructure setups and application architectures.

The dashboard surfaces critical performance insights by analyzing database queries and schema characteristics. It identifies slow queries, suggests missing indexes, and presents metrics about database health in an intuitive visual format. The tool draws its analytical foundation from established Postgres performance monitoring practices, crediting Craig Kerstiens and Heroku's early work on Postgres performance queries as inspiration for its initial query set. The interface uses Bootswatch themes for its visual presentation.

PgHero has been battle-tested in production at Instacart, indicating it has proven reliability in handling real-world database monitoring scenarios at scale. This production validation from a major technology company demonstrates the tool's maturity and practical utility for enterprise environments.

Additional contributors including hlascelles and luizkowalski have provided support, though at lower activity levels. The project exists within a broader ecosystem of Postgres-related tools also maintained by ankane, including Dexter for automatic index creation, pgsync for database synchronization, and pgslice for table partitioning. These complementary projects suggest PgHero functions as part of a comprehensive Postgres optimization toolkit.

One issue is currently marked as awaiting response, suggesting some backlog in the triage queue.

The project's classification spans multiple database administration domains including query analysis, indexing advice, schema insights, slow query identification, and metrics visualization. This breadth reflects the dashboard's comprehensive approach to database performance monitoring rather than focusing on a single aspect of database health.

Documentation is organized around installation methods, with dedicated guides for Docker deployment, Linux package installation, and Rails engine integration. This structure acknowledges that users operate in different environments and need clear paths to deployment that match their infrastructure choices. The project encourages community contribution through bug reporting, pull requests, documentation improvements, and feature suggestions, maintaining an open development model.