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
Several similar sparrows and one different bird gather at a feeder

How to Find Cardinality or Uniqueness for any Column? – Interview Question of the Week #177

June 10, 2018
Pinal Dave
SQL Interview Questions and Answers
SQL Index, SQL Performance, SQL Scripts, SQL Server

What is Cardinality, and how do you find it for a column? This simple script shows the percentage of unique values, using an AdventureWorks table.

Read More
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
A wooden seesaw tipping as one more stone is added from a red bucket.

The Tipping Point: Why SQL Server Skips Your Nonclustered Index

June 5, 2018
Pinal Dave
SQL Performance
Execution Plan, SQL Index, SQL Performance, SQL Server

Find the tipping point where key lookups cost more than a scan, then compare covering and filtered indexes with measured reads.

Read More
One railway route can split into parallel tracks, but the switch controls the route

How to Force a Parallel Execution Plan for a Query? – Interview Question of the Week #170

April 22, 2018
Pinal Dave
SQL Interview Questions and Answers
Execution Plan, SQL Performance, SQL Scripts, SQL Server

A customer asked how to force a Parallel Execution Plan for a query. Here are two methods, including QUERYTRACEON 8649, with a simple example.

Read More
Three wheelbarrows beside three pebble heaps, the biggest heap next to the wide red barrow.

Faster Backups With BUFFERCOUNT and MAXTRANSFERSIZE, Measured

April 12, 2018
Pinal Dave
SQL Tips and Tricks
DBA, SQL Backup and Restore, SQL Performance, SQL Server

Measure faster backups by changing BUFFERCOUNT, MAXTRANSFERSIZE, and backup stripes one at a time while tracking speed and memory.

Read More
Separate levers and one combined lever move several sliders

Which is Better for Performance – SELECT or SET? – Interview Question of the Week #166

March 25, 2018
Pinal Dave
SQL Interview Questions and Answers
SQL Performance, SQL Server

Which is Better for Performance, SELECT or SET? In a loop, one SELECT that assigns several variables beats separate SET statements. Here is why.

Read More
A round-bottomed wooden wobble toy with a red base rocking back upright on a table.

Automatic Plan Correction: Reading SQL Server’s Tuning Advice

March 10, 2018
Pinal Dave
SQL Performance
Execution Plan, Query Store, SQL Performance, SQL Server 2017

Read automatic plan correction advice, compare regressed and recommended plans, and verify that forcing the last good plan held.

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

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