Can anyone please explain to this forgetful old DBA?
An example of an associated object id would be like 72057647487385600.
Thanks,
Michael MacGregor
Database Architect
TIA
MTM
SELECT OBJECT_NAME([object_id])
FROM sys.partitions
WHERE partition_id = 72057647487385600;
If you use non-dbo schemas then it is safer to say (assuming 2005 P2 or
higher):
SELECT OBJECT_SCHEMA_NAME([object_id]),
OBJECT_NAME([object_id])
FROM sys.partitions
WHERE partition_id = 72057647487385600;
As for your follow-up question, Grant Fritchey does a great job demystifying
deadlock graph analysis in "SQL Server 2008 Query Performance Tuning
Distilled." (ISBN = 978-1-4302-1902-6)
Don't be scared by the version in the title; most of the concepts in the
book apply equally to 2005. Since you are looking at sys.objects I assume
you are not concerned about SQL 2000, but it never hurts to mention which
version(s) you are managing.
A
On 6/15/09 12:59 PM, in article #NgSkqd7...@TK2MSFTNGP03.phx.gbl,
On 6/15/09 1:17 PM, in article #U2s00d7...@TK2MSFTNGP05.phx.gbl,
--
Erland Sommarskog, SQL Server MVP, esq...@sommarskog.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/prodinfo/previousversions/books.mspx
MTM
MTM
MTM
On 6/16/09 11:09 AM, in article #mF3mRp7...@TK2MSFTNGP06.phx.gbl,
On 6/16/09 11:13 AM, in article eZNn8Tp7...@TK2MSFTNGP04.phx.gbl,
MTM
MTM
MTM
On 6/16/09 3:16 PM, in article #kyCubr7...@TK2MSFTNGP04.phx.gbl,
MTM
MTM
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 OaWGvBg8...@TK2MSFTNGP02.phx.gbl,