Open ssxlulu opened 5 years ago
Great! Here is some test scripts for shrading-scaling sharding-scaling-test, I think is useful for you.
@avalon566 I am being testing.And I found the speed is too slow.I migrate one database with one table with 10,000 thousands data items to another database. And only 11w data items have been migrated after 1 hour. The table has no primary key and no indexes.
Tuning performance work will start after the feature and code is stable and no serious bugs.
@ssxlulu I've fixed a bug, you can test the speed again.
@avalon566 I found it is too slow to use... It takes me about 3d 17h to migrate about 960w data items, and these data's size only less than 4GB.
Do you pull the newest code? I test with ssd disk, 100w data cost 10 minute.
Do you pull the newest code? I test with ssd disk, 100w data cost 10 minute.
I use the Last Saturday's code, and the code may not change a lot after that?
Yes, you can checkout this commit 13b1570, and test it.
Following is the test figure.
And the following is the statistics of HOST B:
In conclusion, The disk I/O is idle, and the network traffic is idle too. I want to increse the batch size of data items it migrates each time, but i can not find the parameter.We may make it can be configured.
Great! I will finish this feature.
And Welcome to contribute this feature.
I am doing a simple test about the sharding-scaling and I will write a test document after the test.