PDF (A4) - 43.4Mb
Man Pages (TGZ) - 297.3Kb
Man Pages (Zip) - 402.5Kb
Info (Gzip) - 4.3Mb
Info (Zip) - 4.3Mb
MySQL Globalization
MySQL Information Schema
MySQL Installation Guide
Security in MySQL
Starting and Stopping MySQL
MySQL and Linux/Unix
MySQL and Windows
MySQL and macOS
MySQL and Solaris
Building MySQL from Source
MySQL Restrictions and Limitations
MySQL Partitioning
MySQL Tutorial
MySQL Performance Schema
MySQL Replication
Using the MySQL Yum Repository
MySQL NDB Cluster 8.0
TheINNODB_TEMP_TABLE_INFO table provides information about user-createdInnoDB temporary tables that are active in anInnoDB instance. It does not provide information about internalInnoDB temporary tables used by the optimizer. TheINNODB_TEMP_TABLE_INFO table is created when first queried, exists only in memory, and is not persisted to disk.
For usage information and examples, seeSection 17.15.7, “InnoDB INFORMATION_SCHEMA Temporary Table Info Table”.
TheINNODB_TEMP_TABLE_INFO table has these columns:
TABLE_IDThe table ID of the temporary table.
NAMEThe name of the temporary table.
N_COLSThe number of columns in the temporary table. The number includes three hidden columns created by
InnoDB(DB_ROW_ID,DB_TRX_ID, andDB_ROLL_PTR).SPACEThe ID of the temporary tablespace where the temporary table resides.
Example
mysql> CREATE TEMPORARY TABLE t1 (c1 INT PRIMARY KEY) ENGINE=INNODB;mysql> SELECT * FROM INFORMATION_SCHEMA.INNODB_TEMP_TABLE_INFO\G*************************** 1. row ***************************TABLE_ID: 97 NAME: #sql8c88_43_0 N_COLS: 4 SPACE: 76Notes
This table is useful primarily for expert-level monitoring.
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.
PDF (A4) - 43.4Mb
Man Pages (TGZ) - 297.3Kb
Man Pages (Zip) - 402.5Kb
Info (Gzip) - 4.3Mb
Info (Zip) - 4.3Mb
MySQL Globalization
MySQL Information Schema
MySQL Installation Guide
Security in MySQL
Starting and Stopping MySQL
MySQL and Linux/Unix
MySQL and Windows
MySQL and macOS
MySQL and Solaris
Building MySQL from Source
MySQL Restrictions and Limitations
MySQL Partitioning
MySQL Tutorial
MySQL Performance Schema
MySQL Replication
Using the MySQL Yum Repository
MySQL NDB Cluster 8.0