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

Postgres #1423

Open
Zarel opened this issue Dec 15, 2019 · 7 comments
Open

Postgres #1423

Zarel opened this issue Dec 15, 2019 · 7 comments
Assignees

Comments

@Zarel
Copy link
Member

Zarel commented Dec 15, 2019

PS's database structure is currently a mess:

Login server:

MySQL:

  • users
  • ladders (dies a lot, has trouble timing out UPDATE queries)

TokuDB:

  • replays (has weird bugs)

Sim server, included for completion:

plaintext:

  • most logs

JSON:

  • plugin state, room state (including room ranks)

CSV:

  • global ranks

TSV:

  • punishments

We don't have a good understanding on what's wrong with replays or ladders. The current plan is to migrate the login server databases Postgres in the hopes that it will have fewer issues, or at least allow more people like @monsanto to leverage their experience in Postgres.

@marksg07
Copy link

Any progress on this @Zarel?

@Zarel
Copy link
Member Author

Zarel commented Feb 21, 2020

Heavens, no, I'm personally still really busy on Gen 8 mechanics.

@marksg07
Copy link

@Zarel @AnnikaCodes is there a current status on this? Is this migration still in the works, or is something else happening?

@AnnikaCodes
Copy link
Collaborator

It's in the works, but probably will take some time to happen.

@marksg07
Copy link

@scheibo @Zarel @AnnikaCodes how about now :o

@mia-pi-git
Copy link
Member

mia-pi-git commented Sep 15, 2021

@scheibo @Zarel @AnnikaCodes how about now :o

Still a long ways out. I wouldn't bet on it for quite some time.

@AnnikaCodes
Copy link
Collaborator

We're waiting for the loginserver TypeScript refactor before pursuing this further.

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

5 participants