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

Split database with reference tables #493

Open
mchangrh opened this issue Aug 18, 2022 · 0 comments
Open

Split database with reference tables #493

mchangrh opened this issue Aug 18, 2022 · 0 comments

Comments

@mchangrh
Copy link
Contributor

An old idea by @grublets that I wanted to immortalize on the github

original proposal:
https://discord.com/channels/603643120093233162/603643205552177155/991928401298468957

  • Split sponsorTimes into static/ dynamic parts
  • dynamic values like votes, view, locked, hidden change frequently and quickly which updates the entire row
  • static values like userID, reputation, videoID and UUID are static and should never be changed

if both values can be split, then it would make replication a lot easier as the row update would contain a lot less data and especially for db downloads as the static data can be appended to without any worry of corrupting old entries and all the dynamic changed data is easily compressible since it's mostly integers or bits.

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