tencent cloud

TencentDB for MySQL

Release Notes and Announcements
Release Notes
Product Announcements
User Tutorial
Product Introduction
Overview
Strengths
Use Cases
Database Architecture
Resource Isolation Policy
Economical Instance
Feature List
Database Instance
High Availability (Multi-AZ)
Regions and AZs
Service Regions and Service Providers
Kernel Features
Overview
Kernel Version Release Notes
Functionality Features
Performance Features
Security Features
Stability Features
TXRocks Engine
LibraDB Engine
Checking and Fixing Kernel Issues
Purchase Guide
Billing Overview
Selection Guide
Purchase Methods
Renewal
Payment Overdue
Refund
Pay-as-You-Go to Monthly Subscription
Instance Adjustment Fee
Backup Space Billing
Database Audit Billing Overview
Commercial Billing and Activity Description for Database Proxy
Description of the Database Proxy Billing Cycle
Viewing Bills
Getting Started
Overview
Creating MySQL Instance
Connecting to MySQL Instance
SQL Insight (Database Audit)
Overview
Viewing Audit Instance List
Enabling Audit Service
Viewing Audit Log
Log Shipping
Configuring Post-Event Alarms
Modifying Audit Rule
Modifying Audit Services
Disabling Audit Service
Audit Rule Template
SQL Audit Rule (Legacy)
Viewing Audit Task
Authorizing Sub-User to Use Database Audit
MySQL Cluster Edition
Introduction to TencentDB for MySQL Cluster Edition
Creating TencentDB for MySQL Cluster Edition Instance
Maintenance Management Instance
Viewing Instance Monitoring
Adjusting Instance Configuration
Operations for Other Features
Migrate or upgrade to TencentDB for MySQL Cluster Edition
Operation Guide
Use Limits
Operation Overview
Instance Management and Maintenance
Instance Upgrade
CPU Elastic Expansion
Read-Only/Disaster Recovery Instances
Database Proxy
Database Management Center (DMC)
Account Management
Parameter Configuration
Backup and Rollback
Data Migration
Network and Security
Monitoring and Alarms
Log Center
Read-Only Analysis Engine
Tag
Practical Tutorial
Using TencentDB for MySQL to Upgrade MySQL 5.7 to MySQL 8.0
Methods and Instructions for Upgrading from MySQL 5.6 to MySQL 5.7
Cybersecurity Classified Protection Practice for Database Audit of TencentDB for MySQL
Building All-Scenario High-Availability Architecture
Usage Specifications of TencentDB for MySQL
Configuring Automatic Application Reconnection
Impact of Modifying MySQL Source Instance Parameters
Limits on Automatic Conversion from MyISAM to InnoDB
Creating VPCs for TencentDB for MySQL
Enhancing Business Load Capacity with TencentDB for MySQL
Setting up 2-Region-3-DC Disaster Recovery Architecture
Improving TencentDB for MySQL Performance with Read/Write Separation
Migrating Data from InnoDB to RocksDB with DTS
Building LAMP Stack for Web Application
Building Drupal Website
Calling MySQL APIs in Python
The primary and secondary instances have inconsistent query data
White Paper
Performance White Paper
Security White Paper
Troubleshooting
Connections
Performance
Instance Data Sync Delay
Failure to Enable Case Insensitivity
Failure to Obtain slow_query_log_file via a Command
API Documentation
History
Introduction
API Category
Instance APIs
Making API Requests
Data Import APIs
Database Proxy APIs
Database Audit APIs
Security APIs
Task APIs
Backup APIs
Account APIs
Rollback APIs
Parameter APIs
Database APIs
Monitoring APIs
Log-related API
Data Types
Error Codes
FAQs
Related to Selection
Billing
Backup
Rollback
Connection and Login
Parameter Modifications
Instance Upgrade
Account Permissions
Performance and Memory
Ops
Data Migration
Features
Console Operations
Logs
Event
Database audit
Instance Switch Impact
API 2.0 to 3.0 Switch Guide
Service Agreement
Service Level Agreement
Terms of Service
Reference
Standards and Certifications
Contact Us
Glossary

Terminating Instance

PDF
Focus Mode
Font Size
Last updated: 2026-02-02 16:13:24

Scenarios

According to your workload requirements, you can return the pay-as-you-go instances and yearly/monthly subscription instances by yourself in the console.
After a yearly/monthly subscription instance is returned, the instance will be moved to the cloud database recycle bin and retained for seven days. During this period, the instance will be inaccessible. If you want to restore the instance, you can renew it in the recycle bin.
After a Pay-as-you-go instance is returned, the instance is moved to the cloud database recycle bin and retained for 24 hours. During this period, the instance is inaccessible. If you want to restore the instance, you can renew it in the recycle bin.
After a self-service return, once the instance status changes to "Isolated", it will no longer incur fees associated with the instance.

Precautions

After instance termination protection is enabled, terminating instances is not supported. To terminate an instance, disable instance termination protection first. For details, see Setting Instance Termination Protection.
After the instance status enters "Isolated", the instance will be inaccessible. If the instance has associated read-only instances: The read-only instances can still be accessed normally.
After the instance is terminated, its data cannot be retrieved, and its backup files will also be terminated. Data recovery on the cloud is impossible. Transfer your backup files to a safe location in advance. It is suggested to configure backup retention.
After an instance is terminated, its IP resources will also be released. If the instance has related read-only or disaster recovery instances:
The read-only instances will also be terminated.
The disaster recovery instance will disconnect the synchronization connection and automatically upgrade to the primary instance.
Refund processing after instance termination:
The five-day unconditional self-service refund is returned to the Tencent Cloud account.
The common self-service refund is returned to your Tencent Cloud account based on the proportion of cash and free credits used for the purchase.
For promotion channel orders, 25% of the actually paid order amount will be charged as the refund fee. Such orders do not support self-service refunds. You can submit a ticket to apply for a refund.

Operation Steps

1. Log in to the MySQL console. On the instance list page, select the target instance. In the Operation column, choose More > Terminate/Return or Terminate Instance.
2. In the pop-up dialog box, complete the Backup File Retention settings, and click Confirm Termination.
Note:
The read-only analysis engine does not involve setting the backup file retention feature.

Backup File Retention
Description
Do not retain
If you select Do not retain, backups will be terminated simultaneously after instance termination and will not be saved.
Retain
If you select Retain, backups within the specified scope will be retained after the instance is terminated. The scope options are as follows:
Retain all: Retain all backups generated by the instance in the current region. You can choose whether to retain the binlog files.
Retain the latest one: Retain the latest 1 backup generated by the instance in the current region. By default, binlog files cannot be retained.
Retain those within the specified time range: Retain backups generated by the instance in the current region and after the selected time. You can choose whether to retain the binlog files. For example, you can retain backups generated after April 28, 2025.
3. After the operation is completed, the instance is moved to the recycle bin, and its status changes to Isolating.
Note:
If you choose to retain backup files, after the instance is taken offline from the recycle bin, the retained backup files can be queried and downloaded under Database Backup > Backup List > Backups of Terminated Instances. Subsequent instructions regarding querying and downloading retained backup files are as follows:
After instance termination, backup files that comply with the retention policy will not immediately appear in the list under Database Backup > Backup List > Backups of Terminated Instances.
After instance termination, the system requires time to transfer the backup files in the background, which delays the display of backup files for terminated instances. If you cannot find the target backup file in the list under Backups of Terminated Instances, please refresh and check later.
During the delay, you can still view the backup files in Database Backup > Backup List > Data Backup List.
If the backup file is still not listed under Backups of Terminated Instances after 24 hours, please submit a ticket for assistance.


Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback