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 line of hilltop beacon fires along a coast at dusk, one beacon in the middle dark and unlit.

Heartbeat Gaps: Finding Missing Check-Ins With LAG

June 28, 2022
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function, SQL Monitoring, SQL Scripts, SQL Server

Detect missing check-ins with LAG, report closed heartbeat gaps, and find silent or never-seen sources using an explicit UTC tolerance.

Read More
A glassblower turning a half-formed glowing vase on a blowpipe, finished vases cooling on a shelf behind

Live Plans for Running Queries With sys.dm_exec_query_statistics_xml

June 23, 2022
Pinal Dave
SQL Performance
Execution Plan, SQL DMV, SQL Server, SQL Wait Stats

Read sys.dm_exec_query_statistics_xml for live plans, compare profile counts with estimates, and interpret partial progress carefully.

Read More
Sap dripping from a spout in a maple trunk into a hanging bucket, a full bucket set aside in the snow

Writing Agent Job Step Output to a Log File on Disk

June 21, 2022
Pinal Dave
SQL Tips and Tricks
DBA, SQL Log, SQL Server, SQL Server Agent

Preserve job step output in a server-side file, configure Agent tokens and append flags, and verify write permissions and retention.

Read More
Gouache painting of a snail with a vermilion shell crawling along a long boardwalk

Long Running Queries in MySQL: Find Them in Two Ways

June 16, 2022
Pinal Dave
SQL Performance
Idera, MySQL, SQL Lock

Find long running queries in MySQL with two built-in methods: the slow query log and the Performance Schema digest table. See the settings, a ready query and how to choose between them.

Read More
File Latency

Find Database File Latency – SQL in Sixty Seconds #198

June 15, 2022
Pinal Dave
SQL Video
SQL Data Storage, SQL DMV, SQL in Sixty Seconds, SQL Performance

Lots of people asked me to create a video on my earlier blog post SQL SERVER – Script to List Database File Latency. Here is the video.

Read More
Gouache painting of a guitar headstock with tuning pegs, one shifted peg vermilion

MySQL Configuration Changes: Track What Changed and When

June 14, 2022
Pinal Dave
SQL Tips and Tricks
Idera, MySQL, SQL Performance

MySQL configuration changes explain many sudden slowdowns. See how innodb_read_ahead_threshold works, what MySQL 8.0 records about a change and how to keep your own history.

Read More
A cafe umbrella stand full of identical black umbrellas, each handle tied with a different colored ribbon.

Tagging Queries With SESSION_CONTEXT to Trace App Users

June 9, 2022
Pinal Dave
SQL Tips and Tricks
SQL Audit, SQL Connection, SQL Server, SQL Server 2016, SQL Server Security

Tag SQL Server work with SESSION_CONTEXT, read tags in audit defaults and modules, and handle read-only values and pooled connections.

Read More
Gouache painting of three hourglasses side by side, the first with grey sand and the other two with vermilion sand

Database File Latency: Read and Write Stalls per IO

June 7, 2022
Pinal Dave
SQL Performance
Disk, SQL DMV, SQL Performance, SQL Scripts

Database file latency is the stall time per read or write. This post divides the IO stall columns by the call counts for every file, explains the zero queued columns and says when a number is worth acting on.

Read More
Indexing for Delete

Indexing for Delete – SQL in Sixty Seconds #197

May 13, 2022
Pinal Dave
SQL Video
SQL Index, SQL Performance, SQL Server

Today, we will see another interesting topic where the index affects the delete statement. Let us start watching the video Indexing for Delete. 

Read More
Gouache painting of a small wooden dollhouse with a closed door and a ring of keys hanging from a vermilion hook

ALTER AUTHORIZATION on a Database: Find and Change the Owner

May 3, 2022
Pinal Dave
SQL Tips and Tricks
SQL Login, SQL Scripts, SQL Server Security

ALTER AUTHORIZATION on a database changes its owner, and SUSER_SNAME(owner_sid) finds the current one. This post shows why a login that owns a database cannot be dropped and how to catch an orphaned owner.

Read More
Previous 1 … 29 30 31 32 33 34 35 … 590 Next
  • Books
  • Testimonials
  • Privacy Policy

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