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

Do not set UNIQUE_CHECKS=0 for MariaDB #988

Merged
merged 4 commits into from Jan 24, 2023

Conversation

LinuxJedi
Copy link
Collaborator

UNIQUE_CHECKS=0 sets MariaDB into a special mode that adds table level
locks for InnoDB. This accelerates single-threaded insert performance,
but makes multi-threaded into one table much slower.

This also adds a patch to fix the MariaDB type and version check.

Fixes #987

`UNIQUE_CHECKS=0` sets MariaDB into a special mode that adds table level
locks for InnoDB. This accelerates single-threaded insert performance,
but makes multi-threaded into one table much slower.
@LinuxJedi
Copy link
Collaborator Author

Looking into CI failures...

Also switch out table info query which will assist with sequences and
system version tables.
@LinuxJedi
Copy link
Collaborator Author

Should be good now, I missed a bit when cherry-picking the MariaDB ident stuff from another branch :)

@davidducos
Copy link
Member

Hi @LinuxJedi, I removed the specific lines related to mariadb and SET SESSION. I think that the other changes are needed! merging now...

@davidducos davidducos merged commit fea25ad into mydumper:master Jan 24, 2023
25 checks passed
@davidducos davidducos added this to the Release 0.14.3-1 milestone Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] myloader performance regression for MariaDB 10.6
2 participants