I am running MySQL version 5.5.11, and the performance when querying the INFORMATION_SCHEMA.key_column_usage table is very poor.
I have a simple query to choose:
SELECT REFERENCED_TABLE_NAME , TABLE_NAME AS TableName , COLUMN_NAME AS ColumnName , CONSTRAINT_SCHEMA AS Db FROM INFORMATION_SCHEMA.key_column_usage
It takes an average of 8 seconds to return 400 rows. Is this a problem? If so, is there a way to improve performance (perhaps a patch?).
Mathieu
source share