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
A rowboat with an oversized oar laid across it, sticking out both sides, a red ribbon on the handle

Index Key Size Limits: 900 and 1,700 Bytes Explained

September 26, 2018
Pinal Dave
SQL Tips and Tricks
SQL Data Storage, SQL Error Messages, SQL Index, SQL Server

Check index key size against the 900-byte clustered and 1,700-byte nonclustered limits, then narrow keys without losing query semantics.

Read More
Rising bread dough pressed flat against the shelf above it in a cramped cupboard, a red tea towel on the door

SQL SERVER – Rebuild Index Job Failed – Error: 9002 – The Transaction Log for Database ‘PinalDB’ is Full Due to ‘LOG_BACKUP’

September 10, 2018
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Error Messages, SQL Index, SQL Server, Transaction Log

A rebuild index job kept failing with error 9002: The transaction log for database ‘PinalDB’ is full due to ‘LOG_BACKUP’. Here is how I found the real cause.

Read More
Opaque cord sleeves with matching and different crimped profiles beside crimping pliers

Blind Index: Searching an Encrypted Column Without Decrypting

July 11, 2018
Pinal Dave
SQL Performance
ColumnStore Index, Computed Column, SQL Column, SQL Index

Encrypted emails cannot be searched, so store a keyed digest beside them. A hands-on demo of how it works, what it leaks and how rotation hurts.

Read More
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
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
A frog on a stone at the edge of a pond with tadpoles in the water below, a red dragonfly above

JSON Column Index in SQL Server: Index One Property

April 5, 2018
Pinal Dave
SQL Tips and Tricks
DBA, JSON, NoSQL, SQL Index

A JSON column index is one of the first tools a DBA needs when documents arrive in SQL Server. This test stores 100,000 recipes as JSON, searches one property with no index, then indexes it through a computed column. It also shows the cast that quietly breaks the match and how missing keys behave.

Read More
Forwarded Records Impact Count and Pages.

SQL SERVER – What is Forwarded Records and How to Fix Them?

March 8, 2018
Pinal Dave
SQL Tips and Tricks
Clustered Index, SQL Heap, SQL Index, SQL Scripts, SQL Server

Forwarded Records in heap tables still puzzle many SQL Server users, years after I first wrote about them. Here is what they are and how to fix them.

Read More
Previous 1 … 18 19 20 21 22 23 24 … 64 Next
  • Books
  • Testimonials
  • Privacy Policy

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