Updated on 2024-08-29 GMT+08:00

Auto Flow Control

Auto Flow Control allows you to set criteria, such as the vCPU threshold and maximum number of active connections. When the criteria are met, flow control will be automatically triggered to ensure stability of your workloads.

Procedure

  1. Log in to the DAS console.
  2. Click in the upper left corner and select a region and project.
  3. Click in the upper left corner, and under Databases, click Data Admin Service.
  4. In the navigation pane, choose Intelligent O&M > Instance List.

    Alternatively, on the Overview page, click Go to Intelligent O&M.

  5. In the upper right corner of the Instance List page, search for instances by engine type, instance name, or instance IP.

    Figure 1 Searching for instances

  6. Locate the box containing your target instance and click Details.
  7. Choose SQL > Auto Flow Control.

    Figure 2 Auto flow control page

    Auto flow control is not available to free instances. To use the function, set free instances as paid instances or subscribe to Intelligent O&M.

  8. Click Auto Flow Control.
  9. In the displayed dialog box, set the control range, time, and policy and click OK.

    Figure 3 Configuring auto flow control criteria

    To set a custom time window for auto flow control, contact customer service to apply for required permissions. If you have obtained the permissions, you can set a time window from 00:00 to 23:59.

    Figure 4 Time

  10. After auto flow control is enabled, determine whether to kill sessions based on service requirements. For details, see Real-Time Sessions.