本文介绍了Mysql表溢出问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Mysql表溢出问题:
我们的网站拥有无限数量的用户。但是MYSQL表,我们对主键字段有一些限制。
如果我们使用BIGINT作为数据类型,那么我们应该将用户记录存储到18446744073709551615。 br $>
我的查询是如何存储无限记录。什么是解决这个问题的最佳解决方案?
如果我们在应用层使用自动增量过程,我认为可能会出现同时出现问题的问题。
Mysql Table Overflow Issue:
We have unlimited number of users in our web site. But MYSQL table, we have some limit for the primary key field.
If we use BIGINT as data type then we should store the user records upto "18446744073709551615".
My query is how to store the unlimited records. What is the best solution for solve this issue?
If we use auto increment process in application layer, I think may be problem will occur for simulataneous request.
推荐答案
这篇关于Mysql表溢出问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!