Per-Database CPU Usage in SQL Server

As database administrators, it's crucial to monitor and analyze CPU usage across different databases in SQL Server. By understanding which databases consume the most CPU resources, we can better optimize performance and m…

Understanding SPID Status in SQL Server

When working with SQL Server, it's essential to understand the different statuses a SPID (Server Process ID) can have. These statuses indicate the state of a session and help in diagnosing performance issues or understanding…

View Database Mail Configuration in SQL Server with T-SQL

While the SQL Server Management Studio (SSMS) offers a graphical interface for configuring Database Mail, T-SQL provides detailed insights into the configuration through various system stored procedures and views. Here's ho…

Find a specific query in the Query Store?

The SQL Server Query Store is an incredibly useful feature for monitoring and troubleshooting query performance issues. One of the handiest aspects of the Query Store is the ability to easily retrieve execution plans and quer…

How to retrieve the Query Store ID of a Session ID in SQL Server?

The Query Store is a feature in SQL Server that collects and stores information about queries that are executed. This information can be used to troubleshoot performance problems, identify queries that are causing problems, a…

UDL files: The unsung heroes of SQL connectivity testing

UDL file for SQL connectivity check A UDL (Universal Data Link) file is a text file that stores connection information for a data source. UDL files can be used to test connectivity to a variety of data sources, including SQL Serv…

How to persist SQL Agent job history in Azure SQL Managed Instance

Azure SQL Managed Instance provides a robust environment for running SQL Server workloads in the cloud. However, it does come with certain limitations, one of which revolves around the retention of SQL Agent job history. In t…

Uncovering High-CPU Queries: A Guide for Database Optimization

In the world of database management, identifying queries responsible for high CPU usage is paramount for maintaining optimal performance. This article will guide you through two essential SQL statements that can help you pin…

تحميل المزيد من المشاركات
لم يتم العثور على أي نتائج