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

FAQs

PDF
Focus Mode
Font Size
Last updated: 2026-01-06 12:11:46
This document gives FAQs related to the CPU Elastic Scaling feature.

Why can't I find the CPU Elastic Scaling feature in the console?

The CPU Elastic Scaling feature is only available for MySQL Universal Edition with two or three-node instances, or single-node instances with local disks (read-only instance). You can verify whether an instance is a single-node (cloud disk version), dedicated instance, or cluster edition (cloud disk version) instance. The aforementioned types of instances currently do not support the CPU Elastic Scaling feature.

During stress testing, why does the monitoring show that the CPU utilization remains at 100% even after the feature is enabled?

CPU utilization is calculated based on the actual number of CPU cores. If the service load fully utilizes all CPU performance, performance-related metrics such as TPS, QPS, and response time of the database system should be given attention.

Why does the CPU Elastic Scaling feature fail to be enabled?

There are two possible reasons for the failure to enable the CPU elastic scaling feature:
Your Tencent Cloud account does not have a sufficient balance.
The CPU resources on the host is insufficient (rarely occurs).
Ensure sufficient balance in your Tencent Cloud account or please submit a ticket for feedback.

Why am I not notified of events when the CPU is scaled-up or scaled-down?

You can troubleshoot and handle the issue as follows.
Check whether the alarm for CPU elastic scaling events has been enabled. If not, enable it by referring to Enabling Event Alarms.
Check the notification recipient list; it is possible that no relevant users have been added. You can add the notification recipient by referring to Adding Message Recipients.

What should I do if a HA switch occurs after the CPU Elastic Scaling feature is enabled?

The CPU elastic scale-up feature for two-node and three-node instances takes effect on both the source node and the replica node simultaneously. If an HA switch for two-node and three-node instances occurs after the feature takes effect, the switched node will also inherit the scaled-up CPU specifications. After automatic scale-down is enabled or custom scale-up is disabled, the node will automatically scale down to the original CPU specification. Note: Read-only instances and disaster recovery instances require separate enabling of the feature and do not scale out simultaneously. Once the CPU elastic scale-up feature is triggered for the primary instance, its mounted read-only instances and disaster recovery instances will not scale up their CPUs simultaneously and require separate enabling of the CPU elastic scale-up feature.

How can I query the progress and details related to CPU elastic scaling tasks?

You can query the progress and details related to CPU elastic scaling tasks through the task list, with the following steps:
1. Log in to the TencentDB for MySQL console.
2. Choose Task List on the left sidebar, select the region, click Task Type, choose Configure Elastic Expansion Strategy, and then click OK.
3. In the filtered task list, locate the target task to inquire about its progress. Click Task Details in the operation column to view detailed task information.


Why am I continuously billed after the CPU Elastic Scaling feature is enabled?

If CPU elastic scale-up is enabled with the scale-up method set to custom scale-up and the scale-up time set to now, the scale-up will persist until it is manually disabled. After enabling custom scale-up with scale-up time being now, remember to manually disable it based on business needs.
It is recommended that you select automatic scale-up. After selection, elastic scaling on CPU specifications will be automatically performed based on the scaling rules configured by the user. Only when the scale-up is successfully triggered, the cores for scale-up will be charged, and there will be no charge when the scale-up is not performed.

Within one hour after automatic scaling is enabled, it automatically scales in only 6 minutes after scaling was triggered. Why am I being charged for 10 minutes?

To avoid the impact of continuous intermittent peaks, a minimum protection period of 10 minutes applies during automatic scale-up. If automatic scale-up exceeds 10 minutes, the fees are calculated based on the actual scale-up time; if automatic scale-up lasts 10 minutes or less, the fees are calculated for 10 minutes.

After the CPU Elastic Scale-up Feature Is Enabled, How Do We Determine Whether the Scale-up Has Taken Effect?

You can choose Specification Configurations > Instance Specification on the instance details page to check whether the scale-up has taken effect. If the number of CPU cores shows an additional number (actual number of cores), it indicates that the scale-up has taken effect. As shown in the figure below, 4 (8) cores indicate that the instance has been automatically scaled up to 8 cores.


What Are the Effective Policies for Different Scale-up Methods and Times?

When the scale-up method is automatic scale-up, the instance will be automatically scaled up if the average CPU utilization reaches the set elastic scale-up threshold, and scaled down if the average CPU utilization reaches the set elastic scale-down threshold.
When the scale-up method is custom scale-up with the scale-up time being now, the instance will be scaled up immediately and continue running with the scaled up CPU cores until the feature is manually disabled.
When the scale-up method is custom scale-up with the scale-up time set by period or cycle, if automatic scale-up is not enabled, the instance will be scaled up within the selected period or cycle and scaled down outside the selected period or cycle.
When the scale-up method is custom scale-up with the scale-up time set by period or cycle, if automatic scale-up is enabled, the instance will be scaled up within the selected period or cycle and automatically scaled down/up based on the scaling rules configured for automatic scale-up outside the selected period or cycle.

Why Is Elastic Scale-up Automatically Disabled After Being Enabled for a Period of Time?

After an instance is upgraded or migrated, the elastic feature will be automatically disabled due to changes in underlying machine resources. If you want to use the CPU elastic scale-up feature again, re-enable it.

Help and Support

Was this page helpful?

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

Feedback