SQL Server 2008 - Query takes forever to finish even though work is actually done

Posted by Brian on Stack Overflow See other posts from Stack Overflow or by Brian
Published on 2010-05-06T11:57:09Z Indexed on 2010/05/06 11:58 UTC
Read the original article Hit count: 201

Running the following simple query in SSMS:

UPDATE tblEntityAddress SET strPostCode= REPLACE(strPostCode,' ','')

The update to the data (at least in memory) is complete in under a minute. I verified this by performing another query with transaction isolation level read uncommitted. The update query, however, continues to run for another 30 minutes. What is the issue here? Is this caused by a delay to write to disk?

TIA

© Stack Overflow or respective owner

Related posts about sql

Related posts about sql-server