- What's New
- Function Overview
-
Product Bulletin
- Vulnerability Notice
-
Product Bulletin
- [Notice] GeminiDB HBase Instances Will Reach General Availability on October 11, 2024
- [Notice] GeminiDB Influx and Redis Instances with Cloud Native Storage Will Reach General Availability on February 11, 2025
- [Notice] GeminiDB Influx Instances in a Performance-Enhanced Cluster Will Reach General Availability on January 2, 2025
- Version Description
- Service Overview
-
GeminiDB Redis API
- Service Overview
- Billing
- Getting Started with GeminiDB Redis API
-
Working with GeminiDB Redis API
- Using IAM to Grant Access to GeminiDB Redis API
- Buying a GeminiDB Redis Instance
-
Instance Connection and Management
- Connecting to a GeminiDB Redis Instance
- Connecting to a GeminiDB Redis Instance on the DAS Console
- Connecting to a GeminiDB Redis Instance Over a Private Network
- Connecting to a GeminiDB Redis Instance Over a Public Network
-
Connection Information Management
- Setting Security Group Rules for a GeminiDB Redis Instance
- Viewing the IP Address and Port Number of a GeminiDB Redis Instance
- Changing the Port of a GeminiDB Redis Instance
- Binding an EIP to a GeminiDB Redis Instance Node
- Encrypting Data over SSL for a GeminiDB Redis Instance
- Connecting a GeminiDB Redis Instance over SSL
- Changing the Security Group of a GeminiDB Redis Instance
- Configuring Private Network Access to a GeminiDB Redis Instance
-
Data Migration
- Migration Solution
- (Recommended) Using DRS to Migrate Data from a GeminiDB Redis Instance to an Open-Source Redis Instance
- Migrating the Alibaba Cloud Database Redis/Tair To GeminiDB Redis
- (Recommended) Using DRS to Migrate Data from Open-source Redis or Redis Cluster to GeminiDB Redis API
- Migrating Data from Redis to GeminiDB Redis API Using Redis-Shake
- Using Redis-Shake to Import an RDB or AOF File to a GeminiDB Redis Instance
- (Recommended) Importing Data to Restore RDB Files to a GeminiDB Redis Instance
- Migrating Data from Kvrocks to GeminiDB Redis API
- Migrating Data from Pika to GeminiDB Redis API
- Migrating Data from SSDB to GeminiDB Redis API
- Migrating Data from LevelDB to GeminiDB Redis API
- Migrating Data from RocksDB to GeminiDB Redis API
- Migrating Data from Amazon ElastiCache for Redis to GeminiDB Redis API
- Verifying Redis Data Consistency After Migration
- Instance Management
-
Modifying Instance Settings
- Upgrading a Minor Version
- Modifying a GeminiDB Redis Instance Name
- Changing the Administrator Password of a GeminiDB Redis Database
- Changing vCPUs and Memory
- Setting a Maintenance Window
- Adding and Deleting Instance Nodes
- Scaling Up and Down Storage Space
- Performing a Primary/Standby Switchover for GeminiDB Redis Instances
- Data Backup
- Data Restoration
- Diagnosis Analysis
- Account and security
-
Parameter Management
- Modifying Parameters of GeminiDB Redis Instances
- Creating a Parameter Template
- Viewing Parameter Change History
- Exporting a Parameter Template
- Comparing Parameter Templates
- Replicating a Parameter Template
- Resetting a Parameter Template
- Applying a Parameter Template
- Viewing Application Records of a Parameter Template
- Modifying the Description of a Parameter Template
- Deleting a Parameter Template
- Logs and Audit
- Viewing Metrics and Configuring Alarms
- Tag Management
- Managing User Resource Quotas of a GeminiDB Redis Instance
- Memory Acceleration
-
Development Reference
- Development and O&M Rules
- Compatible Commands
-
Examples of Connecting to an Instance Using Programming Languages
- Connecting to an Instance Using Jedis
- Connecting to an Instance Using Redisson
- Connecting to an Instance Using Hiredis
- Connecting to an Instance Using Node.js
- Connecting to an Instance Using PHP
- Connecting to an Instance Using Python
- Connecting to an Instance Using Go
- Connecting to an Instance Using C#
- Connecting to an Instance Using Sentinel
- Lua Script Compilation Specifications
- Compact Encoding for Small Objects
- Keyspace Notification
- ExHash Commands
- Large Bitmap Initialization
- Querying Large Bitmaps by Page
- Configuring Parameters for a Client Connection Pool
- Using Parallel SCAN to Accelerate Full Database Scanning
- Accessing a GeminiDB Redis Instance Using a Pipeline
- Processing Transactions on a GeminiDB Redis Instance
- Retry Mechanism for Clients Accessing GeminiDB Redis API
- GeminiDB Redis API Pub/Sub
-
Best Practices
- Automated Database Access Using an Account for Multitenancy Management of GeminiDB Redis Instances
- FastLoad for RTA-based Ad Placement
- PITR for Restoring Gaming Data
- ExHash for Ad Frequency Control
- GeminiDB Redis API for Instant Messaging
- Implementing Distributed Locks Using Lua Scripts for GeminiDB Redis API
- Suggestions on Alarm Rules of GeminiDB Redis Instance Metrics
- GeminiDB Redis API for Product Correlation Analysis
- GeminiDB Redis API for Online Classroom
- GeminiDB Redis API for Session Management in Web Applications
- Performance White Paper
-
FAQs
-
About GeminiDB Redis API
- What Are the Differences Between GeminiDB Redis API, Open-Source Redis, and Other Open-Source Redis Cloud Services?
- How Is the Performance of GeminiDB Redis API Compared with Open-Source Redis?
- What Redis Versions and Commands Are Compatible with GeminiDB Redis API? Whether Application Code Needs to Be Refactored for Connecting to a Redis Client?
- Can Data Be Migrated from Open-Source Redis to GeminiDB Redis API? What Are the Precautions?
- What Is the Availability of a GeminiDB Redis Instance?
- Are Total Memory and Total Capacity of a GeminiDB Redis Instance the Same? What Is the Relationship Between Memory and Capacity?
- How Do I Select Proper Node Specifications and Node Quantity When Purchasing a GeminiDB Redis Instance?
- Is a Primary/Standby or Cluster Deployment Mode Preferred for GeminiDB Redis Instances with Several GB of Storage Space?
- How Does GeminiDB Redis API Persist Data? Will Data Be Lost?
- What Is the Memory Eviction Policy of GeminiDB Redis API?
- Does GeminiDB Redis API Support Modules Such as a Bloom Filter?
- Billing
-
Database Usage
- Why Is the Key Not Returned Using Scan Match?
- How Do I Process Existing Data Shards After Migrating Workloads to GeminiDB Redis API?
- Does GeminiDB Redis API Support Fuzzy Queries Using KEYS?
- Does the GeminiDB Redis API Support Multiple Databases?
- Why the Values Returned by Scan Operations Are Different Between GeminiDB Redis API and Open-Source Redis 5.0?
- Why Is the Cursor Length Returned by SCAN of GeminiDB Redis API Is Longer Than That of Open-Source Redis?
- Why Are Error Messages Returned by Some Invalid Commands Different Between GeminiDB Redis API and Open-Source Redis 5.0?
- How Do I Resolve the Error "CROSSSLOT Keys in request don't hash to the same slot"?
- How Many Commands Can Be Contained in a GeminiDB Redis Transaction?
- Which Commands Require Hashtags on GeminiDB Redis Cluster Instances?
- What Should I Do If "ERR unknown command sentinel" Is Displayed?
- Why Return Values of Blocking Commands Differ Between Primary/Standby GeminiDB Redis Instances and Open-Source Redis Instances?
- How Long Does It Take to Scale Up GeminiDB Redis Instance Storage? Will Services Be Affected?
- How Long Does It Take to Add GeminiDB Redis Nodes at the Same Time? What Are the Impacts on Services?
- What Are the Differences Between Online and Offline Specification Changes of GeminiDB Redis Nodes? How Long Will the Changes Take? What Are the Impacts on Services?
- What Are the Differences Between Online and Offline Patch Installation of GeminiDB Redis Nodes? How Long Will the Upgrades Take? What Are the Impacts on Services?
- Can I Download Backups of a GeminiDB Redis Instance to a Local PC and Restore Data Offline?
- What Is the Data Backup Mechanism of GeminiDB Redis API? What Are the Impacts on Services?
- Why Does the CPU Usage Remain High Despite Low Service Access Volume on a GeminiDB Redis Preferential Instance with 1 CPU and 2 Nodes?
- Why Does the Number of Keys Decrease and Then Become Normal on the Monitoring Panel on the GUI of GeminiDB Redis API?
- Why Is CPU Usage of GeminiDB Redis Instance Nodes Occasionally High?
- How Do I Upgrade GeminiDB Redis API from 5.0 to 6.2?
- When Does a GeminiDB Redis Instance Become Read-Only?
- How Is the Number of Keys Collected? Why Is the Number of Keys Monitored by GeminiDB Inaccurately Increasing After Migration?
-
Database Connection
- How Do I Connect to a GeminiDB Redis Instance?
- How Do I Use Multiple Node IP Addresses Provided by GeminiDB Redis API?
- How Does Load Balancing Work in GeminiDB Redis API?
- How Can I Create and Connect to an ECS?
- Can I Change the VPC of a GeminiDB Redis Instance?
- Why Can't I Connect to the Instance After an EIP Is Bound to It?
- How Do I Access a GeminiDB Redis Instance from a Private Network?
- Do I Need to Enable Private Network Access Control for a Load Balancer After Setting a Security Group?
- What Should I Do If the Client Connection Pool Reports Error " Could not get a resource from the pool"?
- Common Client Errors and Troubleshooting Methods
- Backup and Restoration
- Regions and AZs
-
Data Migration
- What Do I Do if the Error "ERR the worker queue is full, and the request cannot be executed" Is Displayed?
- What Do I Do If the Error "ERR the request queue of io thread is full, and the request cannot be executed" Is Displayed?
- What Do I DO If the Error "read error, please check source redis log or network" Is Displayed?
- What Do I Do If the Error "slaveping_thread.cc-ThreadMain-90: error: Ping master error" Is Displayed?
- What Do I Do If the Forward Migration Speed of the Synchronization Status Is Too Slow?
- What Do i Do When the Forward Migration Speed of the Synchronization Status Is Too Fast, and the Error Message "ERR Server Reply Timeout, Some Responses May Lose, but Requests Have Been Executed" Is Displayed?
- Can Data Be Migrated from Self-Built Redis 4.0, 5.0, and 6.2 to GeminiDB Redis API?
- How Do I Migrate Data from Self-Built Primary/Standby and Cluster Redis Instances to GeminiDB Redis Instances?
- Why Cannot DRS Migrate Data from Third-Party Redis Such as ApsaraDB for Redis and TencentDB for Redis?
- Which of the Following Factors Need to Be Considered When Data Is Migrated from Self-Built Primary/Standby Redis Instances to a GeminiDB Redis cluster?
- Only 20% to 30% of 100 GB of Data Was Migrated to GeminiDB Redis. Is the Migration Incomplete?
-
Memory Acceleration
- Will All Data Be Cached to GeminiDB Redis Instances After Memory Acceleration Is Enabled and MySQL Database Data Is Updated?
- If Memory Acceleration Is Enabled, GeminiDB Redis Instance Data Increases Continuously. Do I Need to Scale Out the Capacity? How Do I Manage Cached Data?
- Is Memory Acceleration Recommended When Customers' Service Data Can Be Synchronized Between MySQL and Redis? In Which Scenarios Can Memory Acceleration Be enabled?
- How Long Is the Latency of Synchronization from RDS for MySQL to GeminiDB Redis API? What Factors Affect the Latency?
- Will the Source MySQL Database Be Affected After Memory Acceleration Is Enabled?
- GeminiDB Redis Instances with Memory Acceleration Enabled Needs to Process a Large Number of Binlogs in a Short Period of Time. Will a Large Number of Resources Be Occupied and Online Services Be Affected?
- Freezing, Releasing, Deleting, and Unsubscribing from Instances
-
About GeminiDB Redis API
-
GeminiDB Influx API
- Service Overview
- Billing
- Getting Started with GeminiDB Influx API
-
Working with GeminiDB Influx API
- Using IAM to Grant Access to GeminiDB Influx API
- Buying a GeminiDB Influx Instance
-
Instance Connection and Management
- Connecting to a GeminiDB Influx Instance
- Connecting to a GeminiDB Influx Instance on the DAS Console
- Connecting to a GeminiDB Influx Instance Using the InfluxDB CLI over a Private Network
- Connecting to a GeminiDB Influx Instance Using the InfluxDB CLI over a Public Network
- Connecting to a GeminiDB Influx Instance Using Programming Languages
- Connection Information Management
- Migrating Data
- Converting Data into a Parquet file and Exporting the Data to OBS
- Instance Lifecycle Management
- Instance Modifications
- Database Commands
- Cold and Hot Data Separation
- Certificate Management
- Data Backup
- Data Restoration
-
Parameter Management
- Modifying Parameters of GeminiDB Influx Instances
- Creating a Parameter Template
- Viewing Parameter Change History
- Exporting a Parameter Template
- Comparing Parameter Templates
- Replicating a Parameter Template
- Resetting a Parameter Template
- Applying a Parameter Template
- Viewing Application Records of a Parameter Template
- Modifying a Parameter Template Description
- Deleting a Parameter Template
- Logs and Audit
- Viewing Metrics and Configuring Alarms
- Managing Tags
- Viewing User Resource Quotas
- Best Practices
- Performance White Paper
-
FAQs
-
Product Consulting
- What Do I Need to Note When Using GeminiDB Influx API?
- What Does the Availability of GeminiDB Influx Instances Mean?
- Can GeminiDB Influx API Convert Multiple Columns to Multiple Rows?
- How Much Data Can a GeminiDB Influx Instance Hold?
- Can I Access GeminiDB Influx Instances Using Grafana?
- How Do I Use GeminiDB Influx Hints?
- What Do I Do If Error "select *" query without time range is not allowed Is Reported?
- What Do I Do If the Error Message "ERR: Max-select-series Limit Exceeded" Is Displayed?
- What Do I Do If "delete is forbidden" Is Reported?
- Billing
- Database Connection
- Backup and Restoration
- Regions and AZs
- Instance Freezing, Release, Deletion, and Unsubscription
-
Product Consulting
-
GeminiDB Cassandra API
- Service Overview
- Billing
- Getting Started with GeminiDB Cassandra API
-
Working with GeminiDB Cassandra API
- Using IAM to Grant Access to GeminiDB Cassandra API
- Buying a GeminiDB Cassandra Instance
-
Instance Connection and Management
- Connecting to a GeminiDB Cassandra Instance
- Connecting to a GeminiDB Cassandra Instance on the DAS Console
- Connecting to a GeminiDB Cassandra Instance over a Private Network
- Connecting to a GeminiDB Cassandra Instance over a Public Network
- Connecting to a GeminiDB Cassandra Instance Using Java
- Connecting to a GeminiDB Cassandra Instance Using Go
- Connecting to a GeminiDB Cassandra Instance Using Spark
-
Connection Information Management
- Setting Security Group Rules for a GeminiDB Cassandra Instance
- Binding an EIP to a GeminiDB Cassandra Instance Node
- Viewing the IP Address and Port Number of a GeminiDB Cassandra Instance
- Changing the Port of a GeminiDB Cassandra Instance
- Changing the Security Group of a GeminiDB Cassandra Instance
- Encrypting Data over SSL for a GeminiDB Cassandra Instance
- Downloading the SSL Certificate
- Data Migration
- Instance Lifecycle Management
- Instance Modifications
- Intra-region DR
- Cross-region Dual-active DR
- Data Backup
- Data Restoration
-
Parameter Management
- Modifying Parameters of GeminiDB Cassandra Instances
- Creating a Parameter Template
- Viewing Parameter Change History
- Exporting a Parameter Template
- Comparing Parameter Templates
- Replicating a Parameter Template
- Resetting a Parameter Template
- Applying a Parameter Template
- Viewing Application Records of a Parameter Template
- Modifying a Parameter Template Description
- Deleting a Parameter Template
- Logs and Audit
- Viewing Metrics and Configuring Alarms
- Enterprise Project
- Managing GeminiDB Cassandra Instance Tags
- User Resource Quotas
-
Best Practices
- Performance of GeminiDB Cassandra and On-Premises Open Source Cassandra Clusters
- Buying and Connecting to a GeminiDB Cassandra Instance
- Modeling Data of GeminiDB Cassandra Instances
- Scenarios
- Designing Primary Keys for a Wide Table
- Pre-partitioning Tables
- Suggestions on Alarm Rules of GeminiDB Cassandra Instance Metrics
- How Do I Sort a Large Result Set?
- Performance White Paper
-
FAQs
- Product Consulting
- Billing
-
Database Usage
- Why Does the Overall Instance Performance Deteriorate When QPS Increases After the Batch Size Is Decreased?
- What Can I Do if Error "field larger than field limit (131072)" Is Reported During Data Import?
- What Should I Pay Attention to When Creating a GeminiDB Cassandra Table?
- How Do I Detect and Resolve BigKey and HotKey Issues?
- How Do I Set Up a Materialized View?
- How Do I Use a Secondary Index?
- How Can I Use the Search Index of Lucene?
- How Do I Set Paging Query with Java?
- How Do I Set Paging Query with Python?
- How Can I Use the Counter Column?
- Database Connection
- Backup and Restoration
- Regions and AZs
- Instance Freezing, Release, Deletion, and Unsubscription
- GeminiDB DynamoDB-Compatible Instance
- GeminiDB HBase Instance
-
GeminiDB DynamoDB-Compatible API
- Service Overview
- Billing
- Getting Started with GeminiDB DynamoDB-Compatible API
-
Working with GeminiDB DynamoDB-Compatible API
- Using IAM to Grant Access to GeminiDB DynamoDB-Compatible API
- Buying a GeminiDB DynamoDB-Compatible Instance
-
Instance Connection and Management
- Connection Methods
- Connecting to a GeminiDB DynamoDB-Compatible Instance over a Private Network
- Connecting to a GeminiDB DynamoDB-Compatible Instance over a Public Network
- Connecting to a GeminiDB DynamoDB-Compatible Instance Using Java
- Connecting to a GeminiDB DynamoDB-Compatible Instance Using Python
-
Connection Information Management
- Setting Security Group Rules for a GeminiDB DynamoDB-Compatible Instance
- Binding an EIP to a GeminiDB DynamoDB-Compatible Instance Node
- Viewing the IP Address and Port of a GeminiDB DynamoDB-Compatible Instance
- Modifying the Security Group of a GeminiDB DynamoDB-Compatible Instance
- Enabling SSL for a GeminiDB DynamoDB-Compatible Instance
- Downloading an SSL Certificate
- Data Migration
- Instance Lifecycle Management
- Instance Modifications
- Data Backup
- Data Restoration
- Logs and Audit
- Viewing Metrics and Configuring Alarms
- Enterprise Project
- Tag Management
- User Resource Quotas
- Best Practices
- Performance White Paper
- FAQs
-
GeminiDB Mongo API
- Service Overview
- Billing
- Getting Started with GeminiDB Mongo API
-
Working with GeminiDB Mongo API
- Buying an Instance
- Connecting to an Instance
- Permissions Management
- Migrating Data
- Instance Lifecycle Management
- Instance Modifications
- Connections
- Database Commands
- Data Backup
- Data Restoration
-
Parameter Template Management
- Creating a Parameter Template
- Modifying Parameters of GeminiDB Mongo Instances
- Viewing Parameter Change History
- Exporting a Parameter Template
- Comparing Parameter Templates
- Replicating a Parameter Template
- Resetting a Parameter Template
- Applying a Parameter Template
- Viewing Application Records of a Parameter Template
- Modifying a Parameter Template Description
- Deleting a Parameter Template
- Viewing Metrics and Configuring Alarms
- CTS
- Logs and Audit
- Billing Management
- Quotas
- Best Practices
- Performance White Paper
- FAQs
- Technical White Paper
-
API Reference
- Before You Start
- API Overview
- Calling APIs
- Quick Start
- APIs v3.1 (Recommended)
-
APIs v3 (Recommended)
- API Versions
- Versions and Specifications
-
Instances
- Creating an Instance
- Deleting an Instance
- Querying Instances and Details
- Scaling Up Storage Space of an Instance
- Adding Nodes for an Instance
- Deleting Nodes from a Specified Instance
- Obtaining Sessions of a Node
- Querying Session Statistics of an Instance Node
- Closing Sessions of an Instance Node
- Querying Instance Specifications That Can Be Changed
- Changing Specifications of an Instance
- Resetting the Administrator Password of an Instance
- Editing the Name of an Instance
- Changing the Security Group of an Instance
- Upgrading Minor Version
- Patching Databases in Batches
- Creating Cold Storage
- Scaling Up Cold Storage
- Binding/Unbinding an EIP
- Enabling or Disabling SSL
- Restarting an Instance or a Node
- Configuring an Autoscaling Policy for Storage Space
- Changing a Database Port
- Checking Password Strength
- Configuring Access to a Replica Set Across CIDR Blocks
- Deleting the Node that Fails to Be Added
- Querying IP Addresses Required for Creating an Instance or Adding Nodes
- Querying the Autoscaling Policy of Storage Space
- Scaling Storage Space of an Instance
- Querying High-Risk Commands
- Modifying High-Risk Commands
- Querying Hot Keys of a Redis Instance
- Disabling Commands for a Redis Instance
- Querying Disabled Commands for a Redis Instance
- Deleting Disabled Commands for a Redis Instance
- Setting the Maintenance Period of an Instance
- Performing a Primary/Standby Switchover
- Starting or Stopping a Node
- Querying Big Keys of a GeminiDB Redis Instance
- Querying the Password-Free Configuration of a GeminiDB Redis Instance
- Modifying the Password-Free Configuration of a GeminiDB Redis Instance
- Querying the Memory Mapping List and Details
- Creating a Memory Acceleration Rule
- Deleting a Memory Mapping
- Creating a Memory Mapping
- Modifying a Memory Acceleration Rule
- Querying Memory Mapping Rules and Details
- Deleting a Memory Acceleration Rule
- Enabling or Disabling Instance Data Export
- Enabling or Disabling Second-Level Monitoring
- Querying Configurations of Second-Level Monitoring
- Connection Management
-
Backups and Restorations
- Querying Backups
- Configuring an Automated Backup Policy
- Querying Instances that Can Be Restored
- Querying the Time Window When a Backup Can Be Restored
- Creating a Manual Backup
- Deleting a Manual Backup
- Restoring Data to an Existing Instance
- Querying the Recycling Policy
- Modifying the Recycling Policy
- Querying Instances in the Recycle Bin
- Obtaining GeminiDB Cassandra Instance Database Information That Is Restored Using Tables
- Obtaining GeminiDB Cassandra Instance Table Information That Is Restored Using Tables
- Restoring the Current Redis Instance to a Point in Time
- Setting the Policy for Restoring Redis Data to a Specified Time Point
- Querying the Policy for Restoring Redis Data to a Specified Time Point
- Querying the Restoration Time Range of a Redis Instance
- Querying the Storage Space Used for Restoring a Redis Instance to a Specified Time Point
- Stopping a Backup
- Deleting Manual Backups in Batches
-
Parameter Templates
- Creating a Parameter Template
- Modifying Parameters in a Parameter Template
- Resetting a Custom Parameter Template
- Querying Instance Parameter Settings
- Obtaining Parameters of a Specified Parameter Template
- Deleting a Parameter Template
- Querying Instances that a Parameter Template Can Be Applied To
- Viewing Parameter Change History of an Instance
- Viewing Application Records of a Parameter Template
- Comparing Parameter Templates
- Replicating a Parameter Template
- Querying API that Support Parameter Templates
- Managing Databases and Accounts
- Tags
-
Logs
- Querying Database Slow Logs
- Querying Slow Query Logs of a GeminiDB Redis Instance
- Querying Slow Query Logs of a GeminiDB Influx Instance
- Querying Slow Query Logs of a GeminiDB Cassandra Instance
- Querying Slow Query Logs of a GeminiDB Mongo Instance
- Querying Database Error Logs
- Querying Error Logs of a GeminiDB Mongo Instance
- Setting the Desensitization Status of Slow Query Logs
- Querying the Desensitization Status of Slow Query Logs
- Associating Instances with an LTS Log Stream
- Disassociating Instances from an LTS Log Stream
- Querying LTS Log Configurations
- Quotas
- Disaster Recovery
- Task Management
- Enterprise Projects
- Instance Load Balancing Management
- Historical APIs
- Permission Policies and Supported Actions
- Appendixes
- SDK Reference
- Videos
- General Reference
Copied.
Managing Automated Backups
You can create automated backups of GeminiDB DynamoDB-Compatible instances to ensure data reliability. If a database or table is deleted, maliciously or accidentally, backups can help recover your data.
Usage Notes
- Backup files are saved as packages in OBS buckets. Uploading backup files and reading service data both consume bandwidth, so the upload bandwidth of OBS is limited. The upload bandwidth of a single node ranges from 20 MByte/s to 70 MByte/s.
You need to specify appropriate nodes based on the backup bandwidth limit to achieve better performance.
- The CPU usage may increase 5% to 15% because uploading backups consumes CPU resources.
- While backups are uploaded, the memory usage does not increase significantly. Generally, the memory usage is about 300 MB. How much memory usage actually increases depends on the instance data volume. The increased memory mainly caches data during backup upload and read. After the backups are uploaded, the memory usage becomes normal.
- You can manually modify incremental backups of a GeminiDB DynamoDB-Compatible instance.
- To enable the incremental backup function, choose Service Tickets > Create Service Ticket in the upper right corner of the console and contact the customer service.
- After the incremental backup function is enabled, differential backup is selected by default. To enable PITR, choose Service Tickets > Create Service Ticket in the upper right corner of the console and contact the customer service.
Configuring an Automated Backup Policy
Automated backups are generated according to a backup policy and saved as packages in OBS buckets to ensure data confidentiality and durability. You are advised to regularly back up your database, in case it becomes faulty or damaged. Backing up data affects the database read and write performance so you are advised to set the automated backup time window to off-peak hours.
When you create an instance, automated backup is enabled by default.

- Incremental Backup is enabled by default. You can click
to manually enable or disable it. After it is enabled, the system stores backup data in OBS. Select an incremental backup type. Differential backup is selected by default.
- Differential backup: Data can be restored to a specified point in time.
- PITR backup: Data can be restored to any point in time.
Figure 2 Selecting an incremental backup type
Enabling Incremental Backup will take effect in the next full backup. You are advised to select Create a backup immediately after the incremental backup policy is modified.- If you select it, the full backup request is delivered immediately, and the incremental backup takes effect.
- If you do not select it, the incremental backup will take effect in the next full backup.
Figure 3 Selecting Create a backup immediately after the incremental backup policy is modified
- Incremental Backup Interval: Incremental backups are generated every 15 minutes.
- Retention Period: Automated backup files are saved for seven days by default. The retention period ranges from 1 to 3660 days. Full backups are retained till the retention period ends. However, even if the retention period has ended, the most recent backup will be retained.
- Extending the retention period improves data reliability. You can extend the retention period as needed.
- If you shorten the retention period, the new backup policy takes effect for existing backups. Any automated backups (including full and incremental backups) that have expired will be automatically deleted. Manual backups will not be automatically deleted but you can delete them manually.
NOTE:
- If the retention period is less than seven days, the system automatically backs up data daily.
- The system checks existing automated backups and deletes any backups that exceed the backup retention period you configured.
- Time Window: A one-hour period the backup will be scheduled within 24 hours, such as 00:00–01:00. The backup time is displayed in GMT. After the DST or standard time is switched, the backup time segment changes with the time zone.
If Retention Period is set to 2, full and incremental backups that have been stored for more than two days will be automatically deleted. For instance, a backup generated on Monday will be deleted on Wednesday; or a backup generated on Tuesday will be deleted on Thursday.
Policy for automatically deleting full backups:
To ensure data integrity, even after the retention period ends, the most recent backup will be retained:
If Backup Cycle was set to Monday and Tuesday and the Retention Period was set to 2:
- The full backup generated on Monday will be automatically deleted on Thursday. The reasons are as follows:
The backup generated on Monday expires on Wednesday, but it is the last backup, so it will be retained until a new backup expires. The next backup will be generated on Tuesday and will expire on Thursday. So the full backup generated on Monday will not be automatically deleted until Thursday.
- A full backup generated on Tuesday will be automatically deleted on the following Wednesday. The reasons are as follows:
The backup generated on Tuesday will expire on Thursday, but as it is the last backup, so it will be retained until a new backup expires. The next backup will be generated on the following Monday and will expire on the following Wednesday. So the full backup generated on Tuesday will not be automatically deleted until the following Wednesday.
- Backup Cycle: All options are selected by default.
- All: Each day of the week is selected. The system automatically backs up data every day.
- You can select one or more days in a week. The system automatically backs up data at the specified time.
NOTE:
A full backup starts within one hour of the time you specify. The amount of time required for the backup depends on the amount of data to be backed up. The more data has to be backed up, the longer it will take.
- After the DB instance is created, you can modify the automated backup policy as needed. You can change the time window after the DB instance is created. The system backs up data based on an automated backup policy you configure.
- If Automated Backup is disabled, any automated backups in progress stop immediately.
Modifying an Automated Backup Policy
- Log in to the Huawei Cloud console.
- In the service list, choose Databases > GeminiDB.
- On the Instances page, click the instance you want to back up.
- Choose Backups & Restorations in the navigation pane one the left, and click Modify Backup Policy. In the displayed dialog box, configure the backup policy. Click OK.
For details about how to set a backup policy, see Configuring an Automated Backup Policy.
Figure 4 Modifying the backup policy - Check or manage the generated backups on the Backups or Backups & Restorations page.
Viewing Incremental Backups
You can view incremental backups and their size of an instance.
- To view the size and records of incremental backups, choose Service Tickets > Create Service Ticket in the upper right corner of the console and contact the customer service.
- You can view incremental backups and their size only after you enable Incremental Backup, or no data is displayed.
- Log in to the Huawei Cloud console.
- In the service list, choose Databases > GeminiDB.
- On the Instances page, locate the instance that you want to connect to and click its name.
- In the navigation pane on the left, choose Backups & Restorations.
- On the Backups & Restorations page, click Incremental Backup.
Figure 5 Incremental backup
- View incremental backups and their size.
Disabling Incremental Backup
- Log in to the Huawei Cloud console.
- In the service list, choose Databases > GeminiDB.
- On the Instances page, click the instance you want to back up.
- In the navigation pane, choose Backups & Restorations. On the displayed page, click Modify Backup Policy and click
next to Incremental Backup.
Figure 6 Disabling Incremental Backup
Disabling Automated Backup
- Log in to the Huawei Cloud console.
- In the service list, choose Databases > GeminiDB.
- On the Instances page, click the instance you want to back up.
- Choose Backups & Restorations in the navigation pane one the left, and click Modify Backup Policy.
- In the displayed dialog box, click
and click OK.
Figure 7 Disabling backup policiesWhen your disable Automated Backup, specify whether to delete the automated backups:- If you select Delete automated backups, all backup files within the retention period will be deleted. There are no automated backups displayed until you enable automated backup again.
- If you do not select Delete automated backups, backup files within the retention period will be retained, but you can still manually delete them later if needed. For details, see Deleting an Automated Backup.
If Automated Backup is disabled, any automated backups in progress stop immediately.
Deleting an Automated Backup
If automated backup is disabled, you can delete stored automated backups to free up storage space.
If automated backup is enabled, the system will delete automated backups when they expire. You cannot delete them manually.
Deleted backups cannot be recovered. Exercise caution when performing this operation.
- Method 1
- Log in to the Huawei Cloud console.
- In the service list, choose Databases > GeminiDB.
- On the Instances page, click the instance you want to back up.
- Choose Backups & Restorations in the navigation pane on the left, locate the backup you want to delete, and click Delete in the Operation column.
- In the displayed dialog box, confirm the backup details and click Yes.
- Method 2
- Log in to the Huawei Cloud console.
- In the service list, choose Databases > GeminiDB.
- On the Backups page, locate the backup that you want to delete and click Delete.
- In the displayed dialog box, confirm the backup details and click Yes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot