Tuesday, January 14, 2025

Query Store - Capturing Runtime Statistics

Giriş
Açıklaması şöyle
The Query Store in SQL Server is a feature designed to help you monitor, troubleshoot, and optimize query performance by automatically capturing a history of queries, plans, and runtime statistics. It's essentially a performance monitoring and tuning tool built into SQL Server.
Örnek
Şöyle yaparız
ALTER DATABASE AdventureWorks SET QUERY_STORE = ON;

No comments:

Post a Comment

XACT_ABORT

SELECT CASE      WHEN ( ( ( @@OPTIONS & 512 ) = 512 ) ) THEN 'ON'      ELSE 'OFF'  END AS XACT_ABORT_STATUS; -- When XAC...