Skip to main content

Monitoring a Database Instance

Home > Select Project > Dashboard > Monitoring a Database Instance

In Monitoring a Database Instance, you can monitor the key metrics of the database server, information details on active sessions, lock tree, PQ tree, and process information in real time. You can also see the alerts that could be problematic warnings. By default, the collected data for the last 10 minutes is retrieved in real time. Collected data is updated every 5 seconds.

Basic screen guide

Instance Monitoring

  • number1 Selecting a lookup target

    You can select an instance and a database included in the instance for data inquiry. The collected data of the selected instance and its database are automatically applied to the number2 graph chart and the number3 Active Sessions table.

  • Number 2 Graph chart section

    The horizontal axis of each widget is time, and the vertical axis is the metric number. If you select a specific time period in each widget, Analysis > Counts Trend appears.

  • Number 3 Active sessions | Lock tree | Process Info

    You can view the active session, lock tree, and process information.

    • Active sessions

      You can view active sessions and queries. If you select an item in the rightmost sql_text or query column in the table, the SQL details window appears. You can see the full text and plan information for the selected query. For more information, see the following.

    • Lock tree

      You can see the lock session information, and holder and waiter information in real time. For more information about the table columns, see the following.

    • Process Info

      You can query the resource usage of the database server in real time.

Note
  • Colors in the database correspond to the ones in the graph chart.

  • For more information about Counts Trend, see the following.

  • 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.

  1. Select Configuration icon on the upper right of the widget to change the metrics.

  2. If the Count selector window appears, select a desired metric.

    Count window

  3. Select Save.

The metric of the selected widget is changed.

Note

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 Layout configuration icon. Nine (3x3) metrics charts are set on the default layout, and you can change the number of charts on a page.

Layout setting

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.

  • Stop icon: You can stop changing the data collected in real time. To restart it again, select Start icon.
  • Refresh icon: The list of tables is refreshed.

  • Column icon: The column header entries in the table can be displayed or hidden.

  • Filter icon: 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.

    Note

    Adjust the column width if the text field for filter condition options is invisible.

  • Download icon: 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.

  1. In the Active sessions list, move your mouse cursor to the session to terminate.

  2. Select the Session kill icon that appears on the utmost right.

  3. If the Session kill window appears, enter the password.

  4. Select Apply.

The session is stopped.

Note
  • 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.

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.

SQL details

  • 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.

  1. Select Column icon on the upper right of the table.

  2. 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 Left arrow icon, Right arrow icon, Add icon or Minus icon. Go to Visible or Invisible.
    • You can move the position by dragging the column while it is selected.
  3. After all settings are finished, select Save.

Note

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

For more information about columns, see the link.

ItemDescription
actionName of the running job.
block_updatesNumber of block updates.
block_updates_sigmaTotal number of block updates.
client_identifierClient ID.
client_infoAdditional information of the client.
client_pidPID of the client process.
commandCommand running in the current session.
consumed_cpu_timeCPU time consumed by the session.
consumer_groupConsumer group to which the session belongs.
cpu(xos)CPU utilization
cpuusageCPU usage consumed by the session.
event_nameName of the waiting event.
execute_countNumber of SQL executions.
execute_count_sigmaTotal number of executions.
id1First identifier value.
id2Second identifier value.
ioread(xos)Actual time spent reading the block (milliseconds).
iowrite(xos)Actual time spent writing the block (milliseconds)
ipaddrClient IP address.
logon_timeTime when the session logged in the database.
logical_readsNumber of logical read operations.
logical_reads_sigmaTotal number of logical read operations.
machineName of the machine on which the session is running.
moduleName of the running module.
os_thr_idThread ID of the operating system.
osuserUser of the operating system running the session.
parse_count_hardNumber of hard parses.
parse_count_hard_sigmaTotal number of hard parses.
parse_count_totalTotal number of parses.
parse_count_total_sigmaTotal number of parses.
pdml_enabledWhether parallel DML is enabled or not.
pdml_statusStatus of the parallel DML.
pddl_statusStatus of the parallel DDL.
pga_used_memAmount of memory being used in the process global area (PGA).
physical_readsNumber of physical read operations.
physical_reads_sigmaTotal number of physical read operations.
pidPID of the database process.
pq_statusStatus of the parallel query.
prev_sqlText of the previously executed SQL statement.
prev_sql_idUnique ID of the previously executed SQL statement.
prev_sql_paramParameter of the previously executed SQL.
prog_nameName of the program running the session.
pss(xos)Process specific memory usage + Percentage of shared memory occupied by one process.
row_wait_block_noBlock number of the waiting row.
row_wait_file_noFile number of the waiting row.
row_wait_obj_idObject ID of the waiting row.
row_wait_row_noRow number of the waiting row.
rss(xos)Resident Set Size (RSS) that is the number of physical pages associated with the process.
schemanameName of the schema the session is using.
seq#Value indicating the sequence number of the session.
sidSession ID that uniquely identifies the session.
sql_etSQL execution time.
sql_hashHash value of the SQL statement.
sql_idUnique ID of the SQL statement being executed.
sql_paramParameters used to execute SQL.
sql_textText of the SQL statement being executed.
sql_traceWhether to trace SQL.
stateCurrent state of the session.
statusStatus of the session.
terminalName of the terminal to which the session is connected.
typeType of the session.
usnUndo segment number.
used_blkNumber of used blocks.
used_recNumber of used records.
wait_eventEvent that the session is waiting for.
wait_timeWaiting time.
wlock_waitWhether the session is waiting for a lock or not.
wthr_idThread ID of the session's work.
Note

WhaTap basically stores the client-related information.