Symptom
- Deadlocks reported on 'sysobjects' for temporary tables can be seen in ASE logs
Deadlock Id 257: Process (Familyid 0, Spid 8716) was waiting for a 'next key' lock on row 56 page 1 of the 'sysobjects' table in database 'tempdb_cpgb'
but process (Familyid 0, Spid 7709) already held a 'shared row' 'range' lock on it. Deadlock Id 257: Process (Familyid 0, Spid 7709) was waiting for a 'next key' lock on row 63 page 1 of the 'sysobjects' table in database 'tempdb_cpgb'
but process (Familyid 0, Spid 8716) already held a 'shared row' 'range' lock on it.
- The SQL code related to this issue are 'SELECT INTO' statements running concurrently.
- A deadlock may be reported on ‘sysobjects’ system table when temporary tables are created by a concurrent execution of SELECT-INTO commands including during ZDO SAP upgrade
Read more...
Environment
- SAP Adaptive Server Entreprise (ASE) 16
Product
SAP Adaptive Server Enterprise 16.0
Keywords
temporary tables,temp tables,sysobjects,tempdb,deadlocks,select into,CR 789748,789748,CR789748,ZDO,upgrade , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , BC-DB-SYB , Business Suite on Adaptive Server Enterprise , Bug Filed
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.