检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Creating and Managing Databases For details about the rules of the write/update and delete commands, see Write/Update and Delete. Procedure Create database info. use info Enter db.
If you want to delete a collection, do not use the remove or delete command without filtering conditions. Instead, use db.<collection_name>.drop() to delete a collection. If a query condition is specified for the remove or delete command, the corresponding index must be created.
Action Access Level Resource Type (*: required) Condition Key Alias Dependencies dds:backup:delete write - - - - URI URI format DELETE /v3/{project_id}/backups/{backup_id} URI example https://dds.ap-southeast-1.myhuaweicloud.com/v3/0549b4a43100d4f32f51c01c2fe4acdb/backups/8d9586c40b33449a815518d4635a2cd9br02
Action Access Level Resource Type (*: required) Condition Key Alias Dependencies dds:backup:delete write - - - - URI DELETE /v3/{project_id}/instances/backups Table 1 Request Parameters Name Type IN Mandatory Description project_id string path Yes Project ID of a tenant in a region
Action Access Level Resource Type (*: required) Condition Key Alias Dependencies dds:instance:delete write instance g:EnterpriseProjectId dds:instance:deleteInstance - URI URI format DELETE /v3/{project_id}/instances/{instance_id} URI example https://dds.ap-southeast-1.myhuaweicloud.com
Deleting a Collection Run db.collection_name.drop() to delete the collection. Parent topic: Database Usage
Deleting mongos Nodes API Description This API is used to delete mongos nodes from a cluster instance. Authorization Information Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions.
On the Audit Logs page, locate a target log file and click Delete in the Operation column. Click Yes. Parent topic: Audit Logs
Deleting Audit Logs API Description This API is used to delete audit logs. Authorization Information Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions.
Deleting Instance Nodes API Description This API is used to delete instance nodes. Constraints This API applies only to replica set instances. For a 7-node replica set instance, two or four standby nodes can be deleted.
DDS does not delete or perform any operations on any user data. If this problem occurs, check whether a misoperation has been performed. Restore the data using backup files, if necessary. Solution: Restore a DB instance from a backup. For details, see Backup and Restoration.
Changing Replica Set Instance Nodes Scenarios DDS allows you to add nodes to and delete nodes from a replica set instance. DDS allows you to scale out a three-node replica set instance to up to five or even seven nodes.
Rebuilding an Instance Scenarios You can rebuild an instance from the recycle bin to restore data. Precautions You can rebuild DB instances within the retention period from the recycle bin. After an instance is deleted, the latest automated full backup of the previous day is retained
Figure 2 Searching for a DB instance Choose More > Delete in the Operation column to delete the DB instance. Ensure that the instance is not available in the list.
Can I Delete an Index That Fails to Be Created in DDS? Does DDS Delete Expired Data Using TTL Indexes? How Do I Use MapReduce Commands? Does DDS Support the $round Function? How Do I Manage Balancers?
If you delete the frozen DB instance, the original automated backups will also be deleted. You need to manually delete the original manual backups. After the deletion, the backup space will no longer be billed. Parent topic: Backup and Restoration
After deleting data, RocksDB directly converts the delete operation to append write.
After deleting data, RocksDB directly converts the delete operation to append write.
database users, delete database roles, and check the database password.
Figure 3 Disabling audit policy You can determine whether to delete all audit logs: If you do not select Delete audit logs, all audit logs within the retention period will be retained. You can manually delete them later.