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
One large stone and a pile of small pebbles rest in separate shallow wooden trays.

Reading a Workload Capture Without a Tool

December 13, 2014
Pinal Dave
SQL Performance
Best Practices, Database, SQL Scripts, SQL Server

Read a workload capture by grouping related queries, comparing total resource use, and separating one slow execution from repeated work.

Read More
Coal shovels beside an outdoor coal pile and an indoor bucket

Physical Reads per Query: Finding What Drives Disk I/O

December 12, 2014
Pinal Dave
SQL Tips and Tricks
Disk, SQL DMV, SQL Performance

The storage team asks which query hit the disks. Here is how to answer with physical reads, and why the answer depends on how you rank them.

Read More
A wall of identical pressure gauges in a plant room, every needle resting at the same steady value.

Hey DBA – Baselines and Performance Monitoring – Why? – Notes from the Field #058

December 11, 2014
Pinal Dave
SQL Tips and Tricks
DBA, Notes from the Field, SQL Activity Monitor, SQL Server

Mike Walsh explains why baselines and performance monitoring matter for every DBA, and how to know what normal looks like on your servers.

Read More
Gouache painting of a shut boat shed door with a padlock and a red key on a hook beside it

Operating System Error 5 on Backup: Fix Access Denied

December 10, 2014
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Error Messages, SQL Server Security, SQL Server Services

Operating system error 5 means Windows refused the SQL Server service account access to a backup folder. This post reproduces the error, shows how to find the account with a query, grants the permission, and explains the look-alike errors for missing paths and mapped drives.

Read More
SQL Server Management Studio query window with SQL code.

SQL SERVER – List the Name of the Months Between Date Ranges

December 9, 2014
Pinal Dave
SQL Tips and Tricks
SQL DateTime

How do you list the name of the months between date ranges? A friend and former co-worker sent me this script using DATENAME and DATEADD.

Read More
SQL SERVER -Fix Error - Cannot open backup device. Operating system error 5(Access is denied.)

SQL SERVER -Fix Error – Cannot open backup device. Operating system error 5(Access is denied.)

December 8, 2014
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server

Fix the backup error Cannot open backup device, Operating system error 5, Access is denied: common causes and the solution that worked for me.

Read More
Odd week is highlighted.

SQL SERVER – Finding if Current Week is Odd or Even – Script

December 7, 2014
Pinal Dave
SQL Tips and Tricks
SQL DateTime

A bank DBA needed a script to tell if the current week is odd or even, to keep more cash on the 2nd and 4th weeks. Here is the script I use.

Read More
Previous 1 … 398 399 400 401 402 403 404 … 845 Next
  • Books
  • Testimonials
  • Privacy Policy

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