doc-exports/docs/rds/umn/rds_11_0021.html
Ru, Li Yi f51ec873f3 rds_umn
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-06-05 10:42:11 +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. Connect to a database through a read/write splitting address by referring to Enabling Read/Write Splitting.
  2. Run show last route to view the routing result of the previous SQL statement.

    Figure 1 Query result

    Do not use show last route for service code or include it in multi-statements.