Skip to main content

Monitoring a Database Instance

Info

This document has been created based on the Altibase Monitoring V2. For the Altibase monitoring V1 document, see the following.

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

Selecting the lookup time and target

By default, the collected data for the last 10 minutes is retrieved in real time. If you select values in Time and Instance, the collected data is automatically applied to the number2 graph chart and number4 Active sessions table.

  • To view the past data, click the green button in Time and then select the desired lookup time. You can search data up to the last 3 weeks.

  • To query a random date and time, select the Pause icon button in Time. If you click the text range for date and time, the option appears to select the date and time. To search data in real time again, select Real-time icon.

  • To search data from other agents, click Instance and then select a desired agent name.

Graph chart section

number3 Default displays 16 metrics saved as presets as a graph chart widget. The horizontal axis of each widget is time, and the vertical axis is the metric number. To know the meaning of each metric, select Information next to the name or see the following.

  • To change the position with another widget, select and drag the upper part of the widget. However, the size of the widget cannot be changed.

    Moving a widget

  • When a specific time is selected in the widget, the real-time inquiry mode is stopped and the active sessions performed at the selected time zone appear in the number 4 Active sessions table. After that, a button that allows you to view the data every 5 seconds appears on the Active sessions table.

    Note
    • The selected time can be seen on the upper right of the Active sessions table.

    • In the Active sessions table list, the text colors are changed black → orangeRed, which means that the performance of the session is getting slower.

Active Sessions / Lock Tree / Process Info

You can search active sessions, lock trees, and processes information in real time. If you select a specific time of the chart in the widget, the real-time inquiry mode is stopped and the session performed at the selected time appears in the table. A time selection button appears above the table to search data in 5-second increments.

  • Active sessions
    • You can view active sessions and queries. If you select an item in the rightmost 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
  • In the table list, the text colors are changed black → orangeRed, which means that the performance of the session is getting slower.

  • The Process Info can be checked only when the XOS agent has been installed. For more information, see the following.

Selecting metrics

To add or replace the metric graph to the widget, select Configuration icon on the upper right of the widget. The Metric Select window appears. After completing the desired settings, select Save.

Metric Selection

  • number 5 Preview: You can preview the graph for the selected metric.

  • number 6 Title: Enter the widget name.

  • number 8 Recommendation Metrics / All Metrics: If you select Recommendation Metrics, the list of frequently viewed metrics in Database Monitoring appears. The metrics displayed in the list can be changed or added in the widget.

  • In the number 9 area, you can see the trend of metrics in a graph and add or change any widget. By selecting a desired tab, you can narrow down the list of metrics according to the category.

Adding metrics

Multiple metrics can be added in a widget. You can add up to four metrics.

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

  2. If the Metric Select window appears, in the number 8 metrics list or number 9 graph list, select Add icon on the right of the metric to add.

  3. To add more metrics, repeat the step 2.

  4. To easily identify the widget, change the number 6 Title.

  5. Select Save on the lower right of the screen.

Charts are generated as many times added to the widget to which metrics are added. If you select information icon next to the widget name, you can see the name and description of the added metric. You can also check the figure through a tooltip by hovering your mouse over the chart.

Note

The tooltip of the Information Icon button is not supported in multiple languages.

Changing a metric

You can change a metric in the widget to another.

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

  2. If the Metric Select window appears, select a metric to change in the number 7 area.

  3. In the number 8 metrics list or number 9 graph list, select a desired metric.

  4. In the number 7 area, check that the name of the selected metric has been changed.

  5. Select Save on the lower right of the screen.

Deleting a metric

You can delete unnecessary metrics while multiple metrics have been set in the widget.

  1. On the upper right of the widget to delete metrics from, select Configuration icon.

  2. If the Metric Select window appears, select Delete icon on the right of the metric to delete from the number 7 area.

  3. Select Save on the lower right of the screen.

Note

At least one metric must be selected for a widget. You cannot delete all metrics in a widget.

Preset

You can save and recall user-defined widget settings and active session table arrangements as presets. The Default preset cannot be modified.

Preset

Save Preset

  1. Add or modify the widget metrics.

  2. On the upper right of the screen, select Save icon.

  3. In Save preset, change the name and then select Save.

In the Preset list, select a saved item to fetch the settings.

Note
  • The Default preset cannot be modified.

  • You can create custom presets up to 5. Including the modified metric graph, the column order, column width, and filter application content of the active sessions are also applied.

Deleting presets

If you select Preset on the upper right of the screen, the preset list appears. Select Delete icon on the right of the preset to delete.

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.

  • Filter icon: Using the column header entries in the table, the list can be filtered.
  • Refresh icon: The list of tables is refreshed.

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

  • Session Kill icon: The active session can be stopped.

    Note

    This feature is only available to the members with Edit role. For more information about member roles, see the following.

  • Download icon: You can download the content of the table as a CSV file.

  • Popup icon: A new window appears to see the list on a wider screen.

Checking the SQL statistics

You can see the list of top SQLs for the time period along with the trend of key performance metrics that occurred during the specific time in the past.

SQL 통계 바로가기

  1. In Time, select 아이콘 to switch from real-time mode to non-real-time mode.

  2. In Time, set the time zone to view.

  3. On the upper right of the Active sessions area, select SQL statistics.

SQL statistics appears in a new window. In Instance monitoring, you can see the top SQL list executed for the set time. For more information about SQL statistics, 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.
  • Default Bind: You can bind the part set as a variable in the query sentence to the default value.

  • Reset Bind: You can release the bound default value and check the variable.

  • Formatting: You can improve readability by applying indentation and formatting to a SQL query statement.

  • Plan: To check plan information, enter DB Name, User Name, and Password, and then select Search icon.

Stopping an active session

  1. Select Session Kill icon on the upper right of the table.

  2. Select the session to stop from the table list. You can select multiple items.

  3. Select Stop.

  4. If the Session kill window appears, enter the password (Parameter Key).

    Session Kill

  5. Select Apply.

The selected session is stopped.

Note
  • Through the paramkey.txt file in the DBX agent installation path, you can find the password.

  • This function can be used by only the members with the Edit role. For more information about the member roles, see the following.

Zooming in the graph chart section

Active session

If the current screen is small and difficult to check the widgets, you can see the graph chart widget on a wider screen. Select Down arrow icon at the bottom of the Active sessions section. The Active sessions section is collapsed and the graph chart widget section is expanded.

To zoom out the graph chart widget, select Up arrow icon at the bottom of the Active sessions section.

Setting the table columns

You can hide the table header columns or add any of them. You can also change the column order. Select Column icon.

Column Settings

Note
  • After configuration, select Confirm to apply the settings in the table.

  • In the number 3 search bar, enter text to search the desired columns. Only the columns that meet the entered text are displayed.

  • Images may differ depending on the product, project, or menu.

Adding columns

From the Number 1 list, select the items to add as table header columns. To select all items, select Select All.

Deleting columns

From the number 1 list, unselect the columns to delete. Alternatively, select Delete icon on the right of the item to delete from the number 2 list.

Changing the column order

Drag an item to reposition from the number 2 list, and then move it to the desired position.

Initializing the configuration

To cancel all changes and reset them, select Reset icon Initialized.

Filtering the table data

Filter

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

  2. Select a column header and a condition in the table.

  3. Enter a desired value in the Enter conditions field.

  4. Select Save.

Column information guide

For more information about columns, see the link.

ItemDescription
actionTask or command running in the current session.
active_flagWhether the session is active or not.
autocommit_flagWhether automatic commit is active or not.
client_app_infoInformation about the client application.
client_infoCustom information of the client.
client_nlsClient's National Language Support (NLS) setting.
client_package_versionVersion of the client package.
client_pidProcess ID of the client.
client_protocol_versionVersion of the protocol used between the client and server.
client_typeClient type.
comm_nameName of the communication being used in the session.
commit_write_wait_modeData write waiting mode upon commit.
current_stmt_idID of the SQL statement running.
data page getsNumber of accesses to read the data page.
data page readNumber of physical reads to the data page.
db_usernameUser name connected to the database.
dblink_global_transaction_levelGlobal transaction level of the DB link.
dblink_remote_statement_autocommitWhether the DB link remote document is automatically committed or not.
dbnameName of the connected database.
ddl_time_limitTime limit for DDL (Data Definition Language) operations.
default_date_formatDefault date format.
default_tbsidDefault tablespace ID of the session.
default_temp_tbsidDefault temporary tablespace ID of the session.
elapse_timeTime elapsed since the task started.
eventCurrent or last event occurred.
execute success countNumber of successful commands executed.
failover_sourceSource server information upon failover.
fetch_time_limitMaximum time to fetch data.
header_display_modeDisplay mode of the header information.
idUnique ID of the session.
idle_time_limitIdle time limit of the session.
isolation_levelIsolation level of the current transaction.
lob_cache_thresholdThreshold of the LOB (Large Object) cache.
login_timeLogin time of the session.
max_statements_per_sessionMaximum number of statements that can be executed per session.
memory table access countNumber of accesses to the memory table.
moduleName of the running module.
nls_currencyCurrency symbol used in NLS settings.
nls_iso_currencyISO currency code used in NLS settings.
nls_numeric_charactersNumeric characters used in NLS settings.
nls_territoryRegional information used in NLS settings.
onameAgent or instance name.
opened_stmt_countNumber of open SQL statements.
optimizer_modeQuery optimization mode.
p1First parameter of the event.
p2Second parameter of the event.
p3Third parameter of the event.
paralle_dml_modeParallel DML (Data Manipulation Language) mode.
queryExecuted SQL query.
query_hashHash value of the query.
query_paramParameters used for a query.
query_rewrite_enableWhether to enable the query rewrite operation or not.
query_time_limitTime limit for query operation.
rebuild countNumber of rebuild operations.
replication_modeReplication mode setting.
second_in_timeIt represents the time in seconds.
seqnumSequence number of the session.
session_stateCurrent state of the session.
ssl_certificate_issuerIssuer of the SSL certificate.
ssl_certificate_subjectSubject information of the SSL certificate.
ssl_cipherSSL encryption method in use.
stack_sizeStack size of the session.
sysdba_flagIt represents whether to use the SYSDBA role or not.
task_stateCurrent task state.
timeTask operation time.
time_zoneTime zone setting for the session.
trans_idCurrent transaction ID.
transaction_modeTransaction mode.
trx_update_max_logsizeMaximum log size during transaction update.
utrans_time_limitTime limit for user transactions.
wait_timeWaiting time of the session.
xa_associate_flagXA transaction associated flag.
xa_session_flagXA transaction session flag.
Note

WhaTap basically stores the client-related information.