dbTalk Databases Forums  

Profiler: Deadlock Graph - Associated ObjectID

microsoft.public.sqlserver.tools microsoft.public.sqlserver.tools


Discuss Profiler: Deadlock Graph - Associated ObjectID in the microsoft.public.sqlserver.tools forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Michael MacGregor
 
Posts: n/a

Default Re: Profiler: Deadlock Graph - Associated ObjectID - 06-16-2009 , 02:16 PM






The HoBtID and the associated objid are not the same number.

MTM

Reply With Quote
  #12  
Old   
Michael MacGregor
 
Posts: n/a

Default Re: Profiler: Deadlock Graph - Associated ObjectID - 06-16-2009 , 03:24 PM






Using 2005. Neither query you provided return any information at all.

MTM

Reply With Quote
  #13  
Old   
Michael MacGregor
 
Posts: n/a

Default Re: Profiler: Deadlock Graph - Associated ObjectID - 06-16-2009 , 03:26 PM



Ignore that. Looking in the wrong database.

Reply With Quote
  #14  
Old   
Michael MacGregor
 
Posts: n/a

Default Re: Profiler: Deadlock Graph - Associated ObjectID - 06-16-2009 , 03:30 PM



Scratch that too. I think my eyes are going squirrelly from looking at too
many really long numbers.

MTM

Reply With Quote
  #15  
Old   
Aaron Bertrand [SQL Server MVP]
 
Posts: n/a

Default Re: Profiler: Deadlock Graph - Associated ObjectID - 06-16-2009 , 06:18 PM



That's why I put "ObjectID" in quotes, as earlier you claimed the ObjectID
was 72057647487385600, which was clearly the HoBt ID (partition_id).


On 6/16/09 3:16 PM, in article #kyCubr7JHA.5828 (AT) TK2MSFTNGP04 (DOT) phx.gbl,
"Michael MacGregor" <macnoknifespam (AT) noemailspam (DOT) com> wrote:

Quote:
The HoBtID and the associated objid are not the same number.

MTM


Reply With Quote
  #16  
Old   
Michael MacGregor
 
Posts: n/a

Default Re: Profiler: Deadlock Graph - Associated ObjectID - 06-18-2009 , 11:06 AM



The number provided is given as both the HoBtID and the associated objid,
but I took it from the associated objid originally.

MTM

Reply With Quote
  #17  
Old   
Michael MacGregor
 
Posts: n/a

Default Re: Profiler: Deadlock Graph - Associated ObjectID - 06-20-2009 , 06:40 PM



Ok, I have a different resource node set of data for a Page Lock that has
the same associated objid number along with DB ID, File ID and Page ID. What
would the associated objid be in this case?

MTM

Reply With Quote
  #18  
Old   
Aaron Bertrand [SQL Server MVP]
 
Posts: n/a

Default Re: Profiler: Deadlock Graph - Associated ObjectID - 06-22-2009 , 03:09 PM



What does the following yield:

DBCC PAGE(DB ID, File ID, Page ID) WITH TABLERESULTS;

?

Hint: you should get a row with the following column values:

ParentObject = "PAGE HEADER:"
Field = "Metadata: ObjectId"
VALUE = <the real object_id>







On 6/20/09 7:40 PM, in article OaWGvBg8JHA.1380 (AT) TK2MSFTNGP02 (DOT) phx.gbl,
"Michael MacGregor" <nospam (AT) nospam (DOT) com> wrote:

Quote:
Ok, I have a different resource node set of data for a Page Lock that has
the same associated objid number along with DB ID, File ID and Page ID. What
would the associated objid be in this case?

MTM


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.