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 line of ants on a stone doorstep carrying crumbs, most of a dropped biscuit already gone

Grouping by query_hash to Find Cheap Queries That Cost the Most

March 30, 2017
Pinal Dave
SQL Performance
Query Store, SQL Cache, SQL CPU, SQL DMV, SQL Server

Group cached statements by query_hash to find high total CPU and reads, compare plan hashes, and account for missing cache history.

Read More
An open-sided sorting machine shows both its inner mechanism and the tokens it returns

How to Find How Many Rows Each Query Returned Along with Execution Plan? – Interview Question of the Week #115

March 19, 2017
Pinal Dave
SQL Interview Questions and Answers
Execution Plan, SQL DMV, SQL Scripts, SQL Server

Want to see How Many Rows Each Query Returned along with its execution plan? Here is a query for it, and why reads and worker time matter more.

Read More
6.3 os info sql.

SQL SERVER – SQL Server: Getting OS information using DMV

February 6, 2017
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Scripts, SQL Server, Windows

Need the Windows version SQL Server runs on? Get OS information with the sys.dm_os_windows_info DMV, or read it from the ERRORLOG at startup.

Read More
Tempdb database icon.

SQL SERVER – Script to Find and Monitoring TempDB Space Usage

February 2, 2017
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Scripts, SQL Server, SQL TempDB

A client’s TempDB log grew to 80 GB while the data file was 5 GB. Here is the script I used for monitoring TempDB Space usage and finding the cause.

Read More
A square wooden piece passes through a brass adapter and emerges as a round piece

Find All Queries with Implicit Conversion in SQL Server – Interview Question of the Week #107

January 29, 2017
Pinal Dave
SQL Interview Questions and Answers
SQL DMV, SQL Performance, SQL Scripts, SQL Server

Question: How do I find out how many queries have an Implicit Conversion in SQL Server? The source of this question is very interesting.

Read More
A screenshot of an SQL query window.

SQL SERVER – Using dm_db_stats_properties With InMemory OLTP Tables

January 26, 2017
Pinal Dave
SQL Tips and Tricks
In-Memory OLTP, SQL DMV, SQL Memory, SQL Server

Does sys.dm_db_stats_properties show modified rows for InMemory OLTP tables? I tested it, and memory-optimized tables are now covered. Here is what I found.

Read More
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
Previous 1 … 20 21 22 23 24 25 26 … 44 Next
  • Books
  • Testimonials
  • Privacy Policy

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