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
One hand passing a small red-handled peeler to another, while a full knife block stays untouched behind.

Granular Server Roles: ##MS_ServerStateReader## and Friends

September 23, 2013
Pinal Dave
SQL Tips and Tricks
DBA, SQL DMV, SQL Login, SQL Server 2022, SQL Server Security

Assign granular server roles in SQL Server 2022, inspect membership, and give monitoring accounts the state access their queries need.

Read More
Eight identical plain boxes packed in a shallow wooden tray in two rows of four, one box red.

Pages and Extents: How SQL Server Stores Rows in a Data File

August 29, 2013
Pinal Dave
SQL Tips and Tricks
Database, SQL Data Storage, SQL Datatype, SQL DMV

Pages and Extents are the building blocks of every SQL Server data file. A page is 8 KB, an extent is eight pages, and a row has to fit on a page. This post shows how to count the pages a table uses and what happens when a row is too wide.

Read More
A fresh photo print of a runner at the finish hanging to dry by a red clip in a darkroom

The Last Actual Execution Plan: LAST_QUERY_PLAN_STATS in Practice

June 3, 2013
Pinal Dave
SQL Performance
Execution Plan, SQL Cache, SQL DMV, SQL Server, SQL Server 2019

Capture the last actual execution plan with LAST_QUERY_PLAN_STATS, inspect runtime rows, and understand what cache retention cannot provide.

Read More
An almost empty canoe rack on a dock with one red canoe left, while unreturned canoes sit on the far shore

Connection Pooling Problems: Timeouts, Leaks and Max Pool Size

May 9, 2013
Pinal Dave
SQL Tips and Tricks
SQL Connection, SQL DMV, SQL Error Messages, SQL Server

Diagnose connection pooling timeouts with session counts, sleeping activity, open transactions, and client settings that divide pools.

Read More
SQL SERVER - sys.dm_xe_map_values - Reasons for Statement Recompilation

SQL SERVER – sys.dm_xe_map_values – Reasons for Statement Recompilation

May 5, 2013
Pinal Dave
SQL Tips and Tricks
SQL DMV

What are all the reasons a statement recompiles? I found the full list with the DMV sys.dm_xe_map_values, handy when you read a Profiler or Extended Events trace.

Read More
A red squirrel moving the last acorn from one of two tree hollows into the other, now full

Overlapping Indexes With INCLUDE Columns: Merging Them Safely

April 2, 2013
Pinal Dave
SQL Performance
DBA, SQL DMV, SQL Index, SQL Performance

Find overlapping indexes, compare ordered keys and INCLUDE lists, merge coverage carefully, and review usage before removing either index.

Read More
SQL SERVER - Identify Last User Access of Table using T-SQL Script

SQL SERVER – Identify Last User Access of Table using T-SQL Script

March 21, 2013
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Scripts

How do you find the last user access of a table? A question at TechEd India 2013 led to this quick DMV script. Keep in mind the data resets on restart.

Read More
Previous 1 … 26 27 28 29 30 31 32 … 45 Next
  • Books
  • Testimonials
  • Privacy Policy

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