Starting from V2.1.17, Hologres supports Serverless Computing. To use this feature, you must enable it for your instance. This topic guides you through enabling Serverless Computing.
Enable Serverless Computing
Check whether you've enabled Serverless Computing for your instance in the Hologres console. After turning on this switch, you'll be billed based on consumed serverless resources (unit: CU-hour). For details, see Usage and billing.

New instances
Go to the Hologres console.
Click Purchase Instance.
On the instance purchase page, set Enable Serverless Computing to True.
For more information, see Purchase a Hologres instance.

Existing instances
Go to the Hologres console.
In the top menu bar, select the region where your instance is located.
Find the target instance and click Upgrade in the Actions column.
In the confirmation dialog, click Confirm.
On the Upgrade/Downgrade page, set Enable Serverless Computing to Yes.
This typically takes 2 to 5 minutes.
Enabling Serverless Computing will restart your instance. Therefore, do this during off-peak hours and implement an automatic reconnection mechanism for your instance.

Disable Serverless Computing
We recommend you keep this feature on, so your instance can handle unexpected traffic surges with grace. If you turn it off, you'll have to enable it again when needed, which will restart your instance.
Go to the Hologres console.
In the top menu bar, select the region where your instance is located.
Find the target instance, click the
icon in the Actions column, and select Downgrade.In the confirmation dialog, click Downgrade.
On the Downgrade page, set Enable Serverless Computing to No.
This typically takes 2 to 5 minutes.

Disabling this feature will restart your instance. Do this during off-peak hours and ensure your application can automatically reconnect.
After the feature is disabled, you cannot use serverless resources anymore. Running or queuing tasks that rely on serverless resources will fail.