-
Notifications
You must be signed in to change notification settings - Fork 66
mydump,restore: Make 1 Chunk = 1 File and Use Coarse Row ID Assignment #109
Conversation
Hi contributor, thanks for your PR. This patch needs to be approved by someone of admins. They should reply with "/ok-to-test" to accept this PR for running test automatically. |
/run-all-tests |
PTAL @csuzhangxc @GregoryIan @lonng |
Awesome 👍 @kennytm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Now I think the speed can be optimized, I'm not sure whether it will interfere with the optimization |
A few tests need to relaxed due to the coarser ID assignment
a9e7e1a
to
82d9e15
Compare
// // check - rows num | ||
// var tolRows int64 = 0 | ||
// for _, region := range regions { | ||
// tolRows += region.Rows() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need to update the name of Rows
? because it is not real rows count now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we would remove useless code later, all code about chunk are useless
LGTM |
/run-all-tests |
What problem does this PR solve?
Implement RFC 2, reduces the 300G import time (which has a slow disk) from ~3¼ hours to ~2⅗ hours, improving the speed by about 18%.
What is changed and how it works?
As explained in the RFC,
Check List
Tests
Code changes
Side effects
Related changes
tidb-ansible
repository