726411951 opened a new issue #10086:
URL: https://github.com/apache/shardingsphere/issues/10086


   ## Question
   
   **For English only**, other languages will not accept.
   
   Before asking a question, make sure you have:
   
   - Googled your question.
   - Searched open and closed [GitHub 
issues](https://github.com/apache/shardingsphere/issues).
   - Read documentation: [ShardingSphere 
Doc](https://shardingsphere.apache.org/document/current/en/overview).
   
   Please pay attention on issues you submitted, because we maybe need more 
details. 
   If no response anymore and we cannot reproduce it on current information, we 
will **close it**.
   
   
![image](https://user-images.githubusercontent.com/32379580/114683712-d3b21d80-9d42-11eb-9c1d-8c6e71115b05.png)
   
   As the describe in  documents , if I create tables `t_order`  `t_user`   and 
I want to do  databases sharding .I must config like 
   
   
spring.shardingsphere.rules.sharding.tables.**t_order**.database-strategy.standard.<sharding-algorithm-name>.sharding-column=
 # Sharding column name
   
spring.shardingsphere.rules.sharding.tables.**t_order**.database-strategy.standard.<sharding-algorithm-name>.sharding-algorithm-name=
 # Sharding algorithm name
   
spring.shardingsphere.rules.sharding.tables.**t_user**.database-strategy.standard.<sharding-algorithm-name>.sharding-column=
 # Sharding column name
   
spring.shardingsphere.rules.sharding.tables.**t_user**.database-strategy.standard.<sharding-algorithm-name>.sharding-algorithm-name=
 # Sharding algorithm name
   
   if I have more tables , I should write more and more configuration for every 
table. 
   Is there a better way to cofig sharding properties ,if `sharding-column` and 
`sharding-algorithm-name` are the same.


-- 
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:
[email protected]


Reply via email to