20.4. The INFORMATION_SCHEMA STATISTICS Table

MySQL 5.0

20.4. The INFORMATION_SCHEMA STATISTICS Table

The table provides information about table indexes.

Name Name Remarks
 
  = Database
 
 
  = Database
 
 
 
 
 
MySQL extension
MySQL extension
MySQL extension
MySQL extension
MySQL extension

Notes:

  • There is no standard table for indexes. The preceding list is similar to what SQL Server 2000 returns for , except that we replaced the name with and we replaced the name with .

    Clearly, the preceding table and the output from are derived from the same parent. So the correlation is already close.

The following statements are equivalent:

SELECT * FROM INFORMATION_SCHEMA.STATISTICS
  WHERE table_name = ''
  [AND table_schema = '']

SHOW INDEX
  FROM 
  [FROM ]