huangxinjian commented on issue #19828:
URL:
https://github.com/apache/shardingsphere/issues/19828#issuecomment-1203986665
>
Hi @RaigorJiang , Thanks for your answer!
But Broadcast tables cannot be used. If a broadcast table is used, then the
data representing `user` is exactly the same on `db1` `db2` `db3`. The scenario
I want is that part of the data in the user table is routed to db1, part of it
is routed to db2, and part of it is routed to db3.
Moreover, even if the broadcast table meets the scenario, I still need to
configure all the tables in the existing business library through the following
code.... The final configuration information will be huge :(
```java
result.getBroadcastTables().add("t_user");
result.getBroadcastTables().add("t_userInfo");
result.getBroadcastTables().add("t_xxx");
result.getBroadcastTables().add("t_aaa");
// tooooooo much config code need to add.
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]