Get started for Oracle Database clients:
If the application that connects to the Oracle Database server runs on a virtual machine or bare-metal, install OneAgent on it to get started.
If the application that connects to the Oracle Database server runs as a workload in Kubernetes or OpenShift, set up Dynatrace on Kubernetes or OpenShift.
Activate the following OneAgent features to get full tracing insight:
- Node.js Oracle DB
- PHP Oracle
Get started with Oracle Database servers:
If your Oracle Database server runs on a virtual machine or bare-metal, install OneAgent on it to get started with system performance metrics.
Activate the remote Oracle Database extension to get full insight into the Oracle Database server's health and performance combined with metrics and events.
The extension collects data by directly querying the database's performance views and thus requires a connection to the database. A dedicated user account is recommended for monitoring. For convenience, user creation scripts can be found here. These scripts will create a user with the CREATE_SESSION
role and SELECT
permissions on the following performance views:
CDB_DATA_FILES
CDB_TABLESPACE_USAGE_METRICS
CDB_TABLESPACES
CDB_TEMP_FILES
GV_$ARCHIVE_DEST
GV_$ARCHIVE_DEST_STATUS
V_$ASM_DISK_STAT
V_$ASM_DISKGROUP_STAT
V_$BACKUP_SET_DETAILS
GV_$CLUSTER_INTERCONNECTS
GV_$CONTAINERS
V_$CONTAINERS
GV_$CON_SYS_TIME_MODEL
GV_$CON_SYSSTAT
GV_$DATABASE
V_$DATABASE
V_$DATABASE_BLOCK_CORRUPTION
GV_$DATAFILE
V_$DATAFILE
GV_$DATAGUARD_STATUS
GV_$INSTANCE
GV_$INSTANCE_PING
GV_$LIBRARYCACHE
V_$LOG
GV_$METRIC
GV_$METRICGROUP
GV_$PARAMETER
GV_$PDBS
GV_$PGASTAT
V_$RECOVER_FILE
V_$RECOVERY_FILE_DEST
GV_$RESOURCE_LIMIT
V_$RMAN_BACKUP_JOB_DETAILS
GV_$SESSION
V_$SESSION
GV_$SGASTAT
GV_$SQL
V_$SQL
GV_$SQLAREA
V_$SQL_PLAN
V_$SQL_PLAN_STATISTICS_ALL
GV_$SYSSTAT
GV_$SYSTEM_EVENT
GV_$SYSTEM_WAIT_CLASS
V_$TABLESPACE
V_$TEMPFILE
Alternatively, the SELECT_CATALOG_ROLE
can be assigned to the monitoring user.
While the extension supports connecting directly to a Pluggable Database (PDB), our recommended approach to monitor a multitenant Oracle DB setup is to point to extension the CDB. PDB discovery and monitoring will occur automatically. In this case, explicit permissions to access data across all containers may be needed:
alter user <your_username> set container_data=all container = current;
These privileges are already included in the user creation scripts.
Users of the Databases App who want to make use of Query Execution Plans, will also need to provide permission for the V$SQL_PLAN
, V$SESSION
, V$SQL_PLAN_STATISTICS_ALL
and V$SQL
views. These permissions are included in the user creation scripts. See the execution plan monitoring section below for more details.
Finally, activate log monitoring to get full log insight.
Note:
With the TopN feature set, the extension reports the most time consuming queries on the Oracle Instance entity page, in a card called "Logs". Enabling this feature may expose sensitive data in the reported queries.