All Products
Search
Document Center

Database Autonomy Service:Session management

Last Updated:Aug 27, 2026

Database Autonomy Service (DAS) session management displays real-time statistics for all active sessions on an instance -- including client information, running commands, and connection duration -- and lets you terminate abnormal sessions directly from the console.

Prerequisites

Make sure you have:

  • A database instance connected to DAS and in the Normal Access state

Limitations

For Redis instances deployed in the cluster architecture, session information generated in direct connection mode cannot be retrieved.

View and manage sessions

  1. Log on to the DAS console.

  2. In the left-side navigation pane, choose Intelligent O&M Center > Instance Monitoring.

  3. Find the target database instance and click the instance ID to open the instance details page.

  4. In the left-side pane, click Instance Sessions.

  5. On the Instance Sessions tab, use the Instance Sessions and Session Statistics sections to:

    • Terminate sessions -- End active sessions.

    • View session statistics -- Check summary information by access source, including total client count and active client count.

    • Export session data -- Download summary information and session statistics by access source.

Session parameters

The Instance Sessions section lists the following parameters. Hover over a column name for its description.

Connection identity

Parameter

Description

id

Client ID.

addr

Client IP address and port number.

name

Client name.

fd

File descriptor used by the socket.

db

Database the client is connected to.

flags

Client type and state flags. See Client flags.

Activity and timing

Parameter

Description

cmd

Most recently executed command.

age

Connection duration, in seconds.

idle

Idle time, in seconds.

Subscriptions and transactions

Parameter

Description

sub

Number of subscribed channels (Pub/Sub).

psub

Number of subscribed patterns (Pub/Sub).

multi

Number of commands executed in the transaction.

Buffer and memory

Parameter

Description

qbuf

Input buffer size.

qbuf-free

Available space in the input buffer.

obl

Fixed output buffer size.

oll

Length of the object list in the dynamic output buffer.

omem

Output buffer size.

Event loop

Parameter

Description

events

Socket readiness in the event loop: r = readable, w = writable.

Client flags

The flags parameter contains one or more of the following letters, each describing the client type or current state:

Flag

Meaning

O

Replica node in MONITOR mode.

S

Replica node in normal mode.

M

Master node.

x

Executing a transaction.

b

Waiting for a blocking event.

i

Waiting for VM I/O (deprecated).

d

A watched key was modified -- EXEC will fail.

c

Connection closes after the current reply finishes writing.

u

Client was unblocked.

U

Connected through a UNIX socket.

r

Read-only mode on a cluster node.

A

Connection will close as soon as possible.

N

No flags set.

API reference

API operation

Description

GetRedisAllSession

Queries the current sessions of a Redis instance.

KillInstanceAllSession

Terminates all sessions of a Redis instance.