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

Replace string DB fields with more appropriate data types #2932

Open
DerEwige opened this issue Oct 19, 2024 · 0 comments
Open

Replace string DB fields with more appropriate data types #2932

DerEwige opened this issue Oct 19, 2024 · 0 comments

Comments

@DerEwige
Copy link
Contributor

For example you chose to store the UUIDs in text fields
Which make them use 36 byte instead of 16 byte if you would use the built in UUID data type
If you would revamp to use BIGINT where it is possible instead you would go down to 8 byte.

This would shrink the database (and the indexes in particularly) and make the whole DB a lot faster.

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