Skip to content
P

PG Activity

pg_activity is a top like application for PostgreSQL server activity monitoring

by daliboFree

#1154in Developer Tools
0In stores

Description

pg_activity is a command-line tool for watching PostgreSQL server activity, in the style of the Unix top command. It shows the sessions runn…

Highlights

  • Live top-style view of PostgreSQL sessions
  • Works locally or remotely with a connection string
  • Configuration profiles for saved connections
  • Install from distro packages, PyPI or source

Ratings & Reviews

No ratings yet

Be the first to rate PG Activity.

People also visit

P

Pgmetrics

Collect and display information and stats from a running PostgreSQL server

Developer Tools
Launch
P

pgweb

Simple web-based PostgreSQL database explorer

Developer Tools
Launch
C

Collector

pganalyze statistics collector for gathering PostgreSQL metrics and log data

Developer Tools
Launch
T

Temboard

PostgreSQL Remote Control

Developer Tools
Launch
P

postgres-pro

Optimizing PostgreSQL queries, configuring replication

AI Skills
Get
C

clickhouse-managed-postgres-rca

MUST USE when investigating performance issues on a ClickHouse-managed Postgres

AI Skills
Get

PG Activity FAQ

What does pg_activity do?

It shows PostgreSQL server activity in a live top-style view, so you can see running sessions and spot slow or blocked queries.

How do I install it?

Use your Linux distribution's package, run pip install with the psycopg extra, or install with pipx to keep it isolated.

Do I need superuser access?

The README recommends a PostgreSQL superuser so the tool can show as much data as possible. Without it, some system information and temporary file data are hidden.

Can I monitor a remote server?

Yes. The tool works locally or remotely, and you give it a connection string.

Is it free?

Yes. The source is public on GitHub, so it is open source.

What are the best PG Activity alternatives?

Popular alternatives to PG Activity include Pgmetrics, pgweb and Collector. See all PG Activity alternatives

Developer Stuff

Badges