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
SQL Server Activity History.

SQL SERVER – Configure Management Data Collection in Quick Steps – T-SQL Tuesday #005

April 13, 2010
Pinal Dave
SQL Performance
SQL Reports

A visual walk through to configure Management Data Collection in a few quick steps and get default reports on CPU, memory and disk for your server.

Read More
Fingers matching a red drop earring with its twin from a dish of mixed single earrings

Correlated Columns and Multi-Column Statistics in SQL Server

April 12, 2010
Pinal Dave
SQL Performance
Execution Plan, SQL Performance, SQL Server, SQL Statistics

Investigate multi-column statistics with correlated city and state values, density vectors, and plans before expecting better estimates.

Read More
A single occupied phone box with one person's coat visible and a queue rail outside it

What Is Locking and Blocking in SQL Server?

April 6, 2010
Pinal Dave
SQL Performance
Best Practices, Database, SQL Performance, SQL Server

Locking and blocking are not the same thing, and the difference is the whole subject. I blocked a session on purpose and read it from the DMVs. Why short blocking is healthy, and why NOLOCK fixes nothing.

Read More
SQL SERVER - Introduction to Extended Events - Finding Long Running Queries

SQL SERVER – Introduction to Extended Events – Finding Long Running Queries

March 29, 2010
Pinal Dave
SQL Performance
SQL Extended Events, SQL Scripts, SQL Server, SQL Training

After reading Jonathan Kehayias on Extended Events, I added them to my performance tuning course. An introduction, with a way to find long running queries.

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
Previous 1 … 92 93 94 95 96 97 98 … 127 Next
  • Books
  • Testimonials
  • Privacy Policy

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