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 a garden path with a red rake lying tines up, a loose stone and a puddle

SQL Server Performance Mistakes: Three Checks to Run Today

January 25, 2017
Pinal Dave
SQL Performance
SQL Index, SQL Performance, SQL Server, SQL Server Configuration

SQL Server performance mistakes hide in the settings, the files and the code. This post checks four server settings, shows poor file growth and its fix, and measures two code mistakes, a function on an indexed column and a data type mismatch, in logical reads.

Read More
Three intact oboe reeds with one subtly different tip opening

Spotting Definition Drift With HASHBYTES on Module Code

January 20, 2017
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Performance, SQL Server

Did someone change a production procedure and forget to tell you? Hash the module text, compare it with a baseline, and let SQL Server point at the culprit.

Read More
SQL SERVER - Testing Database Performance with tSQLt and SQLQueryStress

SQL SERVER – Testing Database Performance with tSQLt and SQLQueryStress

December 21, 2016
Pinal Dave
SQL Tips and Tricks
Devart, SQL Performance, SQL Scripts, SQL Server

Database testing is often skipped until there is a problem. Here is my approach to testing database performance with tSQLt and SQLQueryStress.

Read More
A long clothes rail of shirts sorted by shade, one section opened at a red hanger.

Columnstore Segment Elimination: Loading Data So Scans Skip Work

November 17, 2016
Pinal Dave
SQL Performance
ColumnStore Index, SQL Index, SQL Performance, SQL Server

See how segment elimination skips columnstore work by checking segment metadata, measuring scans, and loading rows in a useful order.

Read More
Bamboo whisk mixing matcha beside two separate ingredient dishes

Why ’10’ + 5 Returns 15: Mixing Strings and Numbers

October 6, 2016
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Performance, SQL Server

The plus sign adds or glues text depending on the types on each side. I show the surprise, the error 245 it can cause, and how text keys get hurt.

Read More
Leather beveler applying a repeated trim to one selected edge

Find and Replace With Regular Expressions in SSMS

August 3, 2016
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Performance, SQL Server

A regex replace can turn forty column names into ISNULL expressions in seconds. Here is the pattern, the safety habits, and the trap of a zero default.

Read More
Added felt layer spreading tightly packed padding above an intact bed spring

The Row Version Tag: Page Splits After Turning On RCSI

July 11, 2016
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Performance, SQL Server

Turn on RCSI and every row you update gets a little bigger. On packed pages that means page splits, and I show the numbers on a small demo table.

Read More
Previous 1 … 26 27 28 29 30 31 32 … 50 Next
  • Books
  • Testimonials
  • Privacy Policy

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