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 person walking through a maize field, peeling back one cob every few rows, a small red basket on the arm

Approximate Percentiles With APPROX_PERCENTILE_CONT

October 31, 2022
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Performance, SQL Server, SQL Server 2022

Use APPROX_PERCENTILE_CONT for large response-time summaries, compare exact percentiles, and interpret the documented rank error bound.

Read More
Two boards overlapping at a woodworking bench dog while another pair just touches

Finding Schedule Clashes: Overlapping Sessions per Attendee

October 26, 2022
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Performance, SQL Server

An attendee says two sessions run at the same time. Here is how to find every overlapping pair once, and why touching is not a clash.

Read More
A full clothes airer, with the overflow of wet laundry draped over chairs and a radiator

Finding Queries That Spill With total_spills in Query Stats

October 25, 2022
Pinal Dave
SQL Performance
SQL DMV, SQL Memory, SQL Performance, SQL Server, SQL TempDB

Rank total_spills and recent counters, inspect plans, compare Query Store tempdb use, and investigate estimates before increasing grants.

Read More
A squirrel mid-leap between two oak branches, the branch it slipped from on its first try still swaying.

Agent Job Step Retries: Retry Attempts and Retry Interval

October 11, 2022
Pinal Dave
SQL Tips and Tricks
DBA, SQL Scripts, SQL Server, SQL Server Agent

Configure Agent retry attempts and minute intervals, inspect retry history, and distinguish transient failures from unsafe replays.

Read More
A skate rental counter by an ice rink, pairs of skates on hooks and one pair with vermilion laces.

Session State in SQL Server With Memory-Optimized Tables

October 10, 2022
Pinal Dave
SQL Tips and Tricks
In-Memory OLTP, SQL Memory, SQL Server, SQL Stored Procedure

Store transient session state in memory-optimized SQL Server tables with native reads and writes, expiry checks, and clear durability rules.

Read More
A shepherd's hand checking one darker stray sheep among a cream flock inside a stone-walled pen

Checking Constraints After a Bulk Load With DBCC CHECKCONSTRAINTS

September 19, 2022
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Server, SQL Server DBCC

Run DBCC CHECKCONSTRAINTS after a controlled bulk-load bypass, inspect violations, and restore enabled trusted CHECK and foreign-key rules.

Read More
A wooden butter stamp pressing a flower pattern into butter, a row of identical stamped pats behind it.

Prepared Statements and Plan Reuse From Application Code

July 25, 2022
Pinal Dave
SQL Performance
Ad Hoc Query, Execution Plan, SQL Cache, SQL Server

Inspect prepared statements, handle lifetimes, parameter types, cached Prepared plans, and the limits of optimize for ad hoc workloads.

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

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