use partition as chunks

Bug #1262706 reported by Andreas Piesk
16
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.

Revision history for this message
Andreas Piesk (a-piesk) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.