阅读背景:

MySql支持和自动增加会造成差距

来源:互联网 

I've got a MySql table with an auto-increment primary key, and it seems that all of the various upsert methods (INSERT IGNORE and ON DUPLICATE KEY UPDATE) suffer from the, uh, feature that the auto-increment field increments, even if a row is updated and not inserted. This means that gaps are introduced into the table, which I find undesirable.I've got a MySql table with an auto-increment p




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: