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 - Technical Articles - Performance Optimizations for the XML Data Type in SQL Server 2005

SQL SERVER – Technical Articles – Performance Optimizations for the XML Data Type in SQL Server 2005

February 11, 2009
Pinal Dave
SQL Performance
Best Practices, MVP, SQL Index, SQL XML

A must read Microsoft article on performance optimizations for the XML data type in SQL Server 2005: data modeling, bulk loading, XML indexes and queries.

Read More
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 - Quickest Way to - Kill All Threads - Kill All User Session - Kill All Processes

SQL SERVER – Quickest Way to – Kill All Threads – Kill All User Session – Kill All Processes

February 6, 2009
Pinal Dave
SQL Performance
SQL Scripts, SQL Utility

The quickest way to kill all processes and user sessions in a database: SET SINGLE_USER WITH ROLLBACK IMMEDIATE, then back to MULTI_USER. No cursor needed.

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
A big beach ball on sound boards beside a small red cannonball that has cracked the plank

Operator Cost Percentages Are Estimates: Read Actual Time Instead

January 26, 2009
Pinal Dave
SQL Performance
Execution Plan, SQL Performance, SQL Server

Read operator cost percentages as estimates, then use actual rows, elapsed time, IO, and repeated work to find the real bottleneck.

Read More
Previous 1 … 94 95 96 97 98 99 100 … 120 Next
  • Books
  • Testimonials
  • Privacy Policy

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