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
SQL SERVER - Find Statistics Update Date - Update Statistics

SQL SERVER – Find Statistics Update Date – Update Statistics

January 25, 2010
Pinal Dave
SQL Performance
SQL Index, SQL Scripts, SQL Statistics

Stale statistics can hurt a query plan. Use STATS_DATE to find the statistics update date for each index, then update them if they look outdated.

Read More
SQL Server fragmentation window.

SQL SERVER – Fragmentation – Detect Fragmentation and Eliminate Fragmentation

January 12, 2010
Pinal Dave
SQL Performance
SQL Index, SQL Scripts

What is fragmentation, and how do you detect fragmentation and eliminate it? I explain the internal and external types and what each one does to your pages.

Read More
SQL Server creation of index with ignore duplicate key.

SQL SERVER – Unique Nonclustered Index Creation with IGNORE_DUP_KEY = ON – A Transactional Behavior

January 6, 2010
Pinal Dave
SQL Tips and Tricks
SQL Index, SQL Scripts, SQL Transactions

When is IGNORE_DUP_KEY = ON useful? Jacob Sebastian and I built an example that shows its transactional behavior when you insert only nonduplicate rows.

Read More
SQL error on unique index creation.

SQL SERVER – Unique Nonclustered Index Creation with IGNORE_DUP_KEY = ON

January 4, 2010
Pinal Dave
SQL Performance
SQL Error Messages, SQL Index, SQL Scripts

What does IGNORE_DUP_KEY = ON do on a unique nonclustered index? Duplicate inserts give a warning instead of an error, and my example shows both options.

Read More
Detailed painting of three wooden reading trays, each containing the same stack of five colored books, in a warm private library.

Prefix Searches: LIKE, LEFT and CHARINDEX

December 24, 2009
Pinal Dave
SQL Performance
SQL Index, SQL Performance, SQL Scripts, SQL Server

LIKE, LEFT and CHARINDEX can match the same prefix through different access paths. Compare complete matching rows and measured plans, then test literal wildcard characters and collation before choosing a search expression.

Read More
SQL SERVER - Fillfactor, Index and In-depth Look at Effect on Performance

SQL SERVER – Fillfactor, Index and In-depth Look at Effect on Performance

December 16, 2009
Pinal Dave
SQL Performance
SQL Index, SQL Scripts

Where in SQL Server does 100 equal 0? In Fillfactor settings. An in-depth look at how the Fillfactor of an index affects page fill and performance.

Read More
SQL SERVER - Size of Index Table for Each Index - Solution

SQL SERVER – Size of Index Table for Each Index – Solution

November 30, 2009
Pinal Dave
SQL Tips and Tricks
SQL Index, SQL Scripts

Two reader solutions to my puzzle: queries that show the size of the index table for each index, accurate in nearly all of my tests.

Read More
Previous 1 … 45 46 47 48 49 50 51 … 64 Next
  • Books
  • Testimonials
  • Privacy Policy

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