You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/07/02 12:20:34 UTC

[GitHub] [shardingsphere] automvc commented on issue #650: Welcome to leave your article link(欢迎留下关于ShardingSphere的文章链接)

automvc commented on issue #650:
URL: https://github.com/apache/shardingsphere/issues/650#issuecomment-652972747


   更适合作为DB表主键的ID生成算法。
   雪花算法生成的ID强依赖时间,若某个时间点没有生成ID,则会造成ID不连续;越长时间没用,ID号码跳跃越严重。
   作为DB的表主键,连续的ID更加合适。
   各种分布式全局唯一ID生成算法汇总大全(共12种):
   https://blog.csdn.net/abckingaa/article/details/104541889


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org