tags:

views:

83

answers:

2

Is there any migration procedures or tools to migrate a Database (Liferay database to be exact) from InnoDB to PBXT?

A: 

what's wrong with just doing an ALTER TABLE? you might have to remove the foreign keys, change all of the tables, and add foreign keys back.

longneck
A: 

Run

ALTER TABLE my_table_name ENGINE=PBXT;

for each of your tables. If you have lots of tables, take a look at Maatkit as a possible automation solution. With it, you'd do something like:

mk-find <db_name> --engine InnoDB --exec "ALTER TABLE %D.%N ENGINE=PBXT" --print
ChssPly76