Skip to content

[BUG] Query store reported as being off on Secondary Replica #378

Description

@GintarasDev

Component

Desktop App (macOS)

Performance Studio Version

1.14.1

Operating System

macOS 26.4.1

Describe the Bug

When trying to connect to Azure SQL Server Secondary Replica, Query store not enabled (OFF) error appears.

Secondary replica seems to properly duplicate query store data from primary. The data is there, and using SSMS query store tools picks it up and displays everything properly.

Not really sure, maybe this checkbox being checked should solve the issue:
Read-only intent (for AG listeners and readable replicas - including Query Store on secondary replicas, but it seems to do nothing in my case and the issue is reproducible regardless of its state.

Steps to Reproduce

  1. Create Azure SQL Server database.
  2. Configure Secondary Replica for it.
  3. Run some queries on the Primary.
  4. Observe that query store on secondary contains information about queries that ran on primary.
  5. Try opening query store using Secondary Replica through Performance Studio tool.

Expected Behavior

Query Store tool opens successfully and displays Primary database's query store data.

Actual Behavior

Query store not enabled (OFF) is displayed after login and the query store does not open.

Plan File

No response

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions