Introducing Database Traffic Control™: resource budgets for your Postgres query traffic.Learn more
Navigation

Inspect live database connections from the CLI

You can now view and manage live connections directly from the pscale CLI, for both Postgres and Vitess branches. Run pscale branch connections top <database> <branch> for a live, sorted view of every active session: what each one is running and how long it has been going.

Because Connections runs over a reserved administrative connection, it keeps working even when the database has exhausted its normal connections.

Inspecting live connections from the pscale CLI

From there you can:

Read more: Postgres or Vitess.