模式流沙的头像 ID: 52765220375

模式流沙

HelloWorld 社区成员

5470330313

文章2
个人网站0
加入社区2025

为啥不能用uuid做MySQL的主键?

<blockquote在MySQL中设计表的时候,MySQL官方推荐不要使用uuid或者不连续不重复的雪花id(long形且唯一,单机递增),而是推荐连续自增的主键id,官方的推荐是auto_increment。</blockquote那么为什么不建议采用uuid,使用

nginx负载均衡详解与搭建

&lt;!@Author:starkwang@Contactme:https://shudong.wang/about(https://link.segmentfault.com/?encKh9xfG42AJqTCMRLXyxVLA%3D%3D.3zzD0z0Ld%2