All Products
Search
Document Center

PolarDB:Enable the serverless feature on a read-only IMCI node

Last Updated:Mar 28, 2026

Analytical workloads on read-only In-Memory Column Index (IMCI) nodes often have uneven demand — high during business hours, low overnight. Without auto-scaling, you either over-provision to handle peaks or accept degraded performance during spikes. PolarDB Serverless scales compute resources on read-only IMCI nodes automatically, reducing costs during off-peak hours and absorbing traffic spikes without manual intervention.

Cost impact example: In a scenario that requires 32 cores and 64 GB of memory for 12 peak hours and 16 cores and 32 GB for 12 off-peak hours, serverless reduces compute node costs by 25% compared to always running at peak capacity.

Prerequisites

Before you begin, make sure you have:

  • A PolarDB for MySQL 8.0 Enterprise Edition cluster

  • At least one read-only IMCI node already added to the cluster

Choose a method

MethodHow it worksBest for
Specify a scaling rangeAdd elastic limits to an existing fixed-spec node. The node scales within your defined minimum and maximum during demand changes.Workloads with occasional spikes where you have already provisioned a baseline spec
Create a serverless nodeAdd a new node with no fixed spec. Resources scale from 1 to 16 PolarDB Capacity Units (PCUs) automatically.Cost-sensitive workloads with significant peak-to-off-peak variation

How IMCI nodes optimize serverless scaling

Read-only IMCI nodes extend the standard serverless architecture with four optimizations:

OptimizationWhat it doesVersion requirement
Resource utilizationKey system parameters — including cache, thread pool, and execution memory — are tuned automatically during scale-up and scale-down events.All supported versions
SQL query accelerationWhen complex queries create resource contention and slow down queued queries, the node automatically allocates additional resources to relieve the bottleneck.8.0.1 revision 8.0.1.1.39 or later; 8.0.2 revision 8.0.2.2.20 or later
Faster IMCI loading after restartAfter a cluster restart, the node uses elastic resources to accelerate index rebuilding, reducing the time before IMCI becomes available.8.0.1 revision 8.0.1.1.36 or later; 8.0.2 revision 8.0.2.2.20 or later
Accelerated log replayWhen SQL processing consumes most resources and delays IMCI log replay, the node automatically allocates additional resources for replay, preventing query routing delays.8.0.1 revision 8.0.1.1.45 or later
Faster DDL processingThe node adaptively increases thread resources to speed up DDL statement execution on column indexes.8.0.1 revision 8.0.1.1.44 or later; 8.0.2 revision 8.0.2.2.25 or later

Specify a scaling range for an existing node

Use this method if the cluster already has a read-only IMCI node with a defined spec and you want to add elastic scaling on top of it.

  1. Log on to the PolarDB console.

  2. In the upper-left corner, select the region where your cluster is deployed.

  3. Find the cluster and click its ID.

  4. On the Basic Information page, scroll to the Database Nodes section and click Enable Serverless.

  5. In the Enable Serverless dialog box, set Maximum Resources for Single Node and Minimum Resources for Single Node. For valid values, see Enable the serverless feature for a cluster with defined specifications.

  6. Click OK.

The serverless feature is now enabled on the read-only IMCI node.

Enable Serverless dialog for a fixed-spec node

Create a serverless read-only IMCI node

Use this method to add a new node without a fixed spec. PolarDB creates the node and manages all scaling automatically, with resources ranging from 1 PCU to 16 PCUs.

  1. In the left-side navigation pane, click Clusters.

  2. In the upper-left corner, select the region where your cluster is deployed.

  3. Find the cluster and click its ID.

  4. On the Basic Information page, scroll to the Database Nodes section and click Enable Serverless.

  5. In the Enable Serverless dialog box, configure the Read-only IMCI Nodes count (for example, set it to 1) and click OK.

PolarDB automatically provisions the new read-only IMCI node with resources ranging from 1 PCU to 16 PCUs.

Enable Serverless dialog for creating a new serverless node