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 - Remove Bookmark Key Lookup - 4 Different Ideas

SQL SERVER – Remove Bookmark Key Lookup – 4 Different Ideas

November 22, 2009
Pinal Dave
SQL Performance
SQL Index

A bookmark key lookup slows down any query. Here are my four posts on removing it, gathered in one place so you can read them in order.

Read More
Results window of AdventureWorks.

SQL SERVER – Size of Index Table – A Puzzle to Find Index Size for Each Index on Table

November 18, 2009
Pinal Dave
SQL Puzzle
SQL Index, SQL Scripts, SQL Stored Procedure

sp_spaceused shows the total index size of a table. My puzzle for you: write a query that adds the size of each index to the sys.indexes list.

Read More
SQL SERVER - 2005 2008 - Backup, Integrity Check and Index Optimization By Ola Hallengren

SQL SERVER – 2005 2008 – Backup, Integrity Check and Index Optimization By Ola Hallengren

November 17, 2009
Pinal Dave
SQL Performance
SQL Documentation, SQL Index

Ola Hallengren’s free scripts for backup, integrity check and index optimization in SQL Server 2005 and 2008, with notes from Ola on how they work.

Read More
SQL SERVER - Disable CHECK Constraint - Enable CHECK Constraint

SQL SERVER – Disable CHECK Constraint – Enable CHECK Constraint

November 12, 2009
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Index, SQL Scripts

Need to disable CHECK constraint validation for a bulk load? Here is how, and how to enable it again with WITH CHECK CHECK CONSTRAINT, the syntax with CHECK twice.

Read More
Index Seek (NonClustered).

SQL SERVER – Removing Key Lookup – Seek Predicate – Predicate – An Interesting Observation Related to Datatypes

November 9, 2009
Pinal Dave
SQL Performance
SQL Index, SQL Scripts

Seek Predicate beats Predicate. An observation from a query optimization project on removing key lookup and how datatypes decide which one you get.

Read More
SQL SERVER - How to Enable Index - How to Disable Index - Incorrect syntax near 'ENABLE'

SQL SERVER – How to Enable Index – How to Disable Index – Incorrect syntax near ‘ENABLE’

October 27, 2009
Pinal Dave
SQL Tips and Tricks
SQL Index, SQL Scripts

ALTER INDEX with ENABLE fails with Incorrect syntax near ‘ENABLE’. To enable index after you disable it for a bulk load, you rebuild it instead.

Read More
SQL SERVER - Comic Slow Query - SQL Joke

Slow Query Cartoon: Filtered Indexes and Functions, Tested

October 13, 2009
Pinal Dave
SQL Performance
SQL Humor, SQL Index, SQL Performance, SQLAuthority Author Visit

This slow query cartoon from Community TechDays in Ahmedabad answers a slow query with questions, not an automatic index. The tests here measure a full index against a filtered index, show why a function on a column forces a scan, and show a parameter case where the filtered index is skipped.

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

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