<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/see-what-your-database-is-doing-right-now-with-connections-planetscale-zxuafimmh" -->

---
title: See what your database is doing right now with...
description: PlanetScale has launched Connections, a new pscale CLI feature that provides a live, interactive view of active database connections for both Postgres and...
canonical: https://daily.dev/posts/see-what-your-database-is-doing-right-now-with-connections-planetscale-zxuafimmh
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: See what your database is doing right now with Connections — PlanetScale | daily.dev
og:description: PlanetScale has launched Connections, a new pscale CLI feature that provides a live, interactive view of active database connections for both Postgres and...
og:url: https://daily.dev/posts/see-what-your-database-is-doing-right-now-with-connections-planetscale-zxuafimmh
og:image: https://api.daily.dev/og/posts/ZXUAfIMmH.png
og:image:alt: See what your database is doing right now with Connections — PlanetScale
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# See what your database is doing right now with Connections — PlanetScale

**[PlanetScale](https://daily.dev/sources/planetscale)** · 4 min read · 0 upvotes · 0 comments

## Summary

PlanetScale has launched Connections, a new pscale CLI feature that provides a live, interactive view of active database connections for both Postgres and Vitess (MySQL) databases. It replaces manually looping pg_stat_activity or SHOW FULL PROCESSLIST queries with a sorted, refreshing session list showing blocking chains, wait events, and PIDs. Users can pause and step through recent history, capture sessions to a file for postmortems or sharing, and cancel queries or terminate connections directly from the interface. A reserved administrative connection keeps the tool usable even when application connections are exhausted. Run via `pscale branch connections top <database> <branch>`, with optional `--keyspace` and `--shard` flags for Vitess.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://planetscale.com/blog/see-what-your-database-is-doing-right-now>

## Questions this post answers

### How can I see what's currently blocking queries in my PlanetScale Postgres database during an incident?

PlanetScale's Connections feature, available in the pscale CLI, provides a live interactive view refreshed about once a second, replacing manual loops of pg_stat_activity. Run `pscale branch connections top <database> <branch>` to see sessions sorted by likely relevance, inspect blocker chains, and cancel a query or terminate a connection directly from the interface.

_daily.dev surfaces releases like this for engineers tracking better ways to debug live database incidents._

### Can I still debug my PlanetScale database if all connections are exhausted?

Yes, the Connections feature uses a reserved administrative connection, so the inspection path keeps working even when regular application connections are exhausted. This lets you see what is running and terminate blocking sessions instead of being locked out during an incident.

_Engineers dealing with connection exhaustion incidents can follow tooling updates like this on daily.dev._

### Does PlanetScale's Connections tool work with Vitess and MySQL, not just Postgres?

Yes, Connections works with both PlanetScale Postgres and Vitess (MySQL) databases. For Vitess, connections are scoped to one keyspace and shard at a time, selectable via --keyspace and --shard flags, and actions map to MySQL commands: canceling a query runs KILL QUERY and terminating a connection runs KILL.

_daily.dev helps teams running mixed Postgres and Vitess stacks keep up with database tooling changes._

## Similar posts on daily.dev

- [PlanetScale — PlanetScale](https://daily.dev/posts/planetscale-planetscale-rnllipo87) · Programming Digest · 17 upvotes · 1 comments
- [Dasha - performance dashboard](https://daily.dev/posts/dasha---performance-dashboard-cm6mu78wl) · PostgreSQL · 1 upvotes · 0 comments
- [Discover Databases, starting with Postgres](https://daily.dev/posts/discover-databases-starting-with-postgres-vudl6ia8e) · Last9 · 1 upvotes · 0 comments
- [How Atlas Scales Hundreds of Cloud SQL Databases](https://daily.dev/posts/how-atlas-scales-hundreds-of-cloud-sql-databases-r5ztcusi1) · Google Cloud · 0 upvotes · 0 comments

---

Tags: [#database](https://daily.dev/tags/database), [#postgresql](https://daily.dev/tags/postgresql), [#planetscale](https://daily.dev/tags/planetscale)

[View this post on daily.dev](https://daily.dev/posts/see-what-your-database-is-doing-right-now-with-connections-planetscale-zxuafimmh)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"See what your database is doing right now with Connections — PlanetScale","url":"https://daily.dev/posts/see-what-your-database-is-doing-right-now-with-connections-planetscale-zxuafimmh","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/see-what-your-database-is-doing-right-now-with-connections-planetscale-zxuafimmh"},"datePublished":"2026-09-10T14:53:18.252Z","dateModified":"2026-10-15T02:22:13.285Z","description":"PlanetScale has launched Connections, a new pscale CLI feature that provides a live, interactive view of active database connections for both Postgres and...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/982935b89c14c9616c80dd6b4610b43b?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/982935b89c14c9616c80dd6b4610b43b?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"PlanetScale","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"PlanetScale","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/09515c29cafc45618b3f117eab4fccf8","url":"https://daily.dev/squads/planetscale"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/see-what-your-database-is-doing-right-now-with-connections-planetscale-zxuafimmh","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"database,postgresql,planetscale","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"PlanetScale","item":"https://daily.dev/squads/planetscale"},{"@type":"ListItem","position":3,"name":"See what your database is doing right now with Connections — PlanetScale"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/see-what-your-database-is-doing-right-now-with-connections-planetscale-zxuafimmh#faq","mainEntity":[{"@type":"Question","name":"How can I see what's currently blocking queries in my PlanetScale Postgres database during an incident?","acceptedAnswer":{"@type":"Answer","text":"PlanetScale's Connections feature, available in the pscale CLI, provides a live interactive view refreshed about once a second, replacing manual loops of pg_stat_activity. Run `pscale branch connections top \u003cdatabase\u003e \u003cbranch\u003e` to see sessions sorted by likely relevance, inspect blocker chains, and cancel a query or terminate a connection directly from the interface. daily.dev surfaces releases like this for engineers tracking better ways to debug live database incidents."}},{"@type":"Question","name":"Can I still debug my PlanetScale database if all connections are exhausted?","acceptedAnswer":{"@type":"Answer","text":"Yes, the Connections feature uses a reserved administrative connection, so the inspection path keeps working even when regular application connections are exhausted. This lets you see what is running and terminate blocking sessions instead of being locked out during an incident. Engineers dealing with connection exhaustion incidents can follow tooling updates like this on daily.dev."}},{"@type":"Question","name":"Does PlanetScale's Connections tool work with Vitess and MySQL, not just Postgres?","acceptedAnswer":{"@type":"Answer","text":"Yes, Connections works with both PlanetScale Postgres and Vitess (MySQL) databases. For Vitess, connections are scoped to one keyspace and shard at a time, selectable via --keyspace and --shard flags, and actions map to MySQL commands: canceling a query runs KILL QUERY and terminating a connection runs KILL. daily.dev helps teams running mixed Postgres and Vitess stacks keep up with database tooling changes."}}]}
```

