This topic describes how to enable the serverless feature on a read-only column store node.
Prerequisites
Your cluster is of PolarDB for MySQL 8.0 Enterprise Edition and contains at least one read-only column store node.
Implementation methods
Specify a scaling range for a read-only column store node with defined specifications: You can enable the serverless feature on a read-only column store node with defined specifications. This way, temporary scale-ups can be performed when workloads go beyond the capabilities of the defined specifications.
Create a serverless read-only column store node: A serverless read-only column store node does not have defined specifications and can be scaled based on workloads. This method is suitable for business scenarios that focus on cost efficiency.
Procedure
Specify a scaling range for a read-only column store node with defined specifications
Log on to the PolarDB console.
In the top navigation bar, select the region in which the cluster that you want to manage is deployed.
Find the cluster and click its ID.
In the Database Nodes section of the Basic Information page, click Enable Serverless.
In the Enable Serverless dialog box, configure the Maximum Resources for Single Node and Minimum Resources for Single Node parameters. For more information, see Enable the serverless feature for a common cluster with defined specifications.
Click OK.
The serverless feature is enabled on the read-only column store node with defined specifications.
Create a serverless read-only column store node
Log on to the PolarDB console.
In the top navigation bar, select the region in which the cluster that you want to manage is deployed.
Find the cluster and click its ID.
In the Database Nodes section of the Basic Information page, click Enable Serverless.
In the Enable Serverless dialog box, configure the Read-only Column Store Nodes parameter and click OK. In this example, one read-only column store node is created.
PolarDB automatically creates a read-only column store node whose resources range from 1 PolarDB Capacity Unit (PCU) to 32 PCUs.