doc-exports/docs/gaussdb_mysql/umn/gaussdb_11_0021.html
Wang , Deng Ke e944469104 gaussdb UMN 20221230 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Wang , Deng Ke <wangdengke2@huawei.com>
Co-committed-by: Wang , Deng Ke <wangdengke2@huawei.com>
2023-08-13 18:46:36 +00:00

1.6 KiB

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. Use a read/write splitting address to connect to the database. For details, see Enabling Read/Write Splitting.
  2. Run the following command to view the routing result of the previous SQL statement. The result is the private IP address of the DB instance.

    show last route;
    Figure 1 Query result