Enable Serverless Computing

更新时间:
复制 MD 格式

Hologres supports Serverless Computing from V2.1.17. Enable this feature on your instance before use. If disabled, SQL queries default to the instance's dedicated resources even when Serverless Computing is specified.

Enable Serverless Computing

Check the Serverless Computing status on the Hologres console. Enabling is free. You pay for CU-hours only when SQL successfully executes using Serverless Computing resources. Usage and billing.

On the instance page in the Hologres console, click Instance Details in the left-side navigation pane. In the Basic Information section, view the Serverless Computing status at the bottom and click Enable.

To enable Serverless Computing for an instance:

  • For new instances

    Go to the Hologres instance list, and click Create Instance. On the instance purchase page, set Enable Serverless Computing to Yes. Purchase a Hologres instance.

  • For existing instances

    Go to the Hologres instance list. In the top navigation bar, select your instance's region. Find the instance, and in the Actions column, click Upgrade. On the resize page, set Enable Serverless Computing to Yes.

    Important

    Enabling Serverless Computing restarts the instance. Perform this operation during off-peak hours and ensure your application has an automatic reconnection mechanism. This process reallocates compute resources and updates metadata and typically takes 2 to 5 minutes.

    To finish, click Buy Now.

(Not recommended) Disable Serverless Computing

Keep Serverless Computing enabled. The system automatically uses Serverless Computing resources for unexpected load spikes, which avoids an instance restart to re-enable the feature.

To disable Serverless Computing:

Go to the Hologres instance list. In the top navigation bar, select your instance's region. Find the instance, and in the Actions column, click image and select Downgrade. On the Downgrade page, set Enable Serverless Computing to No.

Note
  • Disabling Serverless Computing restarts the instance. Perform this operation during off-peak hours and ensure your application has an automatic reconnection mechanism. This process reallocates compute resources and updates metadata and typically takes 2 to 5 minutes.

  • After disabling, you cannot specify Serverless Computing resources. All running or queued Serverless Computing tasks fail.