I have a table like:
create table registrations( id int not null auto_increment primary key, name varchar(50), mobile_number varchar(13)) engine=innodb partit
If you want to rearrange the data while keeping the partitions, you can take a look at REORGANIZE PARTITION and COALESCE PARTITION clauses of ALTER TABLE command. http://dev.mysql.com/doc/refman/5.1/en/alter-table.html