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 DMV.

SQL SERVER – Find Most Expensive Queries Using DMV

May 14, 2010
Pinal Dave
SQL Performance
SQL DMV, SQL Scripts, SQL Server

My basic script to find the most expensive queries running on SQL Server using DMVs, the one I use in my query tuning consulting projects.

Read More
SQL SERVER - Four Posts on Removing the Bookmark Lookup - Key Lookup

SQL SERVER – Four Posts on Removing the Bookmark Lookup – Key Lookup

May 13, 2010
Pinal Dave
SQL Performance
SQL Backup and Restore, SQL Index, SQL Scripts

Many developers meet a bookmark lookup or key lookup every day without knowing what to do. Here are four posts on removing the bookmark lookup from plans.

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 - GUID vs INT - Your Opinion

SQL SERVER – GUID vs INT – Your Opinion

April 28, 2010
Pinal Dave
SQL Performance
SQL Constraint and Keys, SQL Data Storage

GUID vs INT as a primary key or clustered index: I list one advantage and one disadvantage of each and ask you to add yours in the comments.

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
Statistics' word cloud.

SQL SERVER – When Are Statistics Updated – What Triggers Statistics to Update

April 21, 2010
Pinal Dave
SQL Performance
SQL Server, SQL Statistics

When are statistics updated in SQL Server, and what triggers it? I compared the algorithms in many documents and share the most common rule. Tell me if it holds.

Read More
Previous 1 … 83 84 85 86 87 88 89 … 120 Next
  • Books
  • Testimonials
  • Privacy Policy

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