This topic describes how to diagnose and analyze deadlocks.
Prerequisite
You have the permissions to manage tenants.
Procedure
Log on to the OceanBase Cloud Platform (OCP) console.
In the left-side navigation pane, click Tenants .
Find the target tenant in the Tenants list and click the tenant name.
The Overview page of that tenant automatically appears.
Click Session Management on the left-side to go to the Session page of the tenant.
Click the Deadlock Analysis tab.
The Deadlock Diagnostic Results page automatically appears.

Click Diagnose in the Deadlock Diagnostic Results page.
The system starts to diagnose possible deadlocks in the tenant and returns the diagnosis results in the Deadlock Diagnostic Results page.
Enter a session ID in the search box and click the search icon to view the deadlocks related to the session.