Skip to main content
Neon Postgres Docs
current

Search documentation

Type to search this documentation.

On this pageOverview

Monitor Neon with PgHero

PgHero is an open source performance tool for Postgres that can help you find and fix data issues, using a dashboard interface. A quick look at the interface gives you an idea of what you'll find in P...

PgHero is an open-source performance tool for Postgres that can help you find and fix data issues, using a dashboard interface.

A quick look at the interface gives you an idea of what you'll find in PgHero.

PgHero Dashboard

Among other things, you can use PgHero to:

  • Identify long-running queries
  • Identify tables that require vacuuming
  • Identify duplicate or missing indexes
  • View connections by database and user
  • Explain, analyze, and visualize queries

PgHero supports installation with Docker, Linux, and Rails. Here, we'll show how to install PgHero with Docker and connect it to a Neon database.

Before you begin:

PgHero is available on DockerHub. To install it, run:

docker pull ankane/pghero

Find the connection string for your database by clicking the Connect button in the Console nav.

Connection details modal

Finally, run this command, replacing $NEON_DB with your Neon database connection string.

docker run -ti -e DATABASE_URL='$NEON_DB' -p 8080:8080 ankane/pghero

Then visit http://localhost:8080 in your browser to open the PgHero Dashboard.

Join our Discord Server to ask questions or see what others are doing with Neon. For paid plan support options, see Support.

Suggest an edit

Propose a replacement for this page. The site team reviews it before applying any changes.

Export
Documentation menu