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
A village water trough with several spouts, one fitted with a brass restrictor that narrows its stream.

Resource Governor: Capping a Runaway Report

July 18, 2009
Pinal Dave
SQL Performance
DBA, Resource Governor, SQL CPU, SQL Performance, SQL Reports

Capping a runaway report with Resource Governor uses workload groups, pools, and a tested classifier to limit one workload safely.

Read More
Detailed painting of a boatyard inspection board with one filled square recess, one empty recess, and a matching loose block on the workbench.

Columns With No Statistics: Read Each Warning

July 10, 2009
Pinal Dave
SQL Performance
SQL Performance, SQL Scripts, SQL Server, SQL Statistics

A columns-with-no-statistics warning needs a column-by-column investigation. Compare warning lists before and after targeted statistics creation, and check the actual query behavior before deciding that a missing statistic caused poor performance.

Read More
Three bowls and three tall ceramic cups arranged by cream, blue and sage glaze.

No Join Predicate: Verify the Relationship Before Tuning

June 11, 2009
Pinal Dave
SQL Performance
SQL Joins, SQL Performance, SQL Server Management Studio

No join predicate prompts a relationship check. Compare all combinations with exact customer-order pairs before changing indexes or hiding duplicates.

Read More
A landing net lifted from a clear stream holds one large trout while small fish slip back through the mesh.

Your First Extended Events Session

June 7, 2009
Pinal Dave
SQL Tips and Tricks
SQL Extended Events, SQL Monitoring, SQL Performance, SQL Server

Build your first Extended Events session for slow SQL calls, choose a bounded ring buffer or file target, and read the captured result.

Read More
Gouache painting of a glass jar full of cream, slate blue and sage marbles on a wooden table, with a small wooden scoop and one loose marble in front

APPROX_COUNT_DISTINCT in SQL Server: Saves Memory, Not Time

May 29, 2009
Pinal Dave
SQL Performance
SQL Function, SQL Memory, SQL Performance, SQL Scripts

APPROX_COUNT_DISTINCT counts distinct values with almost no memory. Tested on 5 million rows, it was within 2.2 percent of the exact count and needed no memory grant, while COUNT(DISTINCT) asked for 436 MB. It was not faster.

Read More
A small rowing skiff and a wide log raft moored side by side at a river jetty, a ferryman watching the bend.

Adaptive Joins: When the Plan Picks Its Join at Run Time

May 5, 2009
Pinal Dave
SQL Performance
Execution Plan, Query Hint, SQL Joins, SQL Performance, SQL Server

Understand adaptive joins in SQL Server, read their runtime threshold, inspect the actual choice, and test a query hint safely.

Read More
A hardware bench contrasts screws stored apart from hinges with a divided tray holding both together.

user_lookups: Verify the Plan Before Adding Coverage

March 25, 2009
Pinal Dave
SQL Performance
Clustered Index, SQL DMV, SQL Index, SQL Performance

user_lookups helps identify where to investigate missing coverage. Compare complete query results and actual plans before adding included columns. Weigh the read benefit against storage and write costs.

Read More
Previous 1 … 44 45 46 47 48 49 50 Next
  • Books
  • Testimonials
  • Privacy Policy

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