检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Audit logs cannot be sent to the Kafka server. Table 2 Operation events Event Source Event Name Event ID Event Severity Description RDS Reset administrator password resetPassword Major The password of the database administrator is reset.
Table 1 Common practices Practice Description Suggestions on using RDS for MySQL Instance Usage Suggestions This practice provides suggestions on using RDS for MySQL in terms of DB instances, database connection, reliability and availability, backup and restoration, SQL audit, routine
Log Size Size of audit logs ≥ 0 GB 1024 RDS for PostgreSQL instance 5 minutes slave_replication_status Stream Replication Status of Standby Node Stream replication status of the standby node.
Log Size Size of audit logs ≥ 0 GB Monitored object: database Monitored instance type: PostgreSQL instances rds047_disk_total_size Total Storage Space Total storage space of the monitored object 40–4,000 GB Monitored object: ECS.
Audit logs cannot be sent to the Kafka server. Database proxy Proxy instance access to DB instance failure proxy_connection_failure_cause_security_group Major No rules in the security group of the DB instance allow the proxy instance to access the DB instance.
Audit logs cannot be sent to the Kafka server. Database proxy Proxy instance access to DB instance failure proxy_connection_failure_cause_security_group Major No rules in the security group of the DB instance allow the proxy instance to access the DB instance.
SQL Audit records all SQL operations in log files for download and query. RDS for PostgreSQL instances Error logs contain logs generated during the database running. They can help you analyze database problems.
After a major version upgrade, the audit logs, error logs, and slow query logs of the original instance are still stored in the original instance. You can only view the logs generated after the upgrade on the new instance. Read replicas do not support major version upgrades.
We are sorry for any inconvenience caused. pg_sql_history This extension is used by Database Security Service (DBSS) to audit SQL operations of RDS for PostgreSQL instances.
Log retention period Error log details: 30 days Slow query log details: 30 days Original slow query logs: 30 days Slow query log statistics: 30 days Failover/switchover logs: 30 days SQL audit logs: The default value is 7 days. The value ranges from 1 to 732 days.