sandynz commented on pull request #14842:
URL: https://github.com/apache/shardingsphere/pull/14842#issuecomment-1015041782


   More syntax found in `RQLStatement.g4`:
   ```
   showShardingScalingRules
       : SHOW SHARDING SCALING RULES (FROM schemaName)?
       ;
   ```
   
   Test result:
   ```
   mysql> SHOW SHARDING SCALING RULES FROM scaling_db;
   
+-----------------+--------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------+-----------------------------------------------------+----------------------------------------------------------------------+---------------------------------------------------+
   | name            | input                                                    
                            | output                                            
                                     | stream_channel                           
           | completion_detector                                                
  | data_consistency_checker                          |
   
+-----------------+--------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------+-----------------------------------------------------+----------------------------------------------------------------------+---------------------------------------------------+
   | default_scaling | 
{"workerThread":40,"batchSize":1000,"rateLimiter":{"type":"QPS","props":{"qps":50}}}
 | 
{"workerThread":40,"batchSize":1000,"rateLimiter":{"type":"TPS","props":{"tps":2000}}}
 | {"type":"MEMORY","props":{"block-queue-size":1000}} | 
{"type":"IDLE","props":{"incremental-task-idle-minute-threshold":1}} | 
{"type":"DATA_MATCH","props":{"chunk-size":1000}} |
   
+-----------------+--------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------+-----------------------------------------------------+----------------------------------------------------------------------+---------------------------------------------------+
   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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to