lanchengx opened a new issue #15275: URL: https://github.com/apache/shardingsphere/issues/15275
Hi community, this issue is for a new DistSQL syntax. **Background** > Currently, there is already a `show schema rules` syntax for querying the number of rules in a schema, but it is still troublesome to get the number of rules in an instance when there are multiple schemas. So we intend to provide a syntax for querying all rules in an instance. **Aim** | feature |type | count | ---- | ---- |---- | | single_table |table | 2 | | sharding |sharding_table | 2 | | sharding |binding_table | 1 | | sharding |broadcast_table | 0 | | readwrite_splitting |datasource | 1 | | db_discovery |datasource | 0 | | encrypt | table |0 | | shadow | datasource |0 | The syntax is as follows: ```mysql COUNT INSTANCE RULES; ``` _Tip: You can refer to the `count schema rules` syntax_ -- 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]
