-
Notifications
You must be signed in to change notification settings - Fork 49
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
DX: Improve "Maximum retries of 100 reached without finding a unique value." message #109
Comments
Fixed by #110 |
@staabm I forgot to warn you about something You mentioned creating a dump of a big database, and in another issue, you mentioned using the faker converter. This is why the default templates mainly use custom converters instead of faker. However, it only starts being problematic when you're using it to convert at least hundred of millions of values. |
thanks for the heads up. I am already in the perf optimizing process and looking for bottlenecks. see e.g. |
Nice! FYI we switched to druidfi/mysqldump a while ago because the original repo was inactive, you might also need to create a PR on their repo. |
noted, thanks ;-) |
40-50% faster dump with druidfi/mysqldump-php#37 |
I combined 3 performance related PRs to one for testing: druidfi/mysqldump-php#38 @guvra There is also commands if you wanna test it with this library. My first test was good as time went down from 40s to 5s when creating a dump. |
@back-2-95 I made a quick test on a medium size magento database.
So it looks pretty good 👍 On another note, I used #113 to monitor the total execution time (this PR adds a progress bar to gdpr-dump when using the |
Preconditions
GdprDump Version: 4.0.3
PHP Version: any
Database Version: any
Steps to reproduce
when running with a complex schema and a big dump the process can take hours.
when unqiue-value rules are not properly configured "dump-time" errors can occur like:
the error message itself is not very helpful when a big config file is involved which contains several unique rules.
Expected result
a error message, which denotes which column in which table could not be uniquely randomized
Actual result
The text was updated successfully, but these errors were encountered: