TDSQL-C for MySQL Serverless Edition adopts the serverless architecture for cloud native database services. It is billed based on the actual computing and storage resource usage, so you only need for pay for what you use while enjoying the cloud native technologies of Tencent Cloud.
Note:Only TDSQL-C for MySQL supports Serverless mode.
Computing and storage are billed separately: computing is billed by the number of CCUs, while storage is billed by the usage in GB. The billing system calculates the usage by second and settles fees by hour. For detailed prices, see Billing Overview
CynosDB Compute Unit (CCU) is the computing and billing unit for the Serverless Edition. A CCU is approximately equal to 1 CPU core and 2 GB memory. The number of CCUs used in each billing cycle is the greater of the number of CPU cores used by the database and 1/2 of the memory size.
You can select the maximum and minimum CCUs your database requires on the purchase page according to your business conditions. You can also change them in the console.
Note:The auto-pause feature of the Serverless architecture is determined by whether there is a user connection. If a service scenario needs to use event_scheduler to trigger SQL periodically, do not enable auto-pause feature.
You cannot use the features in the console for a paused serverless database. If needed, you can wait until the database is automatically started or manually start it the console.
When a paused database is accessed, the system will automatically start it in seconds. During the short startup process, the application may receive the following error messages; therefore, the business should have a reconnection mechanism.
ERROR 9449 (08S01): CynosDB serverless instance is resuming, please try connecting again
ERROR 2003 (HY000): Can't connect to MySQL server on 'xxxx' (111)
Was this page helpful?