mysql-multi-master-state-of-art-2013-04-24_0
mysql-multi-master-state-of-art-2013-04-24_0
mysql-multi-master-state-of-art-2013-04-24_0
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Auto-Increment Key O!sets<br />
• Set di!erent keys on each server to avoid<br />
primary key collisions<br />
[my.cnf]<br />
server-id=1<br />
auto-increment-<strong>of</strong>fset = 1<br />
auto-increment-increment = 4<br />
...<br />
[my.cnf]<br />
server-id=2<br />
auto-increment-<strong>of</strong>fset = 2<br />
auto-increment-increment = 4<br />
...<br />
©Continuent <strong>2013</strong><br />
15