When a Lindorm table receives unexpected write traffic, a namespace is accessed by an unknown client, or you need to audit which applications are connecting to your instance, use Client Trace to identify the source.
Client Trace provides two tracing dimensions:
User dimension: shows the last request time and client details for a specific database user. Use this when you know which user account to investigate.
Node, namespace, or table dimension: shows the IP addresses of clients performing read and write operations on a specific node group, namespace, or table. Use this when you need to trace access by cluster location rather than by user account.
Prerequisites
Before you begin, ensure that you have:
Logged on to the cluster management system of your Lindorm instance. For more information, see Log on to the cluster management system.
Trace clients by user
Use the user dimension when you want to see which clients a specific database user has connected from, and when those connections last occurred.
In the left-side navigation pane of the cluster management system, choose .
In the User dimension client trace section, select the user you want to trace from the user drop-down list.
Click Trace.
The results include the following fields:
| Field | Description |
|---|---|
| Username | The database user that initiated the request. |
| Client addr | The IP address of the client that initiated the request. |
| Client version | The version of the client used to initiate the request. |
| Last contact time | The timestamp of the most recent request from this client. |
Trace clients by node, namespace, or table
Use this dimension when you need to identify which client IP addresses are sending requests to a specific node group, namespace, or table, regardless of which user account initiated them.
In the Node, namespace, table dimension client trace section, configure the filter conditions: idc, Group, and node.
(Optional) Enter a namespace name in the namespace field and a table name in the table field to narrow the results.
Click Trace.
The results show the IP addresses of all clients that sent requests matching your filter conditions.