+1-208-473-2904 (USA - Sales)
0-800-051-8984 (UK - Sales)
0-800-181-0665 (GER - Sales)
+1-925-271-5054 (Training)
Only the temporary tables that were explicitly created with CREATE TEMPORARY TABLE or ALTER TABLE are shown, and not the ones created to process complex queries.
| Columns: |
|
|---|
This table holds information on the temporary tables existing for all connections. You don’t need the SUPER privilege to query this table.
| Columns: |
|
|---|
This table holds information on the temporary tables existing for the running connection.
The following tables provide various information about the contents of the InnoDB buffer pool.
| Columns: |
|
|---|
Example:
mysql> select * from information_schema.INNODB_BUFFER_POOL_PAGES LIMIT 20;
+-----------+----------+---------+--------------+-----------+------------+
| page_type | space_id | page_no | lru_position | fix_count | flush_type |
+-----------+----------+---------+--------------+-----------+------------+
| allocated | 0 | 7 | 3 | 0 | 2 |
| allocated | 0 | 1 | 4 | 0 | 0 |
| allocated | 0 | 3 | 5 | 0 | 0 |
| inode | 0 | 2 | 6 | 0 | 2 |
| index | 0 | 4 | 7 | 0 | 2 |
| index | 0 | 11 | 8 | 0 | 0 |
| index | 0 | 12956 | 9 | 0 | 0 |
| allocated | 0 | 5 | 10 | 0 | 2 |
| allocated | 0 | 6 | 11 | 0 | 2 |
| undo_log | 0 | 51 | 12 | 0 | 2 |
| undo_log | 0 | 52 | 13 | 0 | 2 |
| index | 0 | 8 | 14 | 0 | 0 |
| index | 0 | 288 | 15 | 0 | 0 |
| index | 0 | 290 | 16 | 0 | 2 |
| index | 0 | 304 | 17 | 0 | 0 |
| allocated | 0 | 0 | 18 | 0 | 2 |
| index | 0 | 10 | 19 | 0 | 0 |
| index | 0 | 12973 | 20 | 0 | 0 |
| index | 0 | 9 | 21 | 0 | 2 |
| index | 0 | 12 | 22 | 0 | 0 |
+-----------+----------+---------+--------------+-----------+------------+
20 rows in set (0.81 sec)
This table shows the characteristics of the allocated pages in buffer pool and current state of them.
| Columns: |
|
|---|
Example:
+----------+----------+---------+--------+-----------+--------+-------------+----------+-------+-----+--------------+-----------+------------+
| index_id | space_id | page_no | n_recs | data_size | hashed | access_time | modified | dirty | old | lru_position | fix_count | flush_type |
+----------+----------+---------+--------+-----------+--------+-------------+----------+-------+-----+--------------+-----------+------------+
| 39 | 0 | 5787 | 468 | 14976 | 1 | 2636182517 | 1 | 0 | 1 | 0 | 0 | 2 |
| 40 | 0 | 5647 | 1300 | 15600 | 1 | 2636182517 | 1 | 0 | 1 | 0 | 0 | 2 |
| 39 | 0 | 5786 | 468 | 14976 | 1 | 2636182516 | 1 | 0 | 1 | 0 | 0 | 2 |
| 40 | 0 | 6938 | 1300 | 15600 | 1 | 2636193968 | 1 | 0 | 1 | 0 | 0 | 2 |
| 39 | 0 | 5785 | 468 | 14976 | 1 | 2636182514 | 1 | 0 | 1 | 0 | 0 | 2 |
| 39 | 0 | 5784 | 468 | 14976 | 1 | 2636182512 | 1 | 0 | 1 | 0 | 0 | 2 |
| 40 | 0 | 5646 | 1300 | 15600 | 1 | 2636182511 | 1 | 0 | 1 | 0 | 0 | 2 |
| 39 | 0 | 7203 | 468 | 14976 | 1 | 2636193967 | 1 | 0 | 1 | 0 | 0 | 2 |
| 39 | 0 | 5783 | 468 | 14976 | 1 | 2636182507 | 1 | 0 | 1 | 0 | 0 | 2 |
| 39 | 0 | 5782 | 468 | 14976 | 1 | 2636182506 | 1 | 0 | 1 | 0 | 0 | 2 |
+----------+----------+---------+--------+-----------+--------+-------------+----------+-------+-----+--------------+-----------+------------+
This table shows information about the index pages located in the buffer pool.
| Columns: |
|
|---|
Example:
mysql> select * from information_schema.INNODB_BUFFER_POOL_PAGES_BLOB LIMIT 20;
+----------+---------+------------+----------+--------------+--------------+-----------+------------+
| space_id | page_no | compressed | part_len | next_page_no | lru_position | fix_count | flush_type |
+----------+---------+------------+----------+--------------+--------------+-----------+------------+
| 1748 | 111 | 0 | 10137 | 0 | 263 | 0 | 2 |
| 1748 | 307 | 0 | 5210 | 0 | 1084 | 0 | 2 |
| 1748 | 1329 | 0 | 6146 | 0 | 4244 | 0 | 2 |
| 1748 | 1330 | 0 | 11475 | 0 | 4245 | 0 | 2 |
| 1748 | 1345 | 0 | 5550 | 0 | 4247 | 0 | 2 |
| 1748 | 1346 | 0 | 7597 | 0 | 4248 | 0 | 2 |
| 1748 | 3105 | 0 | 6716 | 0 | 8919 | 0 | 2 |
| 1748 | 3213 | 0 | 8170 | 0 | 9390 | 0 | 2 |
| 1748 | 6142 | 0 | 5648 | 0 | 19638 | 0 | 2 |
| 1748 | 7387 | 0 | 10634 | 0 | 24191 | 0 | 2 |
| 1748 | 7426 | 0 | 5355 | 0 | 24194 | 0 | 2 |
| 1748 | 7489 | 0 | 16330 | 7489 | 24196 | 0 | 2 |
| 1748 | 7490 | 0 | 7126 | 0 | 24197 | 0 | 2 |
| 1748 | 7657 | 0 | 13571 | 0 | 24681 | 0 | 2 |
| 1748 | 7840 | 0 | 11208 | 0 | 25737 | 0 | 2 |
| 1748 | 9599 | 0 | 11882 | 0 | 31989 | 0 | 2 |
| 1748 | 11719 | 0 | 7367 | 0 | 40466 | 0 | 2 |
| 1748 | 12051 | 0 | 11049 | 0 | 41441 | 0 | 2 |
| 1748 | 12052 | 0 | 16330 | 12052 | 41442 | 0 | 2 |
| 1748 | 12053 | 0 | 2674 | 0 | 41443 | 0 | 2 |
+----------+---------+------------+----------+--------------+--------------+-----------+------------+
20 rows in set (0.05 sec)
This table shows information from blob pages located in buffer pool.
The purpose of this table is to report on the existence and usage of the internal undo log records. These undo records are stored in standard InnoDB pages and are used in a few ways but their main purpose is that currently executing but uncommitted user transactions can be rolled back after either a crash, fast shutdown or other recovery purpose. Each record within the table identifies an InnoDB undo segment and will refer to other INFORMATION_SCHEMA tables such as INNODB_TRX and INODB_RSEG. This table can be used to help troubleshoot large system tablespaces and identify run-away or long running transactions.
| Columns: |
|
|---|