Insights - Vitess query request size metrics
Query Insights for Vitess databases now tracks the request size of your MySQL queries, with 3 new columns in the data section of the queries table.
- Bytes received - The cumulative number of bytes received from clients
- Bytes received per query - The average number of bytes received per query execution
- Max bytes received per query - The maximum number of bytes received by any single query execution
These pair with the existing "Bytes returned" columns to show both directions of your database's network traffic. Use them to spot clients sending unusually large statements or parameter payloads, and to find the query patterns driving the most ingress traffic.
These columns behave like the other numeric columns: you can sort by them, show sparklines, and graph them over time. They are also available through the PlanetScale MCP server via planetscale_get_insights.