Testing Read/Write Splitting Performance

After read/write splitting is enabled, databases can be connected through a read/write splitting address. You can use internal SQL commands to verify the read/write splitting performance.

Procedure

  1. Connect to a database through a read/write splitting address by referring to Enabling Read/Write Splitting.
  2. Run show pool_nodes to query node information.

    The select_cnt indicates the number of statements executed on each node.

    Figure 1 Query result