mycat 配置全局表

在已配置全局序列号的基础上

1、schema.xml

<table name="hf_ctrlorder_split_config" primaryKey="HF_CTRLORDER_SPLIT_CONFIG_ID" autoIncrement="true" type="global" dataNode="dn1,dn2,dn3"  />

2、sequence_db_conf.properties

HF_CTRLORDER_SPLIT_CONFIG=dn1

3、修改数据库

在mycat_sequence表中,增加:HF_CTRLORDER_SPLIT_CONFIG  0  100记录

4、重启

posted @ 2016-09-28 15:33  沙中世界  阅读(3432)  评论(0编辑  收藏  举报