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 - Outer Join Not Allowed in Indexed Views

SQL SERVER – Outer Join Not Allowed in Indexed Views

June 29, 2010
Pinal Dave
SQL Performance
SQL Index, SQL Joins, SQL Scripts, SQL Statistics

Why is OUTER JOIN not allowed in indexed views? A reader was confused by the white paper answer, so I explain it with an example and ask for yours.

Read More
SQL SERVER - Disabled Index and Update Statistics

SQL SERVER – Disabled Index and Update Statistics

May 28, 2010
Pinal Dave
SQL Performance
SQL Index, SQL Scripts, SQL Server, SQL Statistics

A reader asked how disabled indexes affect statistics. With the clustered index disabled, Update Statistics throws an error; see what happens once you enable it.

Read More
A hand searching a tin of jumbled buttons for a matching set, an empty compartment tray beside it.

Indexing Foreign Keys

May 19, 2010
Pinal Dave
SQL Performance
SQL Constraint and Keys, SQL Index, SQL Lock, SQL Server

Indexing foreign keys can speed joins and parent deletes when child-side indexes are missing; learn how to find gaps and test write tradeoffs.

Read More
ALTER INDEX ALL REBUILD.

SQL SERVER – Understanding ALTER INDEX ALL REBUILD with Disabled Clustered Index

May 12, 2010
Pinal Dave
SQL Tips and Tricks
SQL Index, SQL Scripts

What does ALTER INDEX ALL REBUILD do when the clustered index is disabled, compared to rebuilding just that index? A step by step demo shows it.

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

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

May 10, 2010
Pinal Dave
SQL Performance
PowerShell, SQL Index, SQL Scripts, SQL Server

Laerte Junior fixed my Powershell setup remotely in minutes and sent solution 3 to my puzzle on the size of each index. Here is his Powershell Index Size answer.

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

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

May 9, 2010
Pinal Dave
SQL Performance
SQL Data Storage, SQL Index, SQL Scripts

A second solution to my size of index table puzzle: Rama Mathanmohan’s query sums used pages from sys.allocation_units to give each index size in KB.

Read More
SQL SERVER - Update Statistics are Sampled By Default

SQL SERVER – Update Statistics are Sampled By Default

April 23, 2010
Pinal Dave
SQL Performance
SQL Index, SQL Scripts, SQL Statistics

A reader asked if statistics are sampled by default. They are, and a one million row test table proves it. You can set the rate up to 100%.

Read More
Previous 1 … 40 41 42 43 44 45 46 … 62 Next
  • Books
  • Testimonials
  • Privacy Policy

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