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 2019/07/30 08:58:08 UTC

[GitHub] [incubator-shardingsphere] jscene opened a new issue #2787: how to make a main/sub table rule

jscene opened a new issue #2787: how to make a main/sub table rule
URL: https://github.com/apache/incubator-shardingsphere/issues/2787
 
 
   ## Question
   my bussiness like that  t_order and t_order_item is father-son relationship with the order_id column.
   but I want to sharding t_order with another column like customer_id . how can I do for this?
   
   t_order 和 t_order_item 是主子表关系,通过order_id关联,但是现在想通过客户id(customer_id)去分库,且子表没有该字段,请问应该怎么实现该效果?有没有类似mycat的主子表关系设置?

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


With regards,
Apache Git Services