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
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
A viewing window onto a bakery, a red stool in front, the door beside it closed

Granting VIEW SERVER STATE Without Handing Out sysadmin

January 8, 2009
Pinal Dave
SQL Tips and Tricks
DBA, SQL DMV, SQL Login, SQL Server Security

Grant VIEW SERVER STATE or SQL Server 2022 performance permissions to a monitoring login, add job history access, and test its limits.

Read More
A hand holding a stethoscope to the flank of a calm chestnut horse in a stable, a closed leather bag nearby

Five DMVs Worth Memorizing

December 19, 2008
Pinal Dave
SQL Performance
DBA, SQL DMV, SQL Performance, SQL Server, SQL Wait Stats

Five DMVs worth memorizing show SQL Server sessions, active requests, waits, index use, and file I/O during an incident.

Read More
Two glass jars on a garden wall, one empty, one filled with water under a red lid

Comparing Two Wait Stats Snapshots to See What Changed

December 8, 2008
Pinal Dave
SQL Performance
DBA, SQL DMV, SQL Performance, SQL Wait Stats

Compare wait stats snapshots over a chosen window, subtract cumulative counters, remove background waits, and calculate rates and average waits.

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

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