This month's discount Comprehensive Database Performance Health Check · Testimonials
SQLAuthority with Pinal Dave
Home
  • Consulting
    • Health Check
  • Free Videos
  • All Articles
    • AI
    • SQL Performance
    • SQL Tips and Tricks
    • Interview Questions and Answers
    • SQL Puzzle
    • SQL Video
    • SQLAuthority News
    • Personal
  • Books
  • Consulting
A garden rain gauge on a post beside a board of pebbles, one red pebble for today

A Performance Counter Baseline Saved to a Table Every 15 Minutes

January 7, 2016
Pinal Dave
SQL Performance
DBA, SQL Counter, SQL DMV, SQL Monitoring, SQL Server Agent

Save a performance counter baseline every 15 minutes, calculate interval rates, detect resets, and compare a defined week with last month.

Read More
A dusty high kitchen shelf of forgotten appliances, a hand lifting a red fondue pot down into a box.

Finding Dead Code: Stored Procedures Nobody Calls

December 8, 2015
Pinal Dave
SQL Tips and Tricks
DBA, SQL Dependency, SQL DMV, SQL Stored Procedure

Investigate dead code with cached procedure statistics, dependency checks and retained snapshots, then quarantine candidates before removal.

Read More
Gouache painting of a smiling scheduler robot distributing colored blocks to workers on connected gears

SQL Server Scheduler and Operating System Scheduling: Notes

September 17, 2015
Pinal Dave
SQL Tips and Tricks
SQL CPU, SQL DMV, SQL Server, SQL Server Architecture

The SQL Server scheduler decides which ready work gets processor time, on top of the operating system’s own thread scheduling. Tested queries on SQL Server 2025 show runnable, running and suspended tasks under load, and the permission each view needs.

Read More
Test database server backups.

SQL SERVER – Identify Time Between Backups Calculation

September 7, 2015
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL DMV

A DBA whose latest tape backup was corrupt wanted to know the possible data loss. This script uses backup history to calculate the time between backups.

Read More
Table showing results of queries.

SQL SERVER – Knowing Which Database is Consuming My Memory

August 5, 2015
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Memory

Which database is consuming my memory? This query on sys.dm_os_buffer_descriptors counts buffer pool pages per database and page type.

Read More
SQL SERVER - WARNING - SQL Server Has Encountered N Occurrence(s) of I/O Requests Taking Longer Than 15 Seconds

SQL SERVER – WARNING – SQL Server Has Encountered N Occurrence(s) of I/O Requests Taking Longer Than 15 Seconds

May 15, 2015
Pinal Dave
SQL Tips and Tricks
SQL Counter, SQL DMV, SQL Error Messages, SQL Log, SQL Server

Seeing ‘I/O requests taking longer than 15 seconds’ in the ERRORLOG? Here is what this common warning means and where to look for the slow disk behind it.

Read More
Gouache painting of two storehouses on a canal joined by a plank bridge with a red handcart crossing

How to Identify Cross-Database Transactions in SQL Server

April 22, 2015
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Scripts, SQL Server, SQL Transactions

To find cross-database transactions, search the code for references to other databases, watch a live transaction with a DMV, or read special records in the transaction log. This post tests all three on two demo databases. It also shows why a popular log script flags a brand new database.

Read More
Previous 1 … 22 23 24 25 26 27 28 … 45 Next
  • Books
  • Testimonials
  • Privacy Policy

© 2006 – 2026 All rights reserved. pinal @ SQLAuthority.com