*你*如何使用auto_increment_increment?

发布于 2024-10-04 01:33:13 字数 502 浏览 0 评论 0原文

回复:MySQL的全局配置选项 auto_increment_increment

之外

  1. 除了与 结合使用的多主/循环复制 auto_increment_offset
  2. 当用户/对象 ID 对最终用户可见时,人为地“增强”统计信息

您在实践中如何/为何看到 auto_increment_increment 使用?

Re: MySQL's global configuration option auto_increment_increment.

Other than

  1. multi-master/circular replication in conjunction with auto_increment_offset
  2. artificially "beefing up" stats when user/object id's are visible to the end users

How/Why have you seen auto_increment_increment used in practice?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

网名女生简单气质 2024-10-11 01:33:13

它只是提供控制,它没有被广泛使用,如果我需要像这样的键 10、20、30 等,它会允许

所以我可以在这些记录之间插入记录,就像现在我可以插入 11,12,13 条记录( 稍后)在 10 到 20 之间,这在极少数情况下可能会有所帮助

It just provide control, it's not used widely, it will allow if i need keys to be like this 10, 20, 30, etc

So i can insert records in between those records, like now i can insert 11,12,13 records (later) in between 10 and 20, which might be helpful in rarest case

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文