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 jar of sourdough starter risen well above a red rubber band marking its earlier level.

Reading Performance Counters in T-SQL Without Misreading Them

September 17, 2021
Pinal Dave
SQL Performance
SQL Counter, SQL DMV, SQL Memory, SQL Monitoring

Read SQL Server performance counters with two timed samples, a proper ratio base, and a concise workload and memory dashboard.

Read More
An inspection bridge observes a workpiece while separate holding mechanisms remain visible.

SQL SERVER – NOLOCK with DMVs

September 14, 2021
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Lock, SQL Scripts, SQL Server

NOLOCK with DMVs is not a blanket reassurance against monitoring waits. A customer asked about omitting the hint.

Read More
Delivery cases and their multiple fastening clips are inspected as different counts.

SQL SERVER – Session Counts by Database Are Not Lock Row Counts

September 2, 2021
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Scripts, SQL Server

Total Sessions and total lock rows answer different questions. My original query counted lock rows under a session label.

Read More
Gouache painting of sailboats inside a harbor wall and a small vermilion rowboat outside it

System Threads Outside Max Worker Threads in SQL Server

August 31, 2021
Pinal Dave
SQL Tips and Tricks
SQL CPU, SQL DMV, SQL Scripts, SQL Server

System threads outside max worker threads run background work that the setting does not limit, as the documentation says. This post counts the background tasks with two read-only queries and explains what that means for sizing the setting.

Read More
Gouache painting of three sacks of lentils in three sizes, each with a vermilion scoop

Size and Rows of Each Table in SQL Server, Indexes Included

August 18, 2021
Pinal Dave
SQL Tips and Tricks
SQL Data Storage, SQL DMV, SQL Scripts, SQL Server

To list the size and rows of each table, add up the pages from sys.dm_db_partition_stats and split them into data, index and unused space. This post shows three traps in the common join query and checks the corrected result against sp_spaceused.

Read More
Max Column

MAX Columns Ever Existed in Table – SQL in Sixty Seconds #182

August 17, 2021
Pinal Dave
SQL Video
SQL DMV, SQL in Sixty Seconds, SQL Server

Earlier I wrote about SQL SERVER – MAX Columns ID Used in Table and lots of people asked me to create a video on this topic. Let us see the video.

Read More
A worn shuttle is inspected over its finite work area beside a fresh unworn tool.

SQL SERVER – High Frequency Cached Query Counts and Statement Metrics

August 12, 2021
Pinal Dave
SQL Performance
SQL Cache, SQL DMV, SQL Scripts, SQL Server

I measure High Frequency cached statements with decimal executions-per-second arithmetic. A customer wanted to identify the busiest queries.

Read More
Previous 1 2 3 4 5 6 … 44 Next
  • Books
  • Testimonials
  • Privacy Policy

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