tencent cloud

Feedback

Enabling/Disabling Read/Write Separation

Last updated: 2021-12-20 14:59:21

    Overview

    TencentDB for Redis supports read/write separation for business scenarios with more reads but less writes, which can well cope with read requests concentrating on frequently read data. It supports up to 1-master 5-replica mode to offer 5x read performance.

    Note:

    • Enabling read/write separation may cause data read inconsistency (the data on replica nodes are older than that on the master node). Therefore, you need to check whether your business can tolerate data inconsistency first.
    • Disabling read/write separation may interrupt existing connections momentarily, so you are recommended to do so during off-peak hours.

    Directions

    1. Log in to the TencentDB for Redis console, click an instance ID in the instance list, and enter the instance management page.
    2. On the instance management page, select the Node Management tab and click Read-Only Replica in the top-right corner to enable read/write separation.
    3. In the pop-up window, select Master Node and/or Replica Node. If you select Master Node, the Read-Only Replica switch will be toggled on.
    4. After confirming that everything is correct, click OK.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support