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 hand press has produced a stack of identical clay tiles through repeated work

How to Find Number of Times Function Called in SQL Server? – Interview Question of the Week #104

December 25, 2016
Pinal Dave
SQL Interview Questions and Answers
SQL DMV, SQL Function, SQL Scripts, SQL Server, SQL Server 2016

A function was causing CPU spikes. How many times was that function called, and at what cost? The SQL Server 2016 DMV dm_exec_function_stats shows it.

Read More
Several pneumatic message tubes deliver separate capsules into one inspection tray

DMV to Replace DBCC INPUTBUFFER Command – Interview Question of the Week #100

December 4, 2016
Pinal Dave
SQL Interview Questions and Answers
SQL DMV, SQL Scripts, SQL Server, SQL Server DBCC

Is there a DMV to replace the DBCC INPUTBUFFER command? An interview question that caught me off guard, answered with sys.dm_exec_input_buffer.

Read More
Gouache painting of a line of small paper boats waiting before a canal lock gate, the first one painted red

Resource Bottlenecks in SQL Server: A Wait Stats Script That Groups Them

September 17, 2016
Pinal Dave
SQL Performance
SQL DMV, SQL Scripts, SQL Server, SQL Wait Stats

Resource bottlenecks hide in the wait statistics, under a pile of idle waits and totals since startup. This post builds a script that removes the idle waits, measures an interval and groups the rest by resource. It also explains how to read each group and the signal wait.

Read More
A protected mechanism awaits fit checks beside two differently fitted instrument cases.

SQL SERVER – Edition Downgrade with Supported Migration Checks

September 14, 2016
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Server

To Downgrade SQL Server editions, I plan a supported migration or reinstall. I test the application on the destination edition first.

Read More
Recent impressions remain in wet clay while older marks have been smoothed away

How to Find Recent Executed Queries in SQL Server? – Interview Question of the Week #087

September 4, 2016
Pinal Dave
SQL Interview Questions and Answers
SQL Cache, SQL DMV, SQL Scripts, SQL Server

An interview question that stumped candidates: how do you find recent executed queries in SQL Server? A DMV script using sys.dm_exec_query_stats answers it.

Read More
Gouache painting of three beehives in a meadow with the middle hive roof painted red

Detect Performance Problems in SQL Server With DMVs

August 4, 2016
Pinal Dave
SQL Performance
Notes from the Field, SQL DMV, SQL Monitoring

To detect performance problems in SQL Server, start with four suspects and a few dynamic management views that show CPU waits, memory use and the system_health session. This guest post by Eduardo Castro explains where to look first.

Read More
SQL SERVER - Script: Change Service Account Using WMI / SMO

SQL SERVER – Script: Change Service Account Using WMI / SMO

January 23, 2016
Pinal Dave
SQL Tips and Tricks
PowerShell, SQL DMV, WMI

How do you manage 1000 SQL Servers without clicking through each one? Here is the script I use to change service account for all instances with WMI and SMO.

Read More
Previous 1 … 21 22 23 24 25 26 27 … 45 Next
  • Books
  • Testimonials
  • Privacy Policy

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