Information Schema INNODB_SYS_FIELDS Table
The Information Schema INNODB_SYS_FIELDS
table contains information about fields that are part of an InnoDB index.
The PROCESS
privilege is required to view the table.
It has the following columns:
Column
Description
Column
Description
INDEX_ID
Index identifier, matching the value from INNODB_SYS_INDEXES.INDEX_ID.
NAME
Field name, matching the value from INNODB_SYS_COLUMNS.NAME.
POS
Ordinal position of the field within the index, starting from 0. This is adjusted as columns are removed.
Example
SELECT * FROM information_schema.INNODB_SYS_FIELDS LIMIT 3\G
*************************** 1. row ***************************
INDEX_ID: 11
NAME: ID
POS: 0
*************************** 2. row ***************************
INDEX_ID: 12
NAME: FOR_NAME
POS: 0
*************************** 3. row ***************************
INDEX_ID: 13
NAME: REF_NAME
POS: 0
3 rows in set (0.00 sec)
This page is licensed: CC BY-SA / Gnu FDL
PreviousInformation Schema INNODB_SYS_DATAFILES TableNextInformation Schema INNODB_SYS_FOREIGN Table
Last updated
Was this helpful?