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



thanks. I will let MS know about our problem.
--
-- cranfield, DBA


"Erland Sommarskog" wrote:

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: Grant access to applications only
    ... but to deny a direct user login e.g. via management studio. ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (microsoft.public.sqlserver.security)
  • Re: IDENT_CURRENT and empty table
    ... >> And there is no definition what the result will be after fixing the bug. ... Books Online for 2005 is wrong and will be updated. ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ...
    (comp.databases.ms-sqlserver)
  • Re: sorting twice?!
    ... So I run a query to select the top 20 when ordered by datemodified ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (comp.databases.ms-sqlserver)
  • Re: Rolling up spans without breaks between them
    ... CREATE TABLE periods (start datetime NOT NULL, ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (comp.databases.ms-sqlserver)
  • Re: ALTER PARTITION FUNCTION PartFunc() MERGE RANGE & blocking
    ... We have mostly fixed this problem by brute force. ... 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)