Rechercher dans le manuel MySQL
25.39.24 The INFORMATION_SCHEMA INNODB_TABLES Table
The INNODB_TABLES table provides
metadata about InnoDB tables.
For related usage information and examples, see Section 15.14.3, “InnoDB INFORMATION_SCHEMA Schema Object Tables”.
The INNODB_TABLES table has these
columns:
TABLE_IDAn identifier for the
InnoDBtable. This value is unique across all databases in the instance.NAMEThe name of the table, preceded by the schema (database) name where appropriate (for example,
test/t1). Names of databases and user tables are in the same case as they were originally defined, possibly influenced by thelower_case_table_namessetting.FLAGA numeric value that represents bit-level information about table format and storage characteristics.
N_COLSThe number of columns in the table. The number reported includes three hidden columns that are created by
InnoDB(DB_ROW_ID,DB_TRX_ID, andDB_ROLL_PTR). The number reported also includes virtual generated columns, if present.SPACEAn identifier for the tablespace where the table resides. 0 means the
InnoDBsystem tablespace. Any other number represents either a file-per-table tablespace or a general tablespace. This identifier stays the same after aTRUNCATE TABLEstatement. For file-per-table tablespaces, this identifier is unique for tables across all databases in the instance.ROW_FORMATThe table's row format (
Compact,Redundant,Dynamic, orCompressed).ZIP_PAGE_SIZEThe zip page size. Applies only to tables with a row format of
Compressed.SPACE_TYPEThe type of tablespace to which the table belongs. Possible values include
Systemfor the system tablespace,Generalfor general tablespaces, andSinglefor file-per-table tablespaces. Tables assigned to the system tablespace usingCREATE TABLEorALTER TABLETABLESPACE=innodb_systemhave aSPACE_TYPEofGeneral. For more information, seeCREATE TABLESPACE.INSTANT_COLSThe number of columns in the table prior to adding the first instant column using
ALTER TABLE ... ADD COLUMNwithALGORITHM=INSTANT.
Example
- *************************** 1. row ***************************
- TABLE_ID: 214
- NAME: test/t1
- FLAG: 129
- N_COLS: 4
- SPACE: 233
- ROW_FORMAT: Compact
- ZIP_PAGE_SIZE: 0
- SPACE_TYPE: General
- INSTANT_COLS: 0
Notes
You must have the
PROCESSprivilege to query this table.Use the
INFORMATION_SCHEMACOLUMNStable or theSHOW COLUMNSstatement to view additional information about the columns of this table, including data types and default values.
Nederlandse vertaling
U hebt gevraagd om deze site in het Nederlands te bezoeken. Voor nu wordt alleen de interface vertaald, maar nog niet alle inhoud.Als je me wilt helpen met vertalingen, is je bijdrage welkom. Het enige dat u hoeft te doen, is u op de site registreren en mij een bericht sturen waarin u wordt gevraagd om u toe te voegen aan de groep vertalers, zodat u de gewenste pagina's kunt vertalen. Een link onderaan elke vertaalde pagina geeft aan dat u de vertaler bent en heeft een link naar uw profiel.
Bij voorbaat dank.
Document heeft de 26/06/2006 gemaakt, de laatste keer de 26/10/2018 gewijzigd
Bron van het afgedrukte document:https://www.gaudry.be/nl/mysql-rf-innodb-tables-table.html
De infobrol is een persoonlijke site waarvan de inhoud uitsluitend mijn verantwoordelijkheid is. De tekst is beschikbaar onder CreativeCommons-licentie (BY-NC-SA). Meer info op de gebruiksvoorwaarden en de auteur.
Referenties
Deze verwijzingen en links verwijzen naar documenten die geraadpleegd zijn tijdens het schrijven van deze pagina, of die aanvullende informatie kunnen geven, maar de auteurs van deze bronnen kunnen niet verantwoordelijk worden gehouden voor de inhoud van deze pagina.
De auteur van deze site is als enige verantwoordelijk voor de manier waarop de verschillende concepten, en de vrijheden die met de referentiewerken worden genomen, hier worden gepresenteerd. Vergeet niet dat u meerdere broninformatie moet doorgeven om het risico op fouten te verkleinen.