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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the performance of the database dumper #6946

Merged
merged 4 commits into from Feb 28, 2024

Conversation

Toflar
Copy link
Member

@Toflar Toflar commented Feb 27, 2024

Seems like with the latest changes in Doctrine DBAL a lot of internal deprecations are suppressed because it uses getWrappedConnection() inside quote() itself. Also, it seems to do in-memory caching there as well.

By reducing the calls to quote() and using an in-memory cache ourselves, we can cut both, the time needed to create a backup and the memory usage in half 馃コ

Bildschirmfoto 2024-02-27 um 17 03 50

@Toflar Toflar added bug and removed feature labels Feb 27, 2024
@Toflar Toflar added this to the 5.3 milestone Feb 27, 2024
@Toflar Toflar marked this pull request as draft February 27, 2024 16:11
@Toflar Toflar marked this pull request as ready for review February 27, 2024 16:16
aschempp
aschempp previously approved these changes Feb 28, 2024
@leofeyer leofeyer changed the title Improve performance of the database dumper Improve the performance of the database dumper Feb 28, 2024
@leofeyer leofeyer merged commit c43f721 into contao:5.3 Feb 28, 2024
17 checks passed
@leofeyer
Copy link
Member

Thank you @Toflar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants