Early Adopter
Oracle database insights are going to be replaced with SQL data source-based extensions. For more information, see:
Database insights adds an infrastructure perspective to your database monitoring. With additional data fetched from the database layer, you're able to resolve performance problems that are rooted deep in the database, for example, understanding why a particular statement is slow.
Database insights runs on an Environment ActiveGate and connects remotely to Oracle databases. With this approach, the database system platform can be of any type—DESK supports all operating systems using the JDBC driver to connect to databases.

You need the following to start using database insights with your Oracle database:
You need the following to start using database insights with your Oracle database:
You need to satisfy the following permissions on the Oracle server for Oracle database insights:
The user that connects to the DB instance needs to be granted the CREATE SESSION and SELECT_CATALOG_ROLE permissions. This also means the access to Dynamic Performance Views, which is a part of the SELECT_CATALOG_ROLE permission.
DBMS_XPLAN package with granted EXECUTE permission is required to fetch execution plans.
To create a user for Oracle database insights:
CREATE USER oracleinsights IDENTIFIED BY password
default tablespace users
temporary tablespace temp;
GRANT CREATE SESSION, SELECT_CATALOG_ROLE TO <oracleinsights>;
Setting up Oracle database insights is straightforward. All you have to do is to define an endpoint—the Oracle database that the ActiveGate will connect to. You can add as many databases from a single Oracle server as necessary.
optional Install OneAgent on the Oracle host.
Select or install and Environment ActiveGate version 1.173+ that will fetch the data from your Oracle server. You can use this ActiveGate for other purposes as well.
Go to Settings > Deployment status to verify if your ActiveGate is up and running. Database insights is enabled by default.
Go to Settings > Monitoring > Monitored Technologies.
Find the Database Insights: Oracle row and click the pen icon to edit it.
Define your Oracle database endpoint. All fields are mandatory:
1521Service or SIDSelect the check box to accept the redistribution license agreement for the Oracle JDBC driver.
DESK uses this to fetch the data from your Oracle server. Your data is secure.
Click Add database. If DESK can establish the connection using the details you've provided, it will start monitoring your Oracle database.
To disable or enable Oracle database insights per monitored database
Installing OneAgent on the Oracle host is optional for database insights. Whether it is installed or not, all metrics are reported under Custom device to reflect the logical structure of your DB server instance, running services, containers, and plugged databases.
However, installing OneAgent on the Oracle host supplements the performance analysis of the server with all the OS process metrics reported to the process group and their instances split by the server instances (SIDs) and listener processes.
To understand and analyze which Oracle statements are the most expensive and most frequently called, click View statements in the Most time-consuming Oracle statements section. The page lists the 100 most time consuming statements. With a single click, you can see the statements that consume the most CPU, memory, or disk storage, or that generate the most wait time. You can customize your analysis using up to three metrics available for TopN analysis.
When analyzing the performance characteristics of a SQL statement, you often find yourself in need of generating and displaying the execution plan of the SQL statement. You can download the Oracle execution plan right from the DESK UI.
Oracle database insights provide you with additional Oracle metrics related to memory and caches, which enables you to pinpoint the RAM-heavy statements.
All the Oracle metrics fetched by Oracle database insights are available for Data Explorer).
You can also refer to the wait and tablespace metrics, which are available to be used in Data Explorer).
DESK binds the data fetched by Oracle database insights with the Oracle processes detected by OneAgent. Starting with OneAgent version 1.173, each Oracle process group represents a single Oracle SID (unique identifier for every Oracle DB instance). The SID is part of the process group name and is extracted from process names (Unix) or service description (Windows). Oracle processes not associated with any SID form an Oracle other processes group. This includes the TNS Listener communication process, so all incoming and outgoing traffic is associated with the group.
Optionally, you can change Oracle database and listener process groups by splitting them by Oracle SID for databases or by name for listeners.
The Oracle database process group will be split into multiple process
groups with the name set to Oracle Database SID.
Go to Settings > Processes and containers > Built-in detection rules.
OneAgent version 1.243+ Select Group Oracle listener processes by name.
The Oracle listener process group will be split into multiple process groups with the name set to Oracle Listener listener-name.
This section describes Oracle database metrics accessible through DESK:
Metrics concerning system performance.

Metrics concerning time spent on various activities.

Total wait time (μs/min)
Total time spent in all wait states except for Idle class.
Metric key: builtin:tech.oracleDb.cd.io.wait
Time spent breakdown (all sessions)
SQL parse (μs/min)
Amount of time spent parsing SQL statements.
Metric key: builtin:tech.oracleDb.cd.queries.sqlParse
SQL execution (μs/min)
Amount of time spent executing SQL statements.
Metric key: builtin:tech.oracleDb.cd.queries.sqlExec
PL/SQL execution (μs/min)
Amount of time spent running the PL/SQL interpreter.
Metric key: builtin:tech.oracleDb.cd.queries.plSqlExec
Connection management (μs/min)
Amount of time spent performing session connect and disconnect calls.
Metric key: builtin:tech.oracleDb.cd.queries.connMgmt
Other (μs/min)
Amount of time spent performing all other activities.
Metric key: builtin:tech.oracleDb.cd.queries.other
Metrics concerning Program Global Area (PGA) memory.

Metrics concerning System Global Area (SGA) memory.

Metrics concerning statements that take the most time to execute.
To view charts of these metrics per Oracle statement, click View statements in the Most time consuming Oracle statements section, and then click Details for a statement.



No, database insights is a default DESK feature starting with version 1.173.
The current Early Adopter release of database insights is free, available with every ActiveGate and DESK server version 1.173+. In the future, the price will be based on the number of consumed metrics.
No. You can only use an Environment ActiveGate that remotely connects to your Oracle server and fetches metrics and properties every minute. As Environment ActiveGate is installed in your local environment, this strengthens the security and minimizes the traffic load in your network. Note that the main purpose of the Cluster ActiveGate is OneAgent traffic routing.
No, but we recommend it, because doing so gives you a better overall picture of your database, the server, and all the processes running on it, and even log monitoring. This way you’ll be able to react to potential issues quicker, and you'll have a better understanding of the root cause.