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
An angler casting two lines into two pools, one red float bobbing

MultiSubnetFailover: Why Clients Time Out After an AG Failover

March 17, 2012
Pinal Dave
SQL Tips and Tricks
AlwaysOn, SQL Connection, SQL High Availability, SQL Server

Diagnose an AG failover timeout with listener DNS, MultiSubnetFailover, RegisterAllProvidersIP, HostRecordTTL, and client-driver checks.

Read More
An egg slicer lowers parallel wires through one egg beside individually cut egg slices

Replacing a Running Total Cursor With a Window Function

March 16, 2012
Pinal Dave
SQL Tips and Tricks
SQL Cursor, SQL Function, SQL Order By, Temp Table

That loop adding to a variable can usually become one window function. Here is the proof that the balances match, and the tie trap to watch for.

Read More
A hand taps a whole watermelon at a market stall, with an unused knife on the counter

Reading a Backup File Before You Restore With RESTORE HEADERONLY

March 15, 2012
Pinal Dave
SQL Tips and Tricks
Compression, DBA, SQL Backup and Restore, SQL Server

Use RESTORE HEADERONLY to identify backup sets, source versions and finish dates before selecting a restore and checking the media.

Read More
SQL SERVER - SQL Server Performance: Indexing Basics - SQL in Sixty Seconds #006 - Video

SQL SERVER – SQL Server Performance: Indexing Basics – SQL in Sixty Seconds #006 – Video

March 14, 2012
Pinal Dave
SQL Video
Database, SQL in Sixty Seconds, SQL Scripts

Indexes are the first baby step in tuning SQL Server performance. This SQL in Sixty Seconds video, #006, covers indexing basics in about a minute.

Read More
Crossed pull cords immobilize the slats of a single Venetian blind

Intra-Query Parallel Deadlock: When One Query Blocks Itself

March 13, 2012
Pinal Dave
SQL Performance
Deadlock, MAXDOP, Parallel, SQL Extended Events

No error, no deadlock graph, just a report that is slow on some runs. Here is a demo where one query deadlocks with itself, and how to fix it.

Read More
A grain flail beside aligned stalks with varied individual seed heads

A Separate Clustered Index for a Nonclustered GUID Primary Key

March 12, 2012
Pinal Dave
SQL Performance
Database, SQL Scripts, SQL Server

The primary key and the clustered index are two different jobs. This demo keeps the GUID as the public ID and clusters on an identity column instead.

Read More
A shop window with a clean rectangular section wiped in the condensation, showing part of the display behind

What Is a View in SQL Server?

March 11, 2012
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts, SQL Server

A view in SQL Server is a saved query, not a saved copy. Nothing is stored, the text is run every time, and that single fact explains what a view is good for and why it never makes anything faster.

Read More
Previous 1 … 543 544 545 546 547 548 549 … 841 Next
  • Books
  • Testimonials
  • Privacy Policy

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