tencent cloud

DocumentaçãoTDSQL-C for MySQL

Migrating from Yearly/Monthly Subscription to Serverless

Download
Modo Foco
Tamanho da Fonte
Última atualização: 2026-07-08 11:58:54
The billing mode of TDSQL-C for MySQL supports switching from yearly/monthly subscription to Serverless. TDSQL-C for MySQL implements this switch by converting the cluster type in the background. After a successful conversion, the instance mode of the cluster will also be changed from provisioned resources to Serverless. After the conversion, bills and details will change, and the billing mode will be switched from prepaid to postpaid.

Scenarios

A cluster whose instance mode is provisioned resources, whose computing billing mode is yearly/monthly subscription, and whose storage billing mode is pay-as-you-go can be converted to a cluster whose instance mode is Serverless.
A cluster whose instance mode is provisioned resources, whose computing billing mode is yearly/monthly subscription, and whose storage billing mode is yearly/monthly subscription can be converted to a cluster whose instance mode is Serverless.

Note

During the conversion from the yearly/monthly subscription mode to the Serverless mode, the database remains accessible. However, a momentary disconnection may occur at the point of conversion. Therefore, we recommend that your application be configured with an automatic reconnection feature.
After the conversion from the yearly/monthly subscription mode to Serverless is performed, a Serverless instance cannot be converted back to a yearly/monthly subscription instance.
After a yearly/monthly subscription cluster is converted to a Serverless cluster, the original private network addresses remain unchanged.
After the conversion from the yearly/monthly subscription mode to Serverless, parameter settings will be reset to the default template (for example, max_connections will be reset).

Use Limits

Clusters with parallel query enabled do not support conversion to Serverless. If you need to convert to Serverless, disable the parallel query feature first and then perform the conversion.
Clusters with columnar storage indexes enabled do not support conversion to Serverless. If you need to convert to Serverless, disable the columnar storage index feature first and then perform the conversion.
The conversion from the yearly/monthly subscription mode to Serverless is supported only if the region and AZ of the original cluster support creating clusters of the Serverless instance type.

Operation Steps

1. Log in to the TDSQL-C for MySQL console.
2. Select a region at the top of the page based on your actual console view mode and perform corresponding operations.
Tab View
List View
In the cluster list on the left, click the target cluster to go to the cluster management page. Then, on the right, click Converting from Monthly Subscription to Serverless.

In the instance list, select the desired instance. Then, in its Operation column, choose More > Converting from Monthly Subscription to Serverless.
3. In the pop-up dialog box, configure the settings for the Serverless database to be converted, read and select the agreement, and click OK.

Parameter
Description
Serverless
If a yearly/monthly subscription cluster contains only read-write instances, the Serverless architecture can be configured as either the single-node edition or the cluster edition.
If a yearly/monthly subscription cluster contains both read-write instances and read-only instances, the Serverless architecture is configured as the cluster edition by default.
Read-Write Node Computing Power Configuration
Configure the computing resource range for read/write nodes. For details about computing resource configuration, see Service Computing Resource Configuration.
Read-Only Node Computing Power Configuration
If the Serverless architecture is selected as the single-node edition, you do not need to configure this item.
If the Serverless architecture is selected as the cluster edition, you can configure the number of read-only nodes (1 to 8) and the computing resource range in this item. For details about computing resource configuration, see Service Computing Resource Configuration.
Auto-Pause
Select this option to indicate that the database will automatically enter a paused status if it is not used within the set time period. During the paused status, no computing charges will be incurred. After selecting this option, set the automatic pause time below.
If you do not select this option, the database will keep running continuously. You can manually pause the database as needed. You can also enable automatic pause in the console later. For details, see Automatic Start and Stop.
Storage Node
Primary storage: Data files use a three-replica strong consistency model to ensure reliability.
Secondary storage: It is disabled by default and can be enabled or disabled. Once enabled, data will be stored in Cloud Object Storage (COS) buckets when the instance is suspended, and secondary storage offers more favorable pricing than primary storage. For details about secondary storage, see Secondary Storage.
Switch Time
Execute now: The task is executed immediately after you click Confirm.
During maintenance time: The conversion task is executed during the next maintenance time after you click Confirm.
Note:
During the operation, a momentary disconnection lasting seconds may occur. Ensure that your service has a reconnection mechanism.
4. When the cluster status is updated from "Running Asynchronous Task: Switching to Serverless" to "Running", it indicates that the conversion is successful.
Note:
You can go to the task list to view the progress and details of the conversion task. For details, see Task List.

Ajuda e Suporte

Esta página foi útil?

comentários