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
Gouache painting of a balance scale with apples and a small red basket collecting the apples that changed

When Are Statistics Updated? What Triggers an Automatic Update

April 21, 2010
Pinal Dave
SQL Performance
SQL DMV, SQL Index, SQL Statistics

Statistics updated automatically need two things: enough changed rows, and a query that uses the statistic. This post explains the old 500 plus 20 percent rule and the newer square root threshold, then shows a million-row demo where last_updated changes only after a query compiles. It also covers FULLSCAN, asynchronous updates and when to update by hand.

Read More
Rich still life of an oak cabinet with divided open drawers, ivory spheres, folded linen and sage bowls.

Composite Index Without the Leading Key: Seek, Scan and Residual Filters

March 28, 2010
Pinal Dave
SQL Performance
Execution Plan, SQL Index, SQL Performance, SQL Server

A composite index orders rows by its leading key before the next key. Compare a date-only filter, region restrictions and an isolated date-first index. Verify complete results, including new regions and NULL, before interpreting actual plans.

Read More
Index Physical Statistics SSMS.

SQL SERVER – Generate Report for Index Physical Statistics – SSMS

March 26, 2010
Pinal Dave
SQL Performance
SQL Index, SQL Server Management Studio, SQL Utility

SSMS has a standard report for Index Physical Statistics at the database level. Right click the database, open Reports, and see index details at a glance.

Read More
SQL SERVER - Difference Between ROLLBACK IMMEDIATE and WITH NO_WAIT during ALTER DATABASE

SQL SERVER – Difference Between ROLLBACK IMMEDIATE and WITH NO_WAIT during ALTER DATABASE

March 17, 2010
Pinal Dave
SQL Tips and Tricks
SQL Documentation, SQL Index, SQL Scripts, SQL Server

We are going to discuss something very simple topic. Difference Between ROLLBACK IMMEDIATE and WITH NO_WAIT during ALTER DATABASE.

Read More
SQL SERVER - Checklist for Analyzing Slow-Running Queries

SQL SERVER – Checklist for Analyzing Slow-Running Queries

March 12, 2010
Pinal Dave
SQL Performance
SQL Index, SQL Scripts

Before you call support, go through this Books Online checklist for analyzing slow-running queries: network, memory, statistics, indexes and more.

Read More
Execution plan.

SQL SERVER – Force Index Scan on Table – Use No Index to Retrieve the Data – Query Hint

March 11, 2010
Pinal Dave
SQL Performance
SQL Index, SQL Scripts

How do you force index scan instead of a seek, or read a table without using any index? Two reader questions with a similar answer, using a query hint.

Read More
Execution Plan for Index Seek.

SQL SERVER – Improve Performance by Reducing IO – Creating Covered Index

March 9, 2010
Pinal Dave
SQL Performance
SQL Index, SQL Scripts

My T-SQL Tuesday #004 post on how a covered index can improve performance by reducing IO. Run the demo on a test server only, never on production.

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

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