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

DB column optimization #3791

Open
epicfaace opened this issue Sep 15, 2021 · 0 comments
Open

DB column optimization #3791

epicfaace opened this issue Sep 15, 2021 · 0 comments
Labels
p2 Do it this quarter.

Comments

@epicfaace
Copy link
Member

epicfaace commented Sep 15, 2021

For the bundle table:

  • We should make bundle_uuid a uuid type instead of a string type
  • We should remove the id column and make the bundle_uuid the primary key instead
  • We should make the owner_id column be a foreign key to the User table, rather than just a string.

This should speed up how bundles are accessed.

There are probably similar kinds of optimizations that we can do for other tables.

@epicfaace epicfaace added the p2 Do it this quarter. label Sep 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p2 Do it this quarter.
Projects
None yet
Development

No branches or pull requests

1 participant