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
Detachable collars with a single chosen stud fitted to each collar

One Default Row per Customer With a Filtered Unique Index

February 1, 2022
Pinal Dave
SQL Performance
Clustered Index, ColumnStore Index, SQL Index

Two browser tabs, two default addresses. Here is how a filtered unique index keeps the rule in the database and how to switch defaults safely.

Read More
Gouache painting of a dirt trail beside a stream crossed by a short plank bridge, with a vermilion stone marker in the foreground

TempDB Operating System Error 3: Fix a Wrong TempDB Path

January 27, 2022
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server, SQL TempDB

TempDB operating system error 3 means a tempdb file path cannot be found, for example after a typo in a move. This post reproduces the error safely, shows how error 3 differs from error 2 and lists the repair steps when the service will not start.

Read More
Date Variable

Performance Troubles – Function on Date Variable – SQL in Sixty Seconds #192

January 18, 2022
Pinal Dave
SQL Video
SQL DateTime, SQL Function, SQL in Sixty Seconds, SQL Performance

However, I have a really good reason to use that. Today we are going to discuss Performance Troubles – Function on Date Variable.

Read More
Other Operators

Performance: Between and Other Operators – SQL in Sixty Seconds #191

January 12, 2022
Pinal Dave
SQL Video
SQL Operator, SQL Performance, SQL Server

If we use BETWEEN what will be the impact of performance. Let us watch Performance: Between and Other Operators.

Read More
database file

Most Used Database Files – SQL in Sixty Seconds #190

January 6, 2022
Pinal Dave
SQL Video
SQL Data Storage, SQL in Sixty Seconds, SQL Performance

If a client has many databases, this script finds the most used database files. Here is my SQL in Sixty Seconds video on it.

Read More
Gouache painting of five wooden spoons standing in a jar, the tallest with a reddish vermilion-stained bowl and handle

Reads and Writes per File: Rank Files by Bytes Moved

January 4, 2022
Pinal Dave
SQL Tips and Tricks
SQL Data Storage, SQL DMV, SQL Performance

Reads and writes per file show which data or log file SQL Server uses the most. This post ranks the files of a demo database by bytes moved with sys.dm_io_virtual_file_stats and explains what the tally can and cannot tell you.

Read More
Optimize DATE

Optimize DATE in WHERE Clause – SQL in Sixty Seconds #189

December 29, 2021
Pinal Dave
SQL Video
SQL DateTime, SQL in Sixty Seconds, SQL Performance

During Comprehensive Database Performance Health Check, I often get questions about how to Optimize DATE in the WHERE Clause.

Read More
Two street lamps on a cobbled square at night whose pools of light overlap in one brighter patch

Splitting OR Conditions Into UNION ALL for Index Seeks

December 27, 2021
Pinal Dave
SQL Performance
Execution Plan, SQL Index, SQL Server, SQL Union clause

Test splitting OR conditions into disjoint UNION ALL branches, preserve NULL behavior and row identity, and compare actual index access.

Read More
Hands lifting a colored pane from a salvaged window to fill the one gap in a stained glass window

Recovering One Dropped Table From a Full Backup

December 23, 2021
Pinal Dave
SQL Tips and Tricks
DBA, SQL Backup and Restore, SQL Table Operation

Recover one dropped table through a separate restored database, choose the recovery point, copy its data, and rebuild the table rules.

Read More
Compression for Performance

Data Compression for Performance – SQL in Sixty Seconds #188

December 16, 2021
Pinal Dave
SQL Video
Compression, SQL in Sixty Seconds, SQL Performance, SQL Server

Earlier I wrote a blog post about how Data Compression for Performance can help improve the efficiency of SQL Server.

Read More
Previous 1 … 31 32 33 34 35 36 37 … 590 Next
  • Books
  • Testimonials
  • Privacy Policy

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