Although, it's a time taking task. But, you can try the below method.

Create table with different name with same structure myisam table. Move the
content to newly created table. rename the original table to tem. Rename the
newly created table to original name. In this way you can convet all your
tables into myisam. Safely copy it to some place. Stop mysql server remove
ibdata. Place all the files and start the server.

On Tue, Oct 14, 2008 at 1:50 AM, Aaron Blew <[EMAIL PROTECTED]> wrote:

> I've run into the following scenario: we've got several database servers
> with 2+TB of data spread across several 900GB InnoDB data files.  We can
> move to innodb_file_per_table in an incremental fashion (ie ALTER TABLE
> ENGINE='InnoDB' one table at a time), however, to complete this task, we'll
> need to phase out the existing ibdata files and delete them.  Is there a
> way
> to safely delete ibdata files after the data has been removed from them
> without doing a mysqldump and re-import?  Unfortunately we can't take the
> databases down for the multiple days it would take to do a full mysqldump
> based migration.
>
> Thanks,
> -Aaron
>



-- 
Krishna Chandra Prajapati

Reply via email to