Use instance sessions to diagnose performance issues and connection problems on a Tair (Redis OSS-compatible) instance. The Instance Sessions page in CloudDBA shows real-time client connections, including client details, commands being run, and connection durations. You can also terminate abnormal sessions directly from the console.
Limitations
For cluster instances, session information generated in direct connection mode is not available.
View and manage sessions
Prerequisites
Before you begin, ensure that you have:
A Tair (Redis OSS-compatible) instance
Access to the Alibaba Cloud console
Access the Instance Sessions page
Log on to the console and go to the Instances page. In the top navigation bar, select the region where your instance resides. Find the instance and click its ID.
In the left-side navigation pane, choose CloudDBA > Instance Sessions.
View sessions
All sessions are displayed by default. Hover over a field name to see its description.
To filter sessions, enter keywords in the search box.
To refresh the session list, use either method:
Click Refresh in the upper-left corner to refresh manually.
Turn on Auto Refresh to refresh automatically every 30 seconds.
Terminate sessions
Terminating a session closes the corresponding connection. Proceed with caution.
To terminate one or more sessions, select the target session or hold Shift to select multiple sessions, then click Kill Selected in the upper-right corner.
To terminate all sessions at once, click Kill All.
View session statistics
The session statistics section shows the total number of clients, the number of active clients, and the source IP addresses of client connections.
In the Statistics by Source table:
Click the icon to the right of a source IP address to set or modify its alias.
In the Total Sessions column, click a value to see the session details for that source IP address.
FAQ
How do I close client connections?
In the left-side navigation pane, choose CloudDBA > Instance Sessions. Select one or more sessions in the session list and click Kill Selected.