Updated on 2024-05-21 GMT+08:00

Changing Consistency Level

Scenarios

After a proxy instance is created, you can change its consistency level.

Constraints

  • To configure consistency level, the kernel version of your GaussDB(for MySQL) instance must be 2.0.28.1 or later.
  • To use session consistency, the kernel version of your proxy instance must be 2.7.4.0 or later.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click in the upper left corner of the page, choose Databases > GaussDB(for MySQL).
  4. On the Instances page, click the instance name to go to the Basic Information page.
  5. In the navigation pane on the left, click Database Proxy.
  6. Click the desired proxy instance name. In the Proxy Instance Information area, click next to the Consistency Level field.

    Figure 1 Changing consistency level

  7. Select a consistency level and click .

    After the consistency level is changed, you need to manually reboot the proxy instance or reconnect your application to the proxy instance on the management console.

    For details about how to reboot a proxy instance, see Rebooting a Proxy Instance.