All Products
Search
Document Center

Tair (Redis® OSS-Compatible):Manage instance sessions

Last Updated:Nov 22, 2024

When performance issues or operation exceptions occur on a Tair (Redis OSS-compatible) instance, you can troubleshoot the issues or exceptions based on the session information on the instance. The instance session feature allows you to view the statistics about sessions between an instance and clients in real time. The statistics include client information, commands that are run, and connection durations. You can also terminate abnormal sessions based on your business requirements.

Limits on functionality

For cluster instances, you cannot retrieve session information that is generated in direct connection mode.

Procedure

  1. Log on to the console and go to the Instances page. In the top navigation bar, select the region in which the instance that you want to manage resides. Then, find the instance and click the instance ID.

  2. In the left-side navigation pane, choose CloudDBA > Instance Sessions.

  3. You can view or terminate sessions for the instance and view the session statistics of the instance.

    • View sessions

      By default, the details of all sessions are displayed. You can move the pointer over a specific parameter name to view the description of the parameter.

      Note
      • You can enter keywords in the search box to filter sessions.

      • To refresh instance sessions, click Refresh in the upper-left corner or turn on Auto Refresh. If you turn on Auto Refresh, the system automatically refreshes the page every 30 seconds.

    • Terminate sessions

      You can terminate the specified one or more sessions at a time or terminate all sessions. To terminate one or more sessions at a time, select the specified session or press the Shift key and select multiple sessions, and then click Kill Selected in the upper-right corner. To terminate all sessions, click Kill All.

      Warning

      This operation may cause the corresponding connections to be closed. Proceed with caution.

    • View session statistics

      Session statistics record the total number of clients, the number of active clients, and source IP addresses (also called IP addresses of clients) for instance sessions.

      Note

      In the Statistics by Source table, click the icon to the right of a source IP address to modify its alias. In the Total Sessions column, click a value to view the details about a source IP address.

FAQ

  • How do I close client connections?

    In the left-side navigation pane of the console, choose CloudDBA > Instance Sessions. In the Instance Sessions section, select one or more sessions and click Kill Selected.