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 long cafe table of mismatched mugs and a red teapot by a rainy window with pine trees

Find SQL Server Agent Job Failures Before Users Do

November 4, 2012
Pinal Dave
SQL Tips and Tricks
DBA, SQL Monitoring, SQL Scripts, SQL Server Agent

Agent job failures hide in msdb until someone reads the history. This post builds three demo jobs, then finds the failed step and its message, the job that runs too long, the job that never starts, and the jobs that notify nobody.

Read More
Gouache painting of a row of small potted plants and one giant thirsty plant in a red pot beside an empty watering can

Find the Most Resource Intensive Queries in SQL Server

October 3, 2012
Pinal Dave
SQL Performance
SQL CPU, SQL DMV, SQL Monitoring, SQL Scripts

To find resource intensive queries, read sys.dm_exec_query_stats and rank the cached statements by reads, CPU or time. This post builds a small demo, ranks it two ways, and fixes the worst offender with one index. It also explains what the numbers can and cannot tell you.

Read More
A staple remover exposes different metal staple shapes beside one intact fastening

Is This Instance Patched? Reading ProductUpdateLevel and Build

August 19, 2012
Pinal Dave
SQL Tips and Tricks
Cumulative Update, SQL Instance, SQL Monitoring, SQL Patch

An update label is one clue, the build number is the identity. I show how to read both, compare builds safely, and avoid the NULL typo trap.

Read More
A bicycle pedal is detached beside the bicycle while its chain and other connected parts remain visible

Decommissioning a Database: A Safe Checklist Before the Drop

July 17, 2012
Pinal Dave
SQL Tips and Tricks
DBA, SQL Backup and Restore, SQL Dependency, SQL Monitoring

Dropping an old database is a one-way door. Here is the short checklist I run first, with a demo you can paste into SSMS.

Read More
A croquet mallet rests beside identical balls on the same flat strip of lawn

A Repeatable Workload: Testing a Tuning Change Fairly

June 7, 2012
Pinal Dave
SQL Tips and Tricks
SQL Index, SQL Monitoring, SQL Performance, Testing

One quick run can fool you. Here is a small, fixed test you can rerun before and after any index.

Read More
A seam ripper rests at an interrupted line of stitching with loose thread and unfinished cloth

Timed-Out Queries in Query Store: Finding Aborted Executions

May 10, 2012
Pinal Dave
SQL Tips and Tricks
Query Store, SQL DMV, SQL Error Messages, SQL Monitoring

An aborted row is a clue, not a verdict. Here is how to read Query Store execution types and match them with what the caller saw.

Read More
A detailed cabinet opens one fitted compartment of wooden cubes for careful inspection.

Troubleshooting Cube Performance: Three Checks

June 6, 2011
Pinal Dave
SQL Performance
SQL Analysis Services, SQL Extended Events, SQL Monitoring, SQL Performance

Diagnose cube performance by comparing the same MDX query, processing changes and resource pressure before choosing a repair.

Read More
Previous 1 … 4 5 6 7 8 9 10 Next
  • Books
  • Testimonials
  • Privacy Policy

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