检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
You can delete the instance only after the operation is complete. For details, see Deleting a Pay-per-Use DB Instance or Read Replica.
On the Instances page, locate the primary DB instance to be deleted and choose More > Delete in the Operation column. Figure 1 Deleting a DB instance In the displayed dialog box, enter DELETE and then click OK.
However, you cannot delete or reboot DB instances that are being scaled. After you change the instance class of a DB instance, the DB instance will be rebooted and the cache in the memory will be automatically cleared.
To solve this problem, delete definer='root' from the command. create definer='root'@'%' trigger(procedure)... Parent topic: Database Permissions
RDS for MariaDB does not delete or perform any operations on any user data. If this problem occurs, check if there have been any misoperations and restore the data from backup files, if necessary.
You can delete manual backups as needed. For details, see Deleting a Manual Backup. The backup data is stored in OBS and does not occupy the database storage space. Parent topic: Backup and Restoration
If you delete the frozen DB instance, the existing automated backups will also be deleted. You need to manually delete the existing manual backups. After all the backups are removed, the backup space will no longer be billed. Parent topic: Backup and Restoration
Manual full backups You can manually delete manual backups. For details, see Deleting a Manual Backup. SQL audit logs You can change the retention period. Audit logs that have expired will be automatically deleted. For details, see Enabling SQL Audit.
Locate the parameter template to be deleted and choose More > Delete in the Operation column. In the displayed dialog box, click Yes. Parent topic: Managing Parameter Templates
For example, data read/write becomes slow, connecting to the instance takes a longer time, or errors are reported when you are trying to delete data. Solution Analyze slow SQL logs and CPU usage to locate slow queries and then optimize them.
Related Operations To delete a SQL throttling rule, locate it in the rule list and click Delete in the Operation column. In the displayed dialog box, click OK. Figure 2 Deleting a rule Parent topic: SQL Analysis
Slow SQL Statements Caused by Batch Operations Causes and symptoms A large number of operations are performed to import, delete, and query data. You can view Total Storage Space, Storage Space Usage, and IOPS on the console.
Deleting a Manual Backup Scenarios You can delete manual backups to free up backup storage. Constraints Deleted manual backups cannot be recovered. Manual backups that are being created cannot be deleted. Procedure Log in to the management console.
Then, click Delete in the Operation column. In the displayed dialog box, click OK to delete the task record. Click Delete in the Operation column. In the displayed dialog box, click OK to delete the task record.
On the displayed page, locate the target username and choose More > Delete in the Operation column. In the displayed dialog box, enter DELETE and click OK.
When you delete a DB instance, its automated backups are also deleted but its manual backups are retained. Constraints The number of tables in a DB instance affects the backup speed. The maximum number of tables is 500,000.
On the displayed page, locate the target database and click Delete in the Operation column. In the displayed dialog box, enter DELETE and click OK.
To delete data of an entire table, run DROP or TRUNCATE. To delete part of table data, run DELETE and OPTIMIZE TABLE. If temporary files generated by sorting queries occupy too much storage space, optimize your SQL query statements.
For example, if you want some software developers in your enterprise to use RDS resources but do not want them to delete RDS instances or perform any other high-risk operations, you can create IAM users and grant permission to use RDS instances but not permission to delete them.
To delete the DB instance, choose More > Delete in the Operation column. Ensure that the DB instance has been removed from the list. You are billed one hour after the resource usage is calculated, so a bill may still be generated after the pay-per-use resource is deleted.