You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2021/04/28 02:41:00 UTC

[GitHub] [shardingsphere] zhonghuali commented on issue #10199: Striongly suggest to add new config for setting whether all tables are default sharded or not, then simplifying this kind of configuration

zhonghuali commented on issue #10199:
URL: https://github.com/apache/shardingsphere/issues/10199#issuecomment-828098420


   > So you think the `defaultDatabaseStrategy` and `defaultTableStrategy` is not enough for your case?
   I think the `defaultDatabaseStrategy` and `defaultTableStrategy` does't provide correct/user-friendly behaviours. 
   as you know, it require to configure a table name for those intending to use defaultDatabaseRulerule, but there are many tables ,and these table or data souce may be added  in some time, then we have to change the configuration every time.  As I gave the default database rule, these default rules should be defaultly applied to these tables without specific table rules.   if I  gave a default rule, then I have to give a table rule config which is default rule.  I think it doesn't make sense. 
   
   In a word, if I give the `defaultDatabaseStrategy` and `defaultTableStrategy` ,and all of tables in my db would be sharded, then I expect to no more configuration for tables. 
   


-- 
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.

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