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
Gouache painting of a single small red crane on a quay with a long line of crates waiting to be moved

Measure CPU Pressure in SQL Server with Waits and Schedulers

August 17, 2009
Pinal Dave
SQL Performance
SQL CPU, SQL DMV, SQL Wait Stats

CPU Pressure means tasks are ready to run but every scheduler is busy, so they wait in a queue. This post reads that queue from the schedulers, compares signal waits with resource waits, checks recent CPU history and finds the queries that use the most CPU. It ends with a plain way to decide between a faster CPU, more cores and better queries.

Read More
A grey seal asleep across the only path to a cove while a person with a red paddle waits behind it

Finding Sleeping Sessions That Still Hold Locks

June 19, 2009
Pinal Dave
SQL Performance
SQL DMV, SQL Lock, SQL Server, SQL Transactions

Find sleeping sessions with open transactions, inspect their locks and last batch, and identify the application owner before ending work.

Read More
A cold hearth, retained charcoal pieces in a terracotta bowl, a brass shovel and a brush.

Restart History: Preserve Startup Evidence Before Logs Cycle

May 19, 2009
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Error Messages, SQL Monitoring, SQL Server Services

Restart history records startup evidence before retained logs disappear. Keep each source and timestamp separate, and test repeat collection with synthetic archives.

Read More
93538 Same TransactionID.

SQL SERVER – Interesting Observation of DMV of Active Transactions and DMV of Current Transactions

April 11, 2009
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Scripts, SQL System Table, SQL Transactions

sys.dm_tran_active_transactions and sys.dm_tran_current_transaction look alike, but one lists active transactions for the instance, the other only your session.

Read More
A piano with felt covering the outer keys so only the middle keys can be played, two hands resting on them.

How Many CPUs SQL Server Really Uses

March 28, 2009
Pinal Dave
SQL Performance
MAXDOP, SQL CPU, SQL DMV, SQL Server, Virtualization

CPUs SQL Server really uses depend on edition, guest topology, affinity, and online schedulers; learn to see the instance’s usable capacity.

Read More
A hardware bench contrasts screws stored apart from hinges with a divided tray holding both together.

user_lookups: Verify the Plan Before Adding Coverage

March 25, 2009
Pinal Dave
SQL Performance
Clustered Index, SQL DMV, SQL Index, SQL Performance

user_lookups helps identify where to investigate missing coverage. Compare complete query results and actual plans before adding included columns. Weigh the read benefit against storage and write costs.

Read More
A workshop shows a full old tally tray beside a cleared new tray, with ceramic counters preserved in linen.

Index Usage Snapshots: Reject Invalid Counter Deltas

January 16, 2009
Pinal Dave
SQL Performance
SQL DMV, SQL Index, SQL Monitoring

Index usage snapshots require a valid counter window. Keep missing rows and lifecycle gaps visible. The guarded example rejects invalid pairs before calculating any activity delta.

Read More
Previous 1 … 38 39 40 41 42 43 44 Next
  • Books
  • Testimonials
  • Privacy Policy

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