-
Notifications
You must be signed in to change notification settings - Fork 186
SQL migrations for efficiency #1956
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
Conversation
|
Documenting so I can add it to release docs later. ptosc alter statements look like: requestHistory table -> deployHistory table -> taskHistory table -> taskUsage table -> |
|
Also notes for later release docs since we have the taskUsage migration in there as well. If folks are using ptosc the order will be:
|
|
🚢 |
|
🚢 |
The first in a short series of performance PRs. Our mysql setup has some easy wins in efficiency that I will try to take advantage of:
requestId,deployId,updatedAtas well as onhost,updatedAtfor task history searchingmessagefields should be utf8mb4 ont plain utf8lastTaskStatus,requestState, anddeployStateshould be ENUMsTODO: