SQL-Server-First-Responder-Kit icon indicating copy to clipboard operation
SQL-Server-First-Responder-Kit copied to clipboard

sp_BlitzCache could detect queries using dirty reads (kind of) and warn if they conflict with iso levels

Open LitKnd opened this issue 12 years ago • 1 comments

sp_BlitzCache could look for NOLOCK hints or SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED in procedure text.

This isn't perfect because the nolock hints could be hidden in views, or the app could be setting the iso level in a statement (not a proc). But hey, it's something!

Extra points for detecting if RCSI / Snapshot are enabled in a user database and this might be underminding that setting.

LitKnd avatar Aug 14 '14 16:08 LitKnd

This issue was moved to BrentOzarULTD/sp_BlitzCache#9

peschkaj avatar May 12 '15 16:05 peschkaj