Could not continue scan with NOLOCK due to data movement

  • getting this error in our datawarehouse any thoughts on what is causing it.

    the query that this occured on was doing an aggregate opration.

  • Are you using the nolock hint?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • Inserts or deletes are occurring on the system at the same time that you're trying to read it, but the information that was being scanned has been moved. One of the problems with using NOLOCK.

    "The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
    - Theodore Roosevelt

    Author of:
    SQL Server Execution Plans
    SQL Server Query Performance Tuning

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply