4 responses

  1. João Luiz Rodrigues
    August 25, 2026

    This is one to read and bookmark!

    You’ve highlighted something hardly anyone pays attention to: using "dirty reads" to persist data—or, as you aptly put it, "turning hallucination into fact."
    The analogy of the hypothetical vacation reservation was simply brilliant for illustrating the reality of the problem.
    Thanks for this valuable post and for clearly breaking down such a subtle yet destructive risk. A must-read for every developer!

    Reply

  2. ERIK Darling
    August 25, 2026

    This is something I find I have to harp on quite a bit. Everyone feels (naively) indifferent about uncommitted reads in selects, as if they’ll just work themselves out somehow. Hard to find anyone who considers how difficult it is to fix Dirty Writes™️ to a database.

    Reply

  3. Edward Miller
    August 31, 2026

    All this talk is completely baffling to me. I'm curious how anybody justifies the risk. I have not allowed the use of NOLOCK for as long as I can remember. If a developer/DBA wants to use NOLOCK I require a code review for approval. I cannot remember the last time NOLOCK was approved for use in production code.

    Reply

    • Aaron Bertrand
      August 31, 2026

      That's great! I wish that were more common. The "you must ALWAYS use NOLOCK" policy is WAY more common than the "you must NEVER use NOLOCK" policy. At least in my experience to date.

      Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Back to top