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/26 08:44:46 UTC

[GitHub] [shardingsphere] zhonghuali opened a new 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 opened a new issue #10199:
URL: https://github.com/apache/shardingsphere/issues/10199


   Striongly suggest to add new config for setting whether all tables are default sharded or not, then simplifying this kind of configuration
   
   _Originally posted by @zhonghuali in https://github.com/apache/shardingsphere/issues/7196#issuecomment-826602578_


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



[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

Posted by GitBox <gi...@apache.org>.
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



[GitHub] [shardingsphere] tristaZero 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

Posted by GitBox <gi...@apache.org>.
tristaZero commented on issue #10199:
URL: https://github.com/apache/shardingsphere/issues/10199#issuecomment-828187875


   Hi we have to distinguish which part of the configuration is shared and which one is not.
   
   `defaultDatabaseStrategy` and `defaultTableStrategy` are shared for each sharding table, but `actual datanodes` is different for them in most cases. Therefore that part has to be configured accordingly.


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



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

Posted by GitBox <gi...@apache.org>.
terrymanu closed issue #10199:
URL: https://github.com/apache/shardingsphere/issues/10199


   


-- 
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] tristaZero 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

Posted by GitBox <gi...@apache.org>.
tristaZero commented on issue #10199:
URL: https://github.com/apache/shardingsphere/issues/10199#issuecomment-827422440


   So you think the `defaultDatabaseStrategy`  and `defaultTableStrategy` is not enough for your case? 


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