This document describes how to use the instance suspension feature of TencentDB for SQL Server. You can proactively suspend an instance in the console to release computing resources and reduce costs. You can also start and restore the original instance at any time when needed, and your business can recover without modifying connection configurations.
Overview
You can use the instance suspension feature when you want to temporarily stop a database instance without terminating data for purposes such as cost optimization, resource scheduling, or periodic business needs.
Typical use cases are as follows:
Cost optimization: For databases in non-production environments (such as pre-release and disaster recovery drill environments), you can temporarily suspend instances to reduce costs. After an instance is suspended, you do not need to pay for the compute specifications of the database instance.
Daily development: If you maintain a database instance for development purposes, you can start the instance when needed and suspend it when not needed.
Testing: You may need a temporary database instance to verify backup and recovery processes, data migration, application upgrades, or related activities. In these scenarios, you can suspend the instance when it is no longer needed.
Off-season or campaign reuse: After an annual promotion or marketing campaign ends, you can suspend the large-specification instances temporarily provisioned for the campaign, retain the data for several months, and start and reuse them for the next campaign to avoid ongoing specification fees during idle periods.
Periodic business: In industries such as finance and taxation, and government affairs, business traffic is extremely low after tax filing peaks or off-seasons. You can suspend instances while retaining backups and account configurations, and start them again in peak seasons.
Prerequisites
Before using the instance suspension feature, ensure that the instance meets the following conditions:
The instance is currently in the running state and has no ongoing tasks.
The instance is billed on a pay-as-you-go basis.
Instances use the cloud disk architecture, including single-node, two-node, and multi-node configurations.
The instance storage types are: Premium Disk, Cloud SSD, Enhanced SSD, or General-purpose SSD.
The instance version is SQL Server 2012 or later.
If the primary instance contains read-only instances, neither the primary instance nor the read-only instances meet the conditions for using this feature.
Note
Suspending an instance only releases compute resources (CPU and memory). The instance's disk storage, backups, and audit logs (if billable) are retained and continue to incur charges.
After an instance is suspended, its CPU and memory resources are no longer retained, so restarting the instance may fail. Carefully evaluate whether the business running on the instance is suitable for suspension. If the instance fails to start, you can try again at a different time or restore data from a full backup.
After an instance is suspended, existing backups expire normally according to the current retention policy. After a backup expires, data cannot be restored to the corresponding point in time. However, the system forcibly retains at least the most recent full backup to ensure recoverability.
After suspension, the instance ID, VIP, VPort, internal and public network connection addresses, parameter configuration, account, security group, backup policy, and other configurations are fully retained. After the instance is started, the business can be restored.
During the suspension period, the instance cannot be connected, and all Ops operations are unavailable, such as configuration changes, restarts, backups, rollbacks, parameter changes, HA switches, and other ongoing lifecycle tasks. Make necessary business adjustments before suspension.
For a multi-AZ instance, a switch between primary and secondary may occur after the instance is started, which may cause the primary and secondary AZs of the instance to switch after startup.
Suspended instances continue to be displayed on the monitoring page, but real-time monitoring metrics are no longer collected. Historical monitoring data is retained and is not lost during the suspension period.
Instances in the suspended state support backup download. To download a backup, find the instance in the suspended state in the instance list, and click More > Backup Download in its operation column.
Billing Instructions for Features
During the suspension period, the compute resources (CPU and memory) of the instance are released, and instance specification fees are no longer charged. Storage resources such as disk storage (cloud disks), backups, and audit logs (if billable) continue to be billed normally.
After startup, the instance resumes running, compute resources are reoccupied, and instance specification fees resume being charged from the startup time.
This feature currently supports only pay-as-you-go instances. Yearly/monthly subscription instances are not supported.
Operation Steps
Pausing an Instance
2. Select the region at the top, find the instance to be suspended, and choose More > Pause Instance in its operation column.
3. In the pop-up window, select the effective time, read the precautions, select "I have read and agree to the instance suspension rules", and then click Confirm.
4. The operation is successful when the instance status changes to "Suspended".
Starting an Instance
2. Select the region at the top, find the suspended instance, and choose More > Start Instance in its operation column.
3. In the pop-up window, click Confirm.
4. The operation is successful when the instance status changes to "Running".
Pausing or Starting Instances in Batches
You can suspend or start instances in batches in the instance list: select multiple eligible instances, and use More Actions > Batch Pause/Batch Start to do so.