High CPU driving query in azure database for postgresql

sql user 86 Reputation points
2021-07-22T01:17:10.12+00:00

Team,

i have azure database for postgresql and CPU is gradually increasing and i have query store enabled and i cannot increase the resources due to cost limitation.

How to get list of queries responsible for consuming CPU from during a specific period?. I'm looking for exact Query store queries which i can directly run in 'azure_sys' database. the below link doesn't have any QS queries.

https://learn.microsoft.com/en-us/azure/postgresql/concepts-query-store

The query performance insights just gives high duration queries and doesn't give which query is driving the CPU..

Appreciate the help. thanks

Azure Database for PostgreSQL
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.