Monitoring Multiple Instances
Home > Select Project > Dashboard > Multiple Instance Monitoring
In Instance Monitoring, to monitor only one instance, Multiple Instance Monitoring allows you to check and compare metrics and active sessions of multiple instances on one screen. Graph charts make it easy to see how instances' metric values are trending and which instances have higher metric values.
If you select an agent to compare in Dashboard > Instance List, and then select Multi view, the Monitoring Multiple Instances menu appears.
Basic screen guide
-
Instance
It is a list of instances (databases) where the agent has been installed. The color of the instance matches the color of the graph chart placed on the screen. To exclude some instances of data from the graph chart, select the corresponding instances. If you select the instance again, the graph chart reflects the instance data.
-
Status
You can monitor the metrics related to the resources of your database server.
-
Load balance
You can monitor whether the load is concentrated on one server by checking which instance has a high metric value.
-
Graph chart section
The horizontal axis of each widget is time, and the vertical axis is the metric number.
-
Active sessions | Lock tree | Process Info
You can view the active session, lock tree, and process information for a specific instance. Select Instance Name.
-
For more information about each metric, see the following.
-
For more information about the columns, see the following.
- The Process Info can be viewed by additionally configuring the XOS agent. For more information, see the following.
Selecting a metric
You can change the metric of the graph chart widget placed on the screen to another one.
-
Select on the upper right of the widget to change the metrics.
-
If the Count selector window appears, select a desired metric.
-
Select Save.
The metric of the selected widget is changed.
For more information about each metric, see the following.
Layout setting
To set the layout on the metrics chart, on the upper right of the screen, select . Nine (3x3) metrics charts are set on the default layout, and you can change the number of charts on a page.
Using the active session section
Through Active sessions at the bottom of the screen, you can see the real-time active sessions. The following provides the guide for the button on the upper right of the table.
- : You can stop changing the data collected in real time. To restart it again, select .
-
: The list of tables is refreshed.
-
: The column header entries in the table can be displayed or hidden.
-
: You can filter the list based on the column header entries in the table. After selecting the button, you can set the conditions in each header column such as Includes, Excludes, Equal, and Unequal.
NoteAdjust the column width if the text field for filter condition options is invisible.
-
: You can download the content of the table as a CSV file.
Stopping an active session
You can stop a session(s) that has been running for a long time.
-
In the Active sessions list, move your mouse cursor to the session to terminate.
-
Select the that appears on the utmost right.
-
If the Session kill window appears, enter the password.
-
Select Apply.
The session is stopped.
-
Through the paramkey.txt file in the DBX agent installation path, you can find the password.
-
This feature is only available to the members with Edit role. For more information about member roles, see the following.
Zooming in the graph chart section
If the current screen is small and difficult to see the widget, you can check the graph chart widget in a wider screen. Select in the Active sessions section at the bottom of the screen. The Active sessions section is collapsed and the graph chart widget section is enlarged.
To zoom out the graph chart widget, select at the bottom of the Active sessions section.
See query details
To check the SQL query information of the executing session, select the query (or sql_text) column in the Active sessions section. The SQL details window appears. You can check the SQL query statements and plan information.
- View SQL Statistics: You can go to the SQL statistics menu where you can check statistical information related to the SQL query statement.
Changing the table columns
You can display or hide the column entries in the table, and change their order.
-
Select on the upper right of the table.
-
When the Column Setting window appears, hide, add, or change the order of items to be displayed in the table columns.
- Select a column, and then , , or . Go to Visible or Invisible.
- You can move the position by dragging the column while it is selected.
-
After all settings are finished, select Save.
The setting is saved as a browser cookie value to maintain the state even after refreshing the page. If an error occurs between settings due to cookie deletion or other reasons, it is initialized.
Column information guide
- Active session
- Lock tree
- Process information
Item | Description |
---|---|
instance | Agent or instance name. |
pid | PID of the database process. |
dbname | Name of the connected database. |
user | User name connected to the database. |
query_time | Query execution time. |
transtatus | Current state of the transaction. |
query | Executed SQL query. |
query_hash | Hash value of the query. |
query_param | Parameters used for a query. |
program | Program information executed by the client. |
tranindex | Unique number that identifies the running transaction. |
tran_time | Time elapsed since the transaction began. |
sql_id | Unique ID for the running SQL query. |
time | Task operation time |
lock_holder | Session that has locked the resources in the current transaction. |
Item | Description |
---|---|
instance | Agent or instance name. |
pid | PID of the database process. |
tranindex | Unique number that identifies the running transaction. |
user | User name connected to the database. |
query_time | Query execution time. |
transtatus | Current state of the transaction. |
query | Executed SQL query. |
query_hash | Hash value of the query. |
query_param | Parameters used for a query. |
lock_holder | Session that has locked the resources in the current transaction. |
The following items are the metrics collected if the XOS agent has been installed.
Item | Description |
---|---|
cputime | CPU usage time |
cpuusage | CPU Utilization |
elapse | Elapsed time of CPU usage |
vsize | Virtual memory size (Kb) |
rss | Resident Set Size (RSS) that is the number of physical pages associated with the process. |
state | Process status |
ioread | Actual time spent reading the block (milliseconds) |
iowrite | Actual time spent writing the block (milliseconds) |
pss | Process specific memory usage + Percentage of shared memory occupied by one process |
uid | user id |
cmd | Executing command |
longcmd | Full path of cmd |
WhaTap basically stores the client-related information.