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

Increase the batch size of rows during the database backup #883

Conversation

Quetzacoalt91
Copy link
Member

Questions Answers
Description? Following an ugprade attempt made on a production like shop, we discovered the database backup takes too much time. It did not complete after a whole day of work while a save of the same database via PhpMyAdmin takes a couple of minutes. This PRs tries some changes to see the impact on the process.
Type? improvement
BC breaks? Nope
Deprecations? Nope
Fixed ticket? /
Sponsor company @PrestaShopCorp
How to test? Backups are faster

@Quetzacoalt91 Quetzacoalt91 self-assigned this Sep 10, 2024
@Quetzacoalt91
Copy link
Member Author

With this PR, a backup that was taking more than a day before (we could not reach the end), completes now in ~3h30.

This is a good step ahead, but there is still room for improvement.

@Quetzacoalt91 Quetzacoalt91 force-pushed the increase-batch-size-during-backup-db branch from bce9fd1 to 070ec11 Compare September 10, 2024 16:12
@Quetzacoalt91
Copy link
Member Author

Replaced by #894

@Quetzacoalt91 Quetzacoalt91 deleted the increase-batch-size-during-backup-db branch September 17, 2024 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant