Re: ALTER PARTITION FUNCTION PartFunc() MERGE RANGE & blocking

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Cranfield (alan_cranfield@xxxxxxxx) writes:
My apologies for the late reply - I have only just seen the responses (I
never enbaled the "Notify me of replies")

Thank yuo for the info. We have mostly fixed this problem by brute force.
What we did was put a lock timeout in the job step that runs the merge:

SET LOCK_TIMEOUT 30000

We also put a 5x retry in the job step. Now the MERGE job step, which
we run daily, always goes through. Sometimes it timesout and retries a
few times but eventually goes through.

I hope MS fix this livelock problem in the next service pack.

I'm not sure that I see this as a bug, but I can agree there may be a
problem that needs to be addressed. I would not really expect it to be
addressed in a service pack though, as it may require fundametal changes.

If you think that MS should something file a suggestion on
http://connect.microsoft.com/SqlServer/Feedback.


--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
.



Relevant Pages

  • Re: ALTER PARTITION FUNCTION PartFunc() MERGE RANGE & blocking
    ... I hope MS fix this livelock problem in the next service pack. ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (microsoft.public.sqlserver.tools)
  • Re: How Do I give EXECUTE Permissions on Stored Procedures?
    ... You mention SP2. ... How can I tell which service pack I am ... Microsoft SQL Server Management Studio Express Version 9.00.2047.00 ... Books Online for SQL Server 2005 at ...
    (comp.databases.ms-sqlserver)
  • Re: SQL Server problem on sbs 2K3 + wss sp2
    ... but I have no idea if I'm running the latest service pack SP3a. ... I intended on *upgrading* from using MSDE for SharePoint to using SQL Server so I can do full-text searches and put the companyweb content on a NAS device. ... During the installation of SP3a, though, at step 4, I selected SharePoint and clicked next. ...
    (microsoft.public.windows.server.sbs)
  • SQL Server 2000 Service Pack 4
    ... applications to run on 64-bit platforms using the Windows on Windows ... SP4 addresses specific issues discovered in SQL Server ... SP4 is also the first service pack to service the ...
    (NT-Bugtraq)
  • Re: SQL Server problem on sbs 2K3 + wss sp2
    ... Keith wrote: ... Apparently SQL Server is still not running. ... go to Windows update and flip yourself over to ... newer version of Service pack installed. ...
    (microsoft.public.windows.server.sbs)