Adding indexes to foreign keys