Use the Oracle connection workflow to add an Oracle server to Mini DBA monitoring. Oracle monitoring uses database privileges for V$ views, GV$ views, DBA dictionary views, and multitenant container information, plus optional host OS login for CPU and drive metrics.
In Servers, select Add Server and choose Oracle.
| Field | What to enter |
|---|---|
| Type | Oracle |
| Instance / Host | Oracle host name |
| Username | Oracle monitoring user |
| Password | Password for the monitoring user |
| Service Name | Oracle service name, such as ORCL |
| Port | Oracle listener port, normally 1521 |
The Mini DBA Engine must be able to reach the Oracle listener and service name.
With the required Oracle privileges, Mini DBA can monitor:
The Oracle permissions modal checks:
Run this as an Oracle administrator. Change the password first.
ALTER SESSION SET CONTAINER = CDB$ROOT;
CREATE USER C##MINIDBA_MONITOR IDENTIFIED BY "UseASecretPasswordHere" CONTAINER = ALL;
GRANT CREATE SESSION TO C##MINIDBA_MONITOR CONTAINER = ALL;
GRANT SELECT ANY DICTIONARY TO C##MINIDBA_MONITOR CONTAINER = ALL;
Use a common user when Mini DBA needs container and pluggable database visibility from a single connection.
For non-multitenant Oracle or a single database scope, use a local user:
CREATE USER MINIDBA_MONITOR IDENTIFIED BY "UseASecretPasswordHere";
GRANT CREATE SESSION TO MINIDBA_MONITOR;
GRANT SELECT ANY DICTIONARY TO MINIDBA_MONITOR;
For short-lived testing only, the modal notes that the DBA role can provide broader access:
GRANT DBA TO MINIDBA_MONITOR;
Do not use the DBA role for routine production monitoring unless your security policy explicitly permits it.
After adding Oracle, open the Oracle server and use the Oracle Connectivity Permissions modal. Select Refresh to probe current privileges, common user status, container access, DBA role status, and host login status.
Use the modal when:
Oracle host OS login is configured from the Oracle permissions modal after the server is added. On Linux, use SSH with password or private key authentication. On Windows, use an account with suitable local performance access.
Host OS login can add:
For cloud-hosted Oracle platforms where direct OS access is unavailable, configure cloud provider credentials in Cloud Provider Settings.
For detailed setup, see Host OS Login.
No. The DBA role is powerful and should usually be avoided for routine monitoring. The core recommended privileges are CREATE SESSION and SELECT ANY DICTIONARY, adjusted for your security policy.
Use a common C## user for Oracle 12c+ multitenant environments when Mini DBA should monitor containers and pluggable databases from one connection.
The basic connection and permission examples do not grant or imply license rights for Oracle optional packs. If your environment uses AWR, ASH, or Diagnostics Pack related views, confirm your Oracle licensing position separately.