PlanetScale

Introducing Database Traffic Control

Mar 23, 2026Sam Lambert
Introducing Database Traffic Control
SummaryAI, from the source post

Introduces 'Database Traffic Control' for Postgres, a system that allows users to define flexible resource budgets for subsets of database traffic. Budgets can be defined based on query patterns, application names, Postgres users, or custom tags, and can enforce limits on CPU usage, burst limits, backend process concurrency, and per-query timing. The system supports 'warn' and 'enforce' modes, and can be configured via the dashboard, API, or CLI. It also highlights the use of SQL comments for tagging traffic.

More from the Database Traffic Control trail