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 three mountain paths from one post to the same hut, with a vermilion stone cairn on the middle path

Group by Query Hash: Find One Query With Many Plans

June 4, 2021
Pinal Dave
SQL Performance
Execution Plan, SQL Cache, SQL Performance, SQL Scripts

Group by query hash to add up every cached copy of one query. See why the top query hides across entries in SQL Server.

Read More
Gouache painting of two identical teapots on separate shelves, one on a vermilion saucer

Same Query Plan, Different Cache Entry in SQL Server

June 2, 2021
Pinal Dave
SQL Performance
Ad Hoc Query, Execution Plan, SQL Cache, SQL Scripts

The same query plan can sit in the cache many times when query text changes by a space, a letter case or a comment. See it, measure it and learn how to share one entry.

Read More
Maximum Worker Threads

Best Value for Maximum Worker Threads – SQL in Sixty Seconds #170

June 1, 2021
Pinal Dave
SQL Video
SQL CPU, SQL in Sixty Seconds, SQL Scripts, SQL Server

A very common question I often receive during Comprehensive Database Performance Health Check is what is the best value for Maximum Worker Threads.

Read More
cultures FORMAT

SQL SERVER – Display Dates in Different cultures FORMAT

May 31, 2021
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Scripts, SQL Server

Today we are going to learn a very simple and interesting concept used very little. It is about how to Display Dates in Different cultures FORMAT.

Read More
Gouache painting of a tray of mixed buttons beside four glass tubes of stacked buttons, the first tube filled with deep red buttons

Rowstore to Columnstore: Replace the Clustered Index

May 28, 2021
Pinal Dave
SQL Performance
ColumnStore Index, SQL Column, SQL Index, SQL Scripts

Rowstore to columnstore is a change of the clustered index, and one command works in only one case. This post builds two tables of 600,000 rows, shows the error from DROP_EXISTING on a primary key, and converts each table the working way. It compares the sizes before and after.

Read More
A caddie drawing the next club from a golf bag while the golfer is still walking toward the ball

Read-Ahead Reads in STATISTICS IO: What They Tell You

May 26, 2021
Pinal Dave
SQL Performance
Disk, SQL Performance, SQL Scripts, SQL Server

Interpret read-ahead reads in STATISTICS IO, compare isolated cold scans and seeks, and separate prefetch from storage-wait evidence.

Read More
Gouache painting of two nearly identical potted plants on a windowsill with a small vermilion watering can between them.

EDIT_DISTANCE and JARO_WINKLER: Fuzzy String Matching in SQL Server 2025

May 24, 2021
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL String

EDIT_DISTANCE counts the single-character changes between two strings, and the JARO_WINKLER functions score how alike they look. This post tests the four preview functions on SQL Server 2025, shows the Windows collation error and its fix, and finds near-duplicate customer names.

Read More
Previous 1 … 12 13 14 15 16 17 18 … 365 Next
  • Books
  • Testimonials
  • Privacy Policy

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