Updated on 2024-10-14 GMT+08:00

Enabling Memory Acceleration

To enable memory acceleration for an existing MySQL instance, you must first create a GeminiDB instance.

Precautions

After memory acceleration is enabled, commands such as RESET MASTER and FLUSH LOGS to delete binlogs on MySQL instances are not allowed to be executed.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and project.
  3. Click in the upper left corner of the page and choose Databases > Relational Database Service.
  4. On the Instances page, click the target instance.
  5. In the navigation pane on the left, choose Memory Acceleration. On the displayed page, click Create GeminiDB Instance.
  6. On the displayed page, set required parameters and click Submit.

    Table 1 Basic information

    Parameter

    Description

    Instance Class

    CPU and memory of the instance. For details, see Table 2.

    Database Port

    Port number for accessing the instance.

    You can specify a port number based on your requirements. The port number ranges from 1024 to 65535 except 2180, 2887, 3887, 6377, 6378, 6380, 8018, 8079, 8091, 8479, 8484, 8999, 12017, 12333, and 50069.

    If you do not specify a port number, port 6379 is used by default.

    NOTE:

    You cannot change the database port after an instance is created.

    DB Instance Name

    The instance name:

    • Can be the same as an existing instance name.
    • Can include 4 to 64 bytes and must start with a letter. It is case-sensitive and allows only letters, digits, hyphens (-), and underscores (_).

    Database Password

    Database password set by the user.

    • Must be 8 to 32 characters long.
    • Can include two of the following: uppercase letters, lowercase letters, digits, and special characters: ~!@#%^*-_=+?
    • For security reasons, set a strong password. The system will verify the password strength.

    Keep your password secure. The system cannot retrieve it if it is lost.

    Confirm Password

    Enter the administrator password again.

    Table 2 GeminiDB Redis instance specifications

    Storage (GB)

    Nodes

    vCPUs

    QPS

    Maximum Connections per Single-node Instance

    Databases

    24

    2

    2

    40,000

    10,000

    1,000

    32

    2

    2

    40,000

    10,000

    1,000

    48

    2

    4

    80,000

    20,000

    1,000

    64

    2

    4

    80,000

    20,000

    1,000

    96

    2

    8

    160,000

    20,000

    1,000

    128

    2

    16

    320,000

    20,000

    1,000