-
Notifications
You must be signed in to change notification settings - Fork 55
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
[TECH] Migrer la colonne answers.id de INTEGER en BIG INTEGER avec downtime. #3839
Merged
pix-service-auto-merge
merged 4 commits into
dev
from
tech-migrate-answers-id-bigint-with-downtime
Jul 19, 2022
Merged
[TECH] Migrer la colonne answers.id de INTEGER en BIG INTEGER avec downtime. #3839
pix-service-auto-merge
merged 4 commits into
dev
from
tech-migrate-answers-id-bigint-with-downtime
Jul 19, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I'm deploying this PR to these urls:
Please check it out! |
octo-topi
force-pushed
the
tech-migrate-answers-id-bigint-with-downtime
branch
from
December 15, 2021 20:45
dbdf7dd
to
011dd4e
Compare
yahyayouness
force-pushed
the
tech-migrate-answers-id-bigint-with-downtime
branch
3 times, most recently
from
July 11, 2022 11:18
efd9613
to
af710a0
Compare
yahyayouness
force-pushed
the
tech-migrate-answers-id-bigint-with-downtime
branch
12 times, most recently
from
July 12, 2022 07:43
dfc42ec
to
e3bd398
Compare
yahyayouness
force-pushed
the
tech-migrate-answers-id-bigint-with-downtime
branch
from
July 12, 2022 08:18
e3bd398
to
92c438c
Compare
francois2metz
approved these changes
Jul 13, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🌹 🌺 💮 🥀 🌷 🌻 🌸 LGTM 🌸 🌻 🌷 🥀 💮 🌺 🌹
MelanieMEB
approved these changes
Jul 18, 2022
pix-service-auto-merge
force-pushed
the
tech-migrate-answers-id-bigint-with-downtime
branch
from
July 19, 2022 08:25
92c438c
to
089088e
Compare
pix-service-auto-merge
deleted the
tech-migrate-answers-id-bigint-with-downtime
branch
July 19, 2022 08:32
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🎄 Problème
Le type
Integer
de l’identifiant de la table answer est limité à2 147 483 647
.Au 15 mai 2022,
849 079 160
enregistrements sont présents.Il reste
1 298 404 487
enregistrements libres.Le maximum d'enregistrements insérés par jour du 1er au 15 mai est
3 009 644
.A ce rythme, il reste approximativement 431 jours pour atteindre cette limite.
🎁 Solution
La valeur maximale du type BigInt est
9 223 372 036 854 775 807
.Migrer le type de l'identifiant vers ce type.
🌟 Remarques
Les temps de traitement constatés sur une infratstructure comparable sont:
🎅 Pour tester
Environnement de test
Ajouter le repo Scalingo en tant que remote
Pusher la branche sur le repo scalingo
Lancer le script
Suivre sa progression