KomachiSion commented on issue #4478: Is this possible to just shard databases 
with table rule configuration?
URL: 
https://github.com/apache/incubator-shardingsphere/issues/4478#issuecomment-593726260
 
 
   @bharathikannan-zarget , If you do not config tableRule, ShardingSphere 
can't know tables you input whether need to do shard or not.
   
   So you at least config logicTableName and actualDataNodes like 
   
   ```
   shardingRule:
     tables:
       t_order:
         actualDataNodes: ds_${0..1}.t_order
       t_order_item:
         actualDataNodes: ds_${0..1}.t_order_item
      ....
   ```
   
   And then you config your `defaultDatabaseStrategy` will be ok.
   

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


With regards,
Apache Git Services

Reply via email to