Constraints
Database audit is subject to certain constraints.
Supported Database Types
The following types of databases on the management console can be audited in out-of-path mode:
- Relational Database Service (RDS)
- Databases built on ECS
- Databases built on BMS
Databases That Do Not Need Agents
Databases of some types and versions can be audited without using agents, as shown in Table 1.
Type | Supported Edition |
---|---|
RDS for SQLServer | All editions are supported by default. |
RDS for MySQL |
|
PostgreSQL NOTICE: If the size of an SQL statement exceeds 4 KB, the SQL statement will be truncated during auditing. As a result, the SQL statement is incomplete. |
|
Databases That Need Agents
The following database versions can be audited.
Database Type | Edition |
---|---|
MySQL |
|
Oracle (The Oracle database uses closed-source protocol and has complex adaptation versions. If you need to audit the Oracle database, contact customer service.) |
|
PostgreSQL |
|
SQL Server |
|
GaussDB(for MySQL) | 8.0 |
DWS |
|
DAMENG | DM8 |
KINGBASE | V8 |
SHENTONG | V7.0 |
HighGo | V6.0 |
GaussDB |
|
Hbase |
|
Hive |
|
Supported OSs
To use database audit, you need to install its agent on database nodes or application nodes. The database audit agent can run on the 64-bit Linux.
- For more information, see Table 3.
Table 3 Supported Linux OS versions System Name
System version
CentOS
- CentOS 7.0 (64bit)
- CentOS 7.1 (64bit)
- CentOS 7.2 (64bit)
- CentOS 7.3 (64bit)
- CentOS 7.4 (64bit)
- CentOS 7.5 (64bit)
- CentOS 7.6 (64bit)
- CentOS 7.8 (64bit)
- CentOS 7.9 (64bit)
- CentOS 8.0 (64bit)
- CentOS 8.1 (64bit)
- CentOS 8.2 (64bit)
Debian
- Debian 7.5.0 (64bit)
- Debian 8.2.0 (64bit)
- Debian 8.8.0 (64bit)
- Debian 9.0.0 (64bit)
- Debian 10.0.0 (64bit)
Fedora
- Fedora 24 (64bit)
- Fedora 25 (64bit)
SUSE
- SUSE 11 SP4 (64bit)
- SUSE 12 SP1 (64bit)
- SUSE 12 SP2 (64bit)
Ubuntu
- Ubuntu 14.04 (64bit)
- Ubuntu 16.04 (64bit)
- Ubuntu 18.04 (64bit)
- Ubuntu 20.04 (64-bit)
EulerOS
- Euler 2.2 (64bit)
- Euler 2.3 (64bit)
Oracle Linux
- Oracle Linux 6.9 (64bit)
- Oracle Linux 7.4 (64bit)
Other Constraints
- If SSL is enabled for a database, the database cannot be audited. To use database audit, disable SSL first.
- Ensure the VPC of the database audit instance is the same as that of the node (application side or database side) where you plan to install the database audit agent. Otherwise, the instance will be unable to connect to the agent or perform audit.
- In some SQL Server databases, complex declare statements, select functions, and symbol statements that cannot be identified by the system may fail to be parsed.
- Supported Database Types
- Databases That Do Not Need Agents
- Databases That Need Agents
- Supported OSs
- Other Constraints