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
Kit gets the potatoes fast, but every burner is busy, so the order waits on the rail while the potatoes grow bored little faces and Casey hangs a second stopwatch. Quinn sums it up: "Ready to cook, stuck in line. That's a signal wait!"

Signal Wait Stats: CPU Waits vs Resource Waits

February 2, 2011
Pinal Dave
SQL Performance
SQL CPU, SQL DMV, SQL Scripts, SQL Wait Stats

Signal wait stats show how long a SQL Server query sat ready to run, waiting in line for a CPU. On Night 2 at the Clipboard Diner, the potatoes arrive on time and the Garden Hash waits anyway. Then two queries split your server’s waits into the CPU part and the resource part.

Read More
Casey times one Garden Hash: Ace stalls at an empty potato bin, and by the time Quinn serves the plate, a cobweb has grown on the trucker's coffee cup. Casey reads the stopwatch: "Cooking: four minutes. Waiting: nine."

Wait Stats Basics: How Waits Work in SQL Server

February 1, 2011
Pinal Dave
SQL Performance
SQL DMV, SQL Scripts, SQL Wait Stats

Wait stats basics start with one idea: a query in SQL Server is always either working or waiting. On Night 1 at the Clipboard Diner, one plate of Garden Hash shows the three states every query moves through. Then two queries show the same thing on your own server.

Read More
SELECT NEXT VALUE FOR Seq As SeqNumber.

SQL SERVER – Denali – SEQUENCE is not IDENTITY

January 30, 2011
Pinal Dave
SQL Tips and Tricks
SQL Scripts

SEQUENCE is not IDENTITY. A reader asked about the difference: identity belongs to a single column, while a sequence does not depend on any table.

Read More
SQL SERVER - Denali - Introduction to SEQUENCE - Simple Example of SEQUENCE

SQL SERVER – Denali – Introduction to SEQUENCE – Simple Example of SEQUENCE

January 29, 2011
Pinal Dave
SQL Tips and Tricks
SQL Scripts

A quick introduction to SEQUENCE in SQL Server Denali: create a sequence with start, increment and max values, then fetch numbers with NEXT VALUE FOR.

Read More
A receiving trough distributes small pieces through several separate channels into independent trays.

SQL SERVER – Reducing Page Contention on TempDB

January 26, 2011
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL TempDB

Page Contention on TempDB needs an identified allocation wait and server version. I check both before recommending legacy trace flags.

Read More
Gouache painting: a cream garment bag hangs from a wooden wardrobe rail, unzipped halfway so a slate-blue jacket shows clearly inside

FOR XML PATH: Decode Escaped Text Through TYPE

January 24, 2011
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Scripts, SQL String

FOR XML PATH escapes reserved characters. Use TYPE and scalar extraction to recover text instead of manually replacing entity spellings.

Read More
SQL SERVER- Differences Between Left Join and Left Outer Join

SQL SERVER- Differences Between Left Join and Left Outer Join

January 22, 2011
Pinal Dave
SQL Tips and Tricks
SQL Joins, SQL Scripts

Is there any difference between LEFT JOIN and LEFT OUTER JOIN? A reader asked, and here is the short answer: none at all, they are the same.

Read More
Previous 1 … 239 240 241 242 243 244 245 … 365 Next
  • Books
  • Testimonials
  • Privacy Policy

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