Query Session Logs

2025-06-10 09:02:13

Overview

A session is an uninterrupted sequence of SQL requests and responses between a client and a database server. A session may contain one or more SQL requests and responses.

Sessions can be divided into online sessions and history sessions based on their status.

l  An online session means that the session has not ended and there will still be requests or responses.

l  A history session refers to a session that has ended and both parties in the session have disconnected from the session.

The four basic elements of a session are the client IP address, client port, server IP address, and server port.

The four elements can be used to locate a unique session at a given moment. You can view history sessions and online sessions, and view all request or response logs generated during a session through the session information.

 

Query History Sessions

1. In the menu, select Query Analysis > Session Logs to enter the Session Logs page, select the History Sessions tab, set the query conditions (e.g. time range, and asset), and click Search to query related history sessions.

2. Click Details in the Operation column to view the session details.


ywO5TUllVUIu