Sessions of an Instance
Scenarios
GeminiDB Redis allows you to manage sessions of an instance. You can log in to the GeminiDB Redis console to view sessions of each instance node.
Precautions
- The session management function is still in the open beta test (OBT) phase. To use it, contact customer service.
- To use this function, you need to update instances with earlier kernel minor versions to the most recent version.
- This function is available only when the target instance node is normal.
- Session details are displayed after a client connects to the instance.
Procedure
- Log in to the GeminiDB console.
- In the service list, choose Databases > GeminiDB Redis API.
- On the Instances page, click the target instance.
- In the navigation pane on the left, choose Sessions.
- On the Sessions page, select a node.
Figure 1 Sessions
- View node information and choose to view sessions by source or database based on your needs. For involved parameters, see Table 1 and Table 2.
Table 1 Session parameters Parameter
Description
Kill Selected
Ends the selected sessions.
Kill All
Ends all sessions.
Auto Refresh
Refreshes the data automatically at a certain time interval. Auto Refresh is disabled by default. You can toggle on to enable it. After Auto Refresh is enabled, the page is refreshed every 10s by default. You can set the time interval to 10s, 30s, or 60s as required.
addr
Indicates the IP address and port number of the client.
id
Indicates the session ID.
name
Indicate the connection name.
cmd
Indicates the last executed command.
age
Indicates the connection duration, in seconds.
idle
Indicates the idle time, in seconds.
db
Indicates the ID of the database that is being used by the client.
fd
Indicates the file descriptor for sockets.
sub
Indicates the number of subscribed channels.
psub
Indicates the number of subscribed modes.
multi
Indicates the number of commands executed in a transaction.
Table 2 Session statistics Parameter
Description
Summary
Statistics items and results of a node
Item
Total and active clients
- Total clients: Total client connections
- Active clients: Active client connections
Result
Statistical results
By source
Sessions on clients connected to a node. IP addresses of top ten clients are displayed and ordered based on sessions on each client. There may be clients with the same quality of sessions.
By database
IP addresses of clients connected to each database and sessions of each client. Top ten clients are displayed and ordered based on their sessions. There may be clients with the same quality of sessions.
Source
Client IP address
DB
ID of the GeminiDB Redis database
Total
Total client connections
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot