Database instances DPA can monitor
DPA can monitor database instances you manage on both physical and virtual servers or Amazon RDS instances hosted in the Amazon Elastic Compute Cloud (EC2). The server hosting DPA must be able to connect to the monitored server.
Self-managed databases
When you register a self-managed database instance, you must provide the credentials of a privileged user. The required privileges are listed below. During registration, the privileged user either creates the monitoring user, or grants privileges as needed to an existing user designated as the monitoring user. DPA does not store the credentials of the privileged user.
Database | Privileges Required for the Privileged User | Supported Versions |
---|---|---|
Oracle |
SYS user |
|
Microsoft SQL Server |
SYSADMIN role |
|
SAP Sybase ASE |
SA_ROLE |
|
IBM DB2 LUW |
SYSADM |
|
MySQL2 |
The privileged user requires the CREATE USER permission and must be able to grant the following permissions:
To enable the retrieval of query execution plans, this privileged user must be able to grant the following permissions:
|
DPA cannot monitor MySQL 8.0 databse instances. |
1 To monitor an Oracle multitenant container database (CDB), register each pluggable database (PDB) contained in the CDB. Register each PDB just as you would register an Oracle single tenant database. For more information, see Registration and licensing options for clustered environments.
2
Amazon RDS databases
DPA can monitor Amazon RDS Oracle, Microsoft SQL Server, and MySQL instances.
Amazon RDS | Supported Versions |
---|---|
Oracle |
|
Microsoft SQL Server |
|
MySQL |
|
Key differences for Oracle databases on Amazon RDS
Because of Amazon RDS access restrictions, some features that are available on Oracle self-managed database instances are not available for Amazon RDS instances.
Category | Details |
---|---|
Unavailable alerts | Oracle Alert Log Error uses V$DIAG_ALERT_EXT instead of X$DBGALERTEXT . |
Explain plans | Explain plans cannot be generated with a SYS account. You must specify a different account to generate the live plan. |
Workarounds for not having a SYS.UTL_CON package |
|
Key differences for SQL Server databases on Amazon RDS
Because of Amazon RDS access restrictions, some features that are available on SQL Server self-managed database instances are not available for Amazon RDS instances.
Category | Details |
---|---|
Unavailable alerts |
|
Explain plans | The DPA monitoring user does not have a sysadmin role and may have limited access to objects. You can specify a different user to generate the live plan before you generate the plan. |
Unavailable metrics |
|
Workaround for not having a SYSADMIN role | DPA user is a member of PROCESSADMIN role |
Deadlock polling | The monitoring user and database administrator (DBA) do not have permission to create a custom Extended Events Session. Only the default system_health Extended Events Session can be used for deadlock polling. |
About repointing database instances
You cannot transfer a registered Oracle or SQL Server database instance between Amazon RDS and a self-managed database and retain DPA historical data. An Oracle or SQL Server database instance transferred between Amazon RDS and a self-managed instance must be registered in DPA as a separate instance.
MySQL database instances can be repointed. After you transfer a MySQL database instance between Amazon RDS and self-managed, you can repoint DPA to the new instance and continue monitoring where you left off. To repoint, use the Update Connection Info wizard in DPA to update the connection details of the registered database instance to point to the new location.
Azure databases
Database | Required Privileges | Supported Version |
---|---|---|
Azure SQL | db_owner role |
|
Key differences between self-managed SQL Server and Azure SQL database instances
Category | Details |
---|---|
Unavailable Alerts |
|
Unavailable CPU Metrics |
|
Unavailable Memory Metrics |
|
Unavailable Disk Metrics |
|
Unavailable Sessions Metrics |
|
Unavailable License Compliance Metrics |
|
Additional DTU metrics |
|
Additional Memory metrics |
|
Additional Disk metrics |
|
Additional Sessions metrics |
|
About repointing database instances
Repointing database instances is not possible between Azure SQL and SQL Server.