You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "RaigorJiang (via GitHub)" <gi...@apache.org> on 2023/05/29 06:53:55 UTC

[GitHub] [shardingsphere] RaigorJiang opened a new pull request, #25930: For #25871, update RQL documents.

RaigorJiang opened a new pull request, #25930:
URL: https://github.com/apache/shardingsphere/pull/25930

   For #25871
   
   ### Before
   ```sql
   mysql> SHOW READWRITE_SPLITTING RULES;
   +------------+-----------------------------+------------------------+------------------------+--------------------+---------------------+
   | name       | auto_aware_data_source_name | write_data_source_name | read_data_source_names | load_balancer_type | load_balancer_props |
   +------------+-----------------------------+------------------------+------------------------+--------------------+---------------------+
   | ms_group_0 |                             | resource_1             | ds_0,ds_1              | random             |                     |
   +------------+-----------------------------+------------------------+------------------------+--------------------+---------------------+
   1 row in set (0.01 sec)
   ```
   
   
   ### After
   Remove `auto_aware_data_source_name` and add `transactional_read_query_strategy`.
   
   ```sql
   mysql> SHOW READWRITE_SPLITTING RULES;
   +------------+-------------------------+-------------------------+-----------------------------------+--------------------+---------------------+
   | name       | write_storage_unit_name | read_storage_unit_names | transactional_read_query_strategy | load_balancer_type | load_balancer_props |
   +------------+-------------------------+-------------------------+-----------------------------------+--------------------+---------------------+
   | ms_group_0 | write_ds                | read_ds_0,read_ds_1     | DYNAMIC                           | random             |                     |
   +------------+-------------------------+-------------------------+-----------------------------------+--------------------+---------------------+
   1 row in set (0.01 sec)
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] taojintianxia merged pull request #25930: For #25871, update RQL documents.

Posted by "taojintianxia (via GitHub)" <gi...@apache.org>.
taojintianxia merged PR #25930:
URL: https://github.com/apache/shardingsphere/pull/25930


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org