SQL statistics for Performance Insights (original) (raw)
SQL statistics are performance-related metrics about SQL queries that are collected by Performance Insights. Performance Insights gathers statistics for each second that a query is running and for each SQL call. The SQL statistics are an average for the selected time range.
A SQL digest is a composite of all queries having a given pattern but not necessarily having the same literal values. The digest replaces literal values with a question mark. For example, SELECT * FROM emp WHERE lname= ?
. This digest might consist of the following child queries:
SELECT * FROM emp WHERE lname = 'Sanchez'
SELECT * FROM emp WHERE lname = 'Olagappan'
SELECT * FROM emp WHERE lname = 'Wu'
All engines support SQL statistics for digest queries.
For the region, DB engine, and instance class support information for this feature, see Amazon RDS DB engine, Region, and instance class support for Performance Insights features
Topics
- SQL statistics for MariaDB and MySQL
- SQL statistics for Amazon RDS for Oracle
- SQL statistics for Amazon RDS for SQL Server
- SQL statistics for RDS PostgreSQL
Counter metrics for Performance Insights
SQL statistics for MariaDB and MySQL
Did this page help you? - Yes
Thanks for letting us know we're doing a good job!
If you've got a moment, please tell us what we did right so we can do more of it.
Did this page help you? - No
Thanks for letting us know this page needs work. We're sorry we let you down.
If you've got a moment, please tell us how we can make the documentation better.