Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 58597
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T17:52:22+00:00 2026-05-10T17:52:22+00:00

I guess the real question is: If I don’t care about dirty reads, will

  • 0

I guess the real question is:

If I don’t care about dirty reads, will adding the with (NOLOCK) hint to a SELECT statement affect the performance of:

  1. the current SELECT statement
  2. other transactions against the given table

Example:

Select *  from aTable with (NOLOCK) 
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T17:52:23+00:00Added an answer on May 10, 2026 at 5:52 pm

    1) Yes, a select with NOLOCK will complete faster than a normal select.

    2) Yes, a select with NOLOCK will allow other queries against the effected table to complete faster than a normal select.

    Why would this be?

    NOLOCK typically (depending on your DB engine) means give me your data, and I don’t care what state it is in, and don’t bother holding it still while you read from it. It is all at once faster, less resource-intensive, and very very dangerous.

    You should be warned to never do an update from or perform anything system critical, or where absolute correctness is required using data that originated from a NOLOCK read. It is absolutely possible that this data contains rows that were deleted during the query’s run or that have been deleted in other sessions that have yet to be finalized. It is possible that this data includes rows that have been partially updated. It is possible that this data contains records that violate foreign key constraints. It is possible that this data excludes rows that have been added to the table but have yet to be committed.

    You really have no way to know what the state of the data is.

    If you’re trying to get things like a Row Count or other summary data where some margin of error is acceptable, then NOLOCK is a good way to boost performance for these queries and avoid having them negatively impact database performance.

    Always use the NOLOCK hint with great caution and treat any data it returns suspiciously.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 69k
  • Answers 69k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer I don't think it worths it. You're saying you have… May 11, 2026 at 12:43 pm
  • added an answer If the C++ style cast can be conceptualy replaced by… May 11, 2026 at 12:43 pm
  • added an answer I don't know which assembler you are using (it might… May 11, 2026 at 12:43 pm

Related Questions

I guess the real question is: If I don't care about dirty reads, will
I guess the topic says it. I have tried googling this, but havent gotten
I would like to access micro-state accounting timers programmatically on Linux. I guess the
Of all these methods what's being run and in what order?? I guess the
On Windows Mobile (but I guess it's the same on Windows) in a native
I recently set up, for a learning exercise, an Ubuntu desktop PC with KDE
I am writing a software synthesizer and need to generate bandlimited, alias free waveforms
I've come across a design pattern that's been referred to as a Handler Pattern,
Based on the code I've found, it seems that the Visitor is required to

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.