use partition as chunks
Bug #1262706 reported by
Andreas Piesk
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL Data Dumper |
New
|
Undecided
|
Unassigned |
Bug Description
this is not a bug, more an enhancement idea and it's not fully tested
i have some big partitioned tables without any indexes useable by the chunk logic (indexed field is non-numeric).
The patch is rather large, so handle with care.
i had to change the server detection code because SELECT FROM TABLE PARTITION(X) is available in 5.6.2+ only and detect_server() doesn't fetch the version number.
Maybe the use of partitions vs. indexes should be controlled by some options but i think, if a table is partitioned, mydumper should use partitions as chunks.
To post a comment you must log in.