When you are connected to a database in Sybase Central, you can see a diagram of any deadlocks that have occurred in the database since the log_deadlocks option was set to On. Deadlock information is recorded in an internal buffer.
Select the database in the left pane of Sybase Central, and then choose File » Options.
Turn on the log_deadlocks option.
In the Options list, select log_deadlocks.
In the Value field, type On.
Click Set Permanent Now.
Click Close.
For more information, see log_deadlocks option [database].
In the right pane, click the Deadlocks tab.
A deadlock diagram appears if there are deadlocks in the database. Each node in the deadlock diagram represents a connection and gives details about which connection was deadlocked, the user name, and the SQL statement the connection was trying to execute when the deadlock occurred. There are two types of deadlocks: connection deadlocks and thread deadlocks. Connection deadlocks are characterized by a circular dependency for the nodes. A thread deadlock is indicated by nodes that are not connected in a circular dependency, and the number of nodes is equal to the thread limit on the database plus one.
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |