Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft Edge More info about Internet Explorer and Microsoft Edge
Read in English
Read in English Edit
Twitter LinkedIn Facebook Email

Query Store catalog views (Transact-SQL)

  • Article
  • 03/03/2023
  • 2 minutes to read

In this article

Applies to: SQL Server 2016 (13.x) and later Azure SQL Database Azure SQL Managed Instance Azure Synapse Analytics

This section contains the following catalog views.

In this section

  • sys.database_query_store_options (Transact-SQL)

  • sys.query_context_settings (Transact-SQL)

  • sys.query_store_plan (Transact-SQL)

  • sys.query_store_query (Transact-SQL)

  • sys.query_store_query_text (Transact-SQL)

  • sys.query_store_wait_stats (Transact-SQL)

  • sys.query_store_runtime_stats (Transact-SQL)

  • sys.query_store_runtime_stats_interval (Transact-SQL)

  • sys.query_store_query_hints (Transact-SQL)

  • sys.database_query_store_internal_state (Transact-SQL)

Next steps

Learn more about Query Store in the following articles:

  • Query Store Stored Procedures (Transact-SQL)
  • Monitoring Performance By Using the Query Store
  • Query Store for secondary replicas

Additional resources

  • Previous Versions
  • Blog
  • Contribute
  • Privacy
  • Terms of Use
  • Trademarks
  • © Microsoft 2023

Additional resources

In this article

  • Previous Versions
  • Blog
  • Contribute
  • Privacy
  • Terms of Use
  • Trademarks
  • © Microsoft 2023