An Azure relational database service.
Azure SQL Database Query Performance, misleading as it includes primary and standby data
Query Performance is including information for primary and secondary (note this is a business critical read-only replica, not a geo). Take a query ID provided, go to query store, it shows on Secondary, not Primary. This gives misleading information as it is reporting high consuming queries that are not running on this DB, they're actually running on the secondary. I'm betting this was introduced with this enhancement "https://techcommunity.microsoft.com/blog/azuredbsupport/read-only-queries-are-now-captured-in-the-primary-query-store-/4485048" in January. Why isn't there an option to select Primary/Secondary? What is this doing to automation? If it's including queries from the secondary, then making changes on primary based on this, could be very bad. Some cases could be good. Either way, it's misleading and I'd argue wrong. The page is labeled for the primary, no other metrics are for the secondary but this one buries information for the secondary in it.