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 - Introduction to Force Index Query Hints - Index Hint - Part2

SQL SERVER – Introduction to Force Index Query Hints – Index Hint – Part2

February 8, 2009
Pinal Dave
SQL Performance
SQL Constraint and Keys, SQL Index, SQL Scripts

Part 2 on force index query hints: instead of the inline WITH table hint, use the OPTION clause at the end of the query and name the table for each hint.

Read More
Execution Plan.

SQL SERVER – Introduction to Force Index Query Hints – Index Hint

February 7, 2009
Pinal Dave
SQL Performance
SQL Constraint and Keys, SQL Index, SQL Scripts

An index hint lets you force SQL Server to use a specific index in a query. I show the WITH (INDEX()) syntax with examples, and why it is for special cases only.

Read More
SQL SERVER - Observation - Effect of Clustered Index over Nonclustered Index

SQL SERVER – Observation – Effect of Clustered Index over Nonclustered Index

February 4, 2009
Pinal Dave
SQL Puzzle
SQL Constraint and Keys, SQL Index, SQL Scripts

An observation from my query optimization work: the effect of clustered index on a nonclustered index, shown with a sample table and execution plans.

Read More
SQL SERVER - FIX : ERROR : Msg 5834, Level 16, State 1, Line 1 The affinity mask specified conflicts with the IO affinity mask specified. Use the override option to force this configuration

SQL SERVER – FIX : ERROR : Msg 5834, Level 16, State 1, Line 1 The affinity mask specified conflicts with the IO affinity mask specified. Use the override option to force this configuration

January 31, 2009
Pinal Dave
SQL Performance
SQL Error Messages, SQL Index, SQL Scripts, SQL Stored Procedure

Msg 5834 says the affinity mask conflicts with the IO affinity mask when you change fill factor with sp_configure. The fix is RECONFIGURE WITH OVERRIDE.

Read More
SQL SERVER - 2008 - 2005 - Rebuild Every Index of All Tables of Database - Rebuild Index with FillFactor

SQL SERVER – 2008 – 2005 – Rebuild Every Index of All Tables of Database – Rebuild Index with FillFactor

January 30, 2009
Pinal Dave
SQL Performance
SQL Cursor, SQL Index, SQL Scripts

A quick script to rebuild every index of all tables in a database with a fillfactor of 80, plus a short note on what fillfactor does to leaf-level pages.

Read More
SQL SERVER - Difference Between Index Scan and Index Seek

SQL SERVER – Difference Between Index Scan and Index Seek

January 18, 2009
Pinal Dave
SQL Performance
SQL Index, SQL Scripts

What is the difference between Index Scan and Index Seek? I explain how SQL Server uses search predicates to decide which index operation a query gets.

Read More
A workshop shows a full old tally tray beside a cleared new tray, with ceramic counters preserved in linen.

Index Usage Snapshots: Reject Invalid Counter Deltas

January 16, 2009
Pinal Dave
SQL Performance
SQL DMV, SQL Index, SQL Monitoring

Index usage snapshots require a valid counter window. Keep missing rows and lifecycle gaps visible. The guarded example rejects invalid pairs before calculating any activity delta.

Read More
Previous 1 … 48 49 50 51 52 53 54 … 62 Next
  • Books
  • Testimonials
  • Privacy Policy

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