I was again reminded why setting SQL_MODE is so important in any new MySQL environment. While performing benchmark tests on parallel backup features with a common InnoDB tablespace and per file tablespace, I inadvertently missed an important step in the data migration. The result was the subsequent test that performed data population worked without any issues however there was no data in any InnoDB tables.
These are the steps used in the migration of InnoDB tables from a common tablespace model to a per-table tablespace model.
- Dump all InnoDB tables
- Drop all InnoDB tables
- Shutdown MySQL
- Change the my.cnf to include innodb-file-per-table
- Remove the InnoDB ibdata1 tablespace file
- Remove the InnoDB transactional log files
- Start MySQL
- Verify the error log
- Create and load new InnoDB tables
However, step 6 was not …
[Read more]