-
Notifications
You must be signed in to change notification settings - Fork 437
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
How to use multithread option on single table backup using mydumper #1427
Comments
Has the table an integer pk ? |
Yes, the table has 'id' as the integer pk |
Are you using the latest prerelease? |
Yes, I'm using the latest release |
Hi @test-mydumper,
I got multiple threads exporting the table:
|
Sorry, below is the version I'm using: |
Test with latest release please. |
Sure. Can you please share the exact query to have multiple threads on same table when using mydumper, and also the query for myloader to have multiple threads on single table while restoring. |
Now I have upgraded to the latest release. mydumper v0.16.1-1, built against MySQL 8.0.36-28 with SSL support |
@davidducos |
Hi @davidducos could you please help me on this? |
Hi @test-mydumper, |
Thank you so much @davidducos |
Hi @test-mydumper, I'm still not able to reproduce your issue. I will need your logs to understand where might be the issue. |
I'm trying to use mydumper and myloader to perform a backup and restore activity of the MySQL database. Below is the use case
We have 1 database, around 2 TB, out of which 1 table is around 1.3 TB. Now I want to take a backup of a single table using the multithreads option, and I used the below query, but I don't see multiple threads at the database level when I run show processlist.
mydumper -h host_name -u username --password= password -P 3306 --tables-list=db_name.table_name -t 14 -o /path
and also below
mydumper -h host_name -u username --password= password -P 3306 --tables-list=db_name.table_name --rows=1000000 -t 14 -o /path
So how to achieve multiple threading on a single table while taking the backup and also while restoring as well?
The text was updated successfully, but these errors were encountered: