- October 30, 2007 5:03 PM
http://dev.mysql.com/doc/refman/5.1/en/partitioning-limitations.html
#Foreign keys. Partitioned tables do not support foreign keys. This means that:
1.
Definitions of tables employing user-defined partitioning may not contain foreign key references to other tables.
2.No table definition may contain a foreign key reference to a partitioned table.
The scope of these restrictions includes tables that use the InnoDB storage engine.
InnoDBでPartitionする意味→
今までは大量のデータを、巨大なテーブルから削除する際に、セカンダリインデックスがバッファプールにフィットし無い場合に非常に遅くなっていたが、パーティショニングで解決する。
MyISAMと同じくPARTITION BYが使える。