Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use random but sequential UUIDs as DB primary keys #275

Closed
alberto-brigandi opened this issue Jul 26, 2018 · 1 comment
Closed

Use random but sequential UUIDs as DB primary keys #275

alberto-brigandi opened this issue Jul 26, 2018 · 1 comment

Comments

@alberto-brigandi
Copy link
Member

MySQL's primary keys are associated to clustered indexes, hence the order of the stored data is defined by the order of the primary keys.
Forcing the primary keys to be sequential will force the new records to be appended instead of causing an old records reorder

@alberto-brigandi
Copy link
Member Author

alberto-brigandi commented Jul 26, 2018

Fixed in 6cb7dd9 and fc35328

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant