阅读背景:

MySQL,C ++ - 以编程方式,MySQL自动增量如何工作?

来源:互联网 

From the latest source code (not certain if it's C or C++) of MySQL, how does it do an autoincrement? I mean, is it efficient in that it stores like a metadata resource on the table where it last left off, or does it have to do a table scan to find the greatest ID in use in the table? Also, do you see any negative aspects of using autoincrement when you look at how it's implemented versus, say, PostgreSQL?From the latest source code (not certain if it'




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

分享到: