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 2020/10/30 10:06:46 UTC
[GitHub] [shardingsphere] wuxingye edited a comment on issue #7980: can not hit specific table by hash
wuxingye edited a comment on issue #7980:
URL: https://github.com/apache/shardingsphere/issues/7980#issuecomment-719461689
`spring:
shardingsphere:
sharding:
tables:
topic:
actual-data-nodes: live-content.topic_$->{0..1}
table-strategy:
inline:
sharding-column: user_id
algorithm-expression: topic_$->{user_id % 2}
comment:
actual-data-nodes: live-content.comment_$->{0..7}
table-strategy:
inline:
sharding-column: topic_id
algorithm-expression: comment_$->{topic_id % 8}
game:
actual-data-nodes: live-content.game
game_ext:
actual-data-nodes: live-content.game_ext
live:
actual-data-nodes: live-content.live
slideshow:
actual-data-nodes: live-content.slideshow
star:
actual-data-nodes: live-content.star
tag:
actual-data-nodes: live-content.tag
team:
actual-data-nodes: live-content.team
`
----------------------------------------------------------------
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