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 clay pot beside the vermilion wooden form it was shaped around

Compiled Parameter Values in SQL Server: Read Them From the Cache

May 7, 2019
Pinal Dave
SQL Performance
Execution Plan, SQL Cache, SQL DMV, SQL Stored Procedure

Compiled parameter values show which value SQL Server used when it built a cached plan. This post reads them from the plan cache with one query, then shows how the first caller shapes the plan for everyone after. It ends with the usual ways to break that link.

Read More
A quiet loom still holds unfinished fabric connected to its yarn supply.

SQL SERVER – Reviewing Sleeping Sessions Before Terminating Any Session

May 6, 2019
Pinal Dave
SQL Tips and Tricks
SQL Cursor, SQL DMV, SQL Monitoring, SQL Scripts, SQL Server

An inactive or sleeping session may still be a useful pooled connection. A customer case prompted my earlier session-cleanup script.

Read More
Freshly painted plates wait on a rack beside a stack of finished plates

Dirty Pages – How to List Dirty Pages From Memory in SQL Server? – Interview Question of the Week #223

May 5, 2019
Pinal Dave
SQL Interview Questions and Answers
SQL DMV, SQL Memory, SQL Scripts, SQL Server

Question: How to List Dirty Pages From Memory in SQL Server? Answer: I received question today during my SQL Server Performance Tuning Practical Workshop.

Read More
SQL Server error 9642.

SQL SERVER – Error: 9642 – An error occurred in a Service Broker/Database Mirroring transport connection endpoint

May 4, 2019
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Error Messages, SQL High Availability, SQL Server

Error 9642 in the ERRORLOG: an error occurred in a Service Broker/Database Mirroring transport connection endpoint. Here is what caused it for my client.

Read More
A new harp in a sunny music room, a foot moving one brass pedal while a hand plucks a string

Listing Databases Below the Server’s Native Compatibility Level

May 3, 2019
Pinal Dave
SQL Tips and Tricks
Compatibility Level, Query Store, SQL Server, SQL Upgrade

Find databases below the native compatibility level, generate reviewable ALTER statements, and prepare Query Store checks safely.

Read More
A hand holding two nearly identical slate blue thread spools against a window, beside a rack of spools sorted by shade.

Binary Collations: Byte-Order Sorting and Exact String Matches

May 2, 2019
Pinal Dave
SQL Tips and Tricks
SQL Collation, SQL Index, SQL Server, SQL String

Learn how a binary collation changes SQL Server sorting, exact string comparisons, index access, and column metadata checks.

Read More
A fern frond pressed under glass on sun-print paper, its exact pale outline captured on the blue sheet.

Capturing Actual Execution Plans From a Script With SET STATISTICS XML

May 1, 2019
Pinal Dave
SQL Performance
Execution Plan, SQL Scripts, SQL Server, SQL XML

Capture actual plans with SET STATISTICS XML, save the extra result safely, inspect runtime fields, and compare last-known plan statistics.

Read More
Previous 1 … 164 165 166 167 168 169 170 … 843 Next
  • Books
  • Testimonials
  • Privacy Policy

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