mycat ER 分片表

<table name="order" dataNode="dn$1-32" rule="mod-long">
    <childTable name="order_detail" primaryKey="id" joinKey="order_id" parentKey="order_id" />
</table>

 

注意:主表支持批量插入,子表不支持批量插入。

相关文章:

  • 2021-10-13
  • 2022-12-23
  • 2021-05-30
  • 2022-03-05
  • 2021-06-04
  • 2021-07-22
  • 2021-10-17
  • 2021-10-23
猜你喜欢
  • 2021-09-25
  • 2022-12-23
  • 2022-02-16
  • 2021-05-27
  • 2021-04-02
  • 2021-11-28
  • 2021-06-08
相关资源
相似解决方案