Compare SCHEMA_ONLY and SCHEMA_AND_DATA memory-optimized tables, inspect logging and recovery, and test an isolated offline-online cycle.
PARALLEL_BACKUP_QUEUE Wait on a Slow RESTORE FILELISTONLY
A reader asked me what the PARALLEL_BACKUP_QUEUE wait means. Their RESTORE FILELISTONLY ran for a long time on a backup of about 1.5 TB and ended with a media error. I believe a problem with the backup media makes the command run long and shows this wait.
Sessionizing Events: Grouping Activity Into Sessions by Idle Gap
Your events have a user and a time but no visit ID. Here is how to infer sessions from an idle gap with LAG and a running sum.
What is Source_Database_ID in Sys.Databases?- Interview Question of the Week #232
Question: What is Source_Database_ID in Sys.Databases and why it is mostly NULL? Very interesting question, I received indeed.
sysxmitqueue in msdb: Why It Grows and How to Clear It
Sysxmitqueue in msdb fills up when Service Broker messages cannot leave the server. A tested demo in its own database shows the pile, the reason, a one conversation cleanup and the NEW_BROKER reset. The msdb steps follow the same order.
Profiling a Table’s Data: Nulls, Distinct Values and Lengths
Start profiling a table’s data with null counts, distinct values, lengths, and generated checks that expose misleading column definitions.







