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
SQL Server query plan.

SQL SERVER – How to Know Transaction Isolation Level for Each Session?

June 7, 2018
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Performance, SQL Scripts, SQL Server, Transaction Isolation

An outsourced app had teams using different coding standards, and performance suffered. Here is how to find the transaction isolation level of each session.

Read More
SQLAuthorityDB.

SQL SERVER – AlwaysOn Automatic Seeding Failure – Failure_code 15 and Failure_message: VDI Client Failed

April 3, 2018
Pinal Dave
SQL Tips and Tricks
AlwaysOn, SQL Backup and Restore, SQL DMV, SQL Error Messages, SQL Scripts, SQL Server

One database would not seed to the secondary replica. Here is how sys.dm_hadr_physical_seeding_stats showed failure_code 15 and VDI Client Failed.

Read More
A hand holding an inspection lamp to the engine of a vintage motorcycle on its stand in a garage.

Collecting Server Hardware Facts Before a Tuning Session

March 28, 2018
Pinal Dave
SQL Performance
Hardware, SQL CPU, SQL DMV, SQL Memory, SQL Server

Capture server hardware facts from SQL Server views, keep an inventory, and distinguish visible resources from workload sizing evidence.

Read More
Separate glass chambers show log sections of different sizes and activity

How to Get VLF Count and Size in SQL Server? – Interview Question of the Week #161

February 18, 2018
Pinal Dave
SQL Interview Questions and Answers
SQL DMV, SQL Scripts, SQL Server, Transaction Log, VLF

How do you get VLF Count and size in SQL Server? Newer versions add a Dynamic Management Function for it. Here is the query, plus links to my older methods.

Read More
A mineral specimen drawer with one sample set aside for individual inspection

How to Drop All the User Created Statistics by SQL Server? – Interview Question of the Week #158

January 28, 2018
Pinal Dave
SQL Interview Questions and Answers
SQL DMV, SQL Performance, SQL Scripts, SQL Server, SQL Statistics

SQL Server creates statistics on its own, but DBAs and the Tuning Advisor add more. Here is a script to drop all user Created Statistics safely.

Read More
Displaying data in SQL Server Management Studio.

SQL SERVER – Simple Script to Match Session ID to OS Thread ID

January 26, 2018
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Scripts, SQL Server, Windows

How is a SQL Server Session ID mapped to an OS Thread ID? Here is a simple script to match Session ID to OS Thread ID, with the scheduler and task state.

Read More
SQL Server Host Info Query.

SQL SERVER – DMV to Get Host Information – sys.dm_os_host_info

January 20, 2018
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Scripts, SQL Server, Windows

SQL Server now runs on Linux too, so I check the host first in health checks. Here is how the DMV sys.dm_os_host_info returns Host Information about the OS.

Read More
Previous 1 … 17 18 19 20 21 22 23 … 44 Next
  • Books
  • Testimonials
  • Privacy Policy

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