sql server - How to get table name from database id, file id, page id in MS SQL 2008? -
i've deadlock graph in locked resource mentioned these 3 fields db id, file id, page id. there associated objectid. want know table page belongs. tried dbcc page(dbid, fileid, pageid) tableresults doesn't show table name.
any idea how this?
update: tried select name sys.indexes object_id = 123 , index_id = 456 here 123 m_objid (next objectid) , 456 m_indexid (next indexid) output dbcc page command. null.
to results dbcc page must enable traceflag 3604, otherwise results go sql server log:
dbcc traceon (3604) then try command
dbcc page ( dbid, filenum, pagenum , 3) the fourth parameter printopt:
the printopt parameter has following meanings:
0 - print page header 1 - page header plus per-row hex dumps , dump of page slot array (unless it's page doesn't > have one, allocation bitmaps) 2 - page header plus whole page hex dump 3 - page header plus detailed per-row interpretation
definition here
Comments
Post a Comment