doc-exports/docs/gaussdb_mysql/umn/gaussdb_11_0021.html
Ru, Li Yi f3715d9cc9 gaussdbmysql
Reviewed-by: Wagner, Fabian <fabian.wagner@t-systems.com>
Co-authored-by: Ru, Li Yi <liyiru7@huawei.com>
Co-committed-by: Ru, Li Yi <liyiru7@huawei.com>
2024-09-06 12:45:25 +00:00

1.6 KiB

Testing Read/Write Splitting Performance

After a proxy instance is created, you can connect your DB instance through a proxy address. You can use internal SQL commands to verify the read/write splitting performance.

Procedure

  1. Connect to a DB instance through a proxy address. For details, see Creating a Proxy Instance.
  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 results