dbTalk Databases Forums  

What is the ObjectID2 column for Locks Acquired referring to?

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


Discuss What is the ObjectID2 column for Locks Acquired referring to? in the microsoft.public.sqlserver.tools forum.



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

Default What is the ObjectID2 column for Locks Acquired referring to? - 09-28-2008 , 09:56 PM






BOL provides pretty much no information about what the value contained in
the ObjectID2 column for a Lock Acquired event actually refers to. Can
anyone shed some light on this for me?

TIA




Reply With Quote
  #2  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: What is the ObjectID2 column for Locks Acquired referring to? - 09-29-2008 , 05:17 PM






Michael MacGregor (nospam (AT) nospam (DOT) com) writes:
Quote:
BOL provides pretty much no information about what the value contained in
the ObjectID2 column for a Lock Acquired event actually refers to. Can
anyone shed some light on this for me?
I ran a trace with Lock Acqured included, and there was more data in
ObjectID2 than in ObjectID. I should add that this was on an idle server,
so these were just locks from background things going on.

One number I noted was 281474978545664. This number can never appear in
ObjectID, as that column is int; ObjectID2 is bigint.

I was able to find this number with this query:

select * from master.sys.allocation_units
where allocation_unit_id = 281474978545664

Another number that appeared in several databases was 458752. There was
nothing in sys.objects with this id, but this SELECt returns a row:

select * from sys.partitions where partition_id = 458752

My interpretation is that ObjectID2 represents partitions and allocation
units that contsitute parts of tables.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx



Reply With Quote
  #3  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: What is the ObjectID2 column for Locks Acquired referring to? - 09-29-2008 , 05:17 PM



Michael MacGregor (nospam (AT) nospam (DOT) com) writes:
Quote:
BOL provides pretty much no information about what the value contained in
the ObjectID2 column for a Lock Acquired event actually refers to. Can
anyone shed some light on this for me?
I ran a trace with Lock Acqured included, and there was more data in
ObjectID2 than in ObjectID. I should add that this was on an idle server,
so these were just locks from background things going on.

One number I noted was 281474978545664. This number can never appear in
ObjectID, as that column is int; ObjectID2 is bigint.

I was able to find this number with this query:

select * from master.sys.allocation_units
where allocation_unit_id = 281474978545664

Another number that appeared in several databases was 458752. There was
nothing in sys.objects with this id, but this SELECt returns a row:

select * from sys.partitions where partition_id = 458752

My interpretation is that ObjectID2 represents partitions and allocation
units that contsitute parts of tables.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx



Reply With Quote
  #4  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: What is the ObjectID2 column for Locks Acquired referring to? - 09-29-2008 , 05:17 PM



Michael MacGregor (nospam (AT) nospam (DOT) com) writes:
Quote:
BOL provides pretty much no information about what the value contained in
the ObjectID2 column for a Lock Acquired event actually refers to. Can
anyone shed some light on this for me?
I ran a trace with Lock Acqured included, and there was more data in
ObjectID2 than in ObjectID. I should add that this was on an idle server,
so these were just locks from background things going on.

One number I noted was 281474978545664. This number can never appear in
ObjectID, as that column is int; ObjectID2 is bigint.

I was able to find this number with this query:

select * from master.sys.allocation_units
where allocation_unit_id = 281474978545664

Another number that appeared in several databases was 458752. There was
nothing in sys.objects with this id, but this SELECt returns a row:

select * from sys.partitions where partition_id = 458752

My interpretation is that ObjectID2 represents partitions and allocation
units that contsitute parts of tables.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx



Reply With Quote
  #5  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: What is the ObjectID2 column for Locks Acquired referring to? - 09-29-2008 , 05:17 PM



Michael MacGregor (nospam (AT) nospam (DOT) com) writes:
Quote:
BOL provides pretty much no information about what the value contained in
the ObjectID2 column for a Lock Acquired event actually refers to. Can
anyone shed some light on this for me?
I ran a trace with Lock Acqured included, and there was more data in
ObjectID2 than in ObjectID. I should add that this was on an idle server,
so these were just locks from background things going on.

One number I noted was 281474978545664. This number can never appear in
ObjectID, as that column is int; ObjectID2 is bigint.

I was able to find this number with this query:

select * from master.sys.allocation_units
where allocation_unit_id = 281474978545664

Another number that appeared in several databases was 458752. There was
nothing in sys.objects with this id, but this SELECt returns a row:

select * from sys.partitions where partition_id = 458752

My interpretation is that ObjectID2 represents partitions and allocation
units that contsitute parts of tables.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx



Reply With Quote
  #6  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: What is the ObjectID2 column for Locks Acquired referring to? - 09-29-2008 , 05:17 PM



Michael MacGregor (nospam (AT) nospam (DOT) com) writes:
Quote:
BOL provides pretty much no information about what the value contained in
the ObjectID2 column for a Lock Acquired event actually refers to. Can
anyone shed some light on this for me?
I ran a trace with Lock Acqured included, and there was more data in
ObjectID2 than in ObjectID. I should add that this was on an idle server,
so these were just locks from background things going on.

One number I noted was 281474978545664. This number can never appear in
ObjectID, as that column is int; ObjectID2 is bigint.

I was able to find this number with this query:

select * from master.sys.allocation_units
where allocation_unit_id = 281474978545664

Another number that appeared in several databases was 458752. There was
nothing in sys.objects with this id, but this SELECt returns a row:

select * from sys.partitions where partition_id = 458752

My interpretation is that ObjectID2 represents partitions and allocation
units that contsitute parts of tables.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx



Reply With Quote
  #7  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: What is the ObjectID2 column for Locks Acquired referring to? - 09-29-2008 , 05:17 PM



Michael MacGregor (nospam (AT) nospam (DOT) com) writes:
Quote:
BOL provides pretty much no information about what the value contained in
the ObjectID2 column for a Lock Acquired event actually refers to. Can
anyone shed some light on this for me?
I ran a trace with Lock Acqured included, and there was more data in
ObjectID2 than in ObjectID. I should add that this was on an idle server,
so these were just locks from background things going on.

One number I noted was 281474978545664. This number can never appear in
ObjectID, as that column is int; ObjectID2 is bigint.

I was able to find this number with this query:

select * from master.sys.allocation_units
where allocation_unit_id = 281474978545664

Another number that appeared in several databases was 458752. There was
nothing in sys.objects with this id, but this SELECt returns a row:

select * from sys.partitions where partition_id = 458752

My interpretation is that ObjectID2 represents partitions and allocation
units that contsitute parts of tables.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx



Reply With Quote
  #8  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: What is the ObjectID2 column for Locks Acquired referring to? - 09-29-2008 , 05:17 PM



Michael MacGregor (nospam (AT) nospam (DOT) com) writes:
Quote:
BOL provides pretty much no information about what the value contained in
the ObjectID2 column for a Lock Acquired event actually refers to. Can
anyone shed some light on this for me?
I ran a trace with Lock Acqured included, and there was more data in
ObjectID2 than in ObjectID. I should add that this was on an idle server,
so these were just locks from background things going on.

One number I noted was 281474978545664. This number can never appear in
ObjectID, as that column is int; ObjectID2 is bigint.

I was able to find this number with this query:

select * from master.sys.allocation_units
where allocation_unit_id = 281474978545664

Another number that appeared in several databases was 458752. There was
nothing in sys.objects with this id, but this SELECt returns a row:

select * from sys.partitions where partition_id = 458752

My interpretation is that ObjectID2 represents partitions and allocation
units that contsitute parts of tables.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx



Reply With Quote
  #9  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: What is the ObjectID2 column for Locks Acquired referring to? - 09-29-2008 , 05:17 PM



Michael MacGregor (nospam (AT) nospam (DOT) com) writes:
Quote:
BOL provides pretty much no information about what the value contained in
the ObjectID2 column for a Lock Acquired event actually refers to. Can
anyone shed some light on this for me?
I ran a trace with Lock Acqured included, and there was more data in
ObjectID2 than in ObjectID. I should add that this was on an idle server,
so these were just locks from background things going on.

One number I noted was 281474978545664. This number can never appear in
ObjectID, as that column is int; ObjectID2 is bigint.

I was able to find this number with this query:

select * from master.sys.allocation_units
where allocation_unit_id = 281474978545664

Another number that appeared in several databases was 458752. There was
nothing in sys.objects with this id, but this SELECt returns a row:

select * from sys.partitions where partition_id = 458752

My interpretation is that ObjectID2 represents partitions and allocation
units that contsitute parts of tables.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx



Reply With Quote
  #10  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: What is the ObjectID2 column for Locks Acquired referring to? - 09-29-2008 , 05:17 PM



Michael MacGregor (nospam (AT) nospam (DOT) com) writes:
Quote:
BOL provides pretty much no information about what the value contained in
the ObjectID2 column for a Lock Acquired event actually refers to. Can
anyone shed some light on this for me?
I ran a trace with Lock Acqured included, and there was more data in
ObjectID2 than in ObjectID. I should add that this was on an idle server,
so these were just locks from background things going on.

One number I noted was 281474978545664. This number can never appear in
ObjectID, as that column is int; ObjectID2 is bigint.

I was able to find this number with this query:

select * from master.sys.allocation_units
where allocation_unit_id = 281474978545664

Another number that appeared in several databases was 458752. There was
nothing in sys.objects with this id, but this SELECt returns a row:

select * from sys.partitions where partition_id = 458752

My interpretation is that ObjectID2 represents partitions and allocation
units that contsitute parts of tables.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx



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.