Comments on: Why does InnoDB create two indexes per foreign key? http://www.xaprb.com/blog/2006/07/27/why-does-innodb-create-two-indexes-per-foreign-key/ Stay curious! Fri, 10 May 2013 18:25:19 +0000 hourly 1 http://wordpress.org/?v=3.5.1 By: Joe Izenman http://www.xaprb.com/blog/2006/07/27/why-does-innodb-create-two-indexes-per-foreign-key/#comment-1265 Joe Izenman Fri, 28 Jul 2006 15:30:26 +0000 http://www.xaprb.com/blog/?p=204#comment-1265

By the way, I seem to remember seeing some comments in the InnoDB source code that say indexes are not created automatically, but I can’t find them now. In any case, if this was true once, it is no longer true.

That was rectified as of MySQL 4.1.2. Any versions earlier than that (like my company, which for some reason still hasn’t escaped 4.0) do require manual indexing prior to creation of a reference.

]]>