All pages
Powered by GitBook
1 of 5

Loading...

Loading...

Loading...

Loading...

Loading...

Information Schema XTRADB_INTERNAL_HASH_TABLES Table

The XTRADB_INTERNAL_HASH_TABLES table provides memory usage statistics for internal hash tables used by the XtraDB/InnoDB storage engine.

The Information Schema XTRADB_INTERNAL_HASH_TABLES table contains InnoDB/XtraDB hash table memory usage information.

The PROCESS privilege is required to view the table.

It has the following columns:

Column
Description

INTERNAL_HASH_TABLE_NAME

Hash table name

Example

This page is licensed: CC BY-SA / Gnu FDL

TOTAL_MEMORY

Total memory

CONSTANT_MEMORY

Constant memory

VARIABLE_MEMORY

Variable memory

SELECT * FROM information_schema.XTRADB_INTERNAL_HASH_TABLES;
+--------------------------------+--------------+-----------------+-----------------+
| INTERNAL_HASH_TABLE_NAME       | TOTAL_MEMORY | CONSTANT_MEMORY | VARIABLE_MEMORY |
+--------------------------------+--------------+-----------------+-----------------+
| Adaptive hash index            |      2217568 |         2213368 |            4200 |
| Page hash (buffer pool 0 only) |       139112 |          139112 |               0 |
| Dictionary Cache               |       613423 |          554768 |           58655 |
| File system                    |       816368 |          812272 |            4096 |
| Lock System                    |       332872 |          332872 |               0 |
| Recovery System                |            0 |               0 |               0 |
+--------------------------------+--------------+-----------------+-----------------+

Information Schema XtraDB Tables

These system tables provide metadata about XtraDB tables, including their storage, statistics, and other properties for advanced analysis and management.

Information Schema XTRADB_RSEG Table

The XTRADB_RSEG table contains detailed information about the rollback segments used by XtraDB for undo logging and MVCC.

The Information Schema XTRADB_RSEG table contains information about the XtraDB rollback segments.

The PROCESS privilege is required to view the table.

It has the following columns:

Column
Description

rseg_id

Rollback segment id.

space_id

The number of records will match the value set in the variable (by default 128).

This page is licensed: CC BY-SA / Gnu FDL

Information Schema CHANGED_PAGE_BITMAPS Table

The XTRADB_INTERNAL_HASH_TABLES table provides memory usage statistics for internal hash tables used by the XtraDB/InnoDB storage engine.

The CHANGED_PAGE_BITMAPS table is a dummy table added to with reset_table callback to allow FLUSH NO_WRITE_TO_BINLOG CHANGED_PAGE_BITMAPS to be called from innobackupex. It contains only one column, dummy.

For more information, see .

The PROCESS is required to view the table.

This page is licensed: CC BY-SA / Gnu FDL

Space where the segment is placed.

zip_size

Size in bytes of the compressed page size, or zero if uncompressed.

page_no

Page number of the segment header.

max_size

Maximum size in pages.

curr_size

Current size in pages.

innodb_undo_logs
Information Schema
XtraDB
MDEV-7472
privilege

Information Schema XTRADB_READ_VIEW Table

The XTRADB_READ_VIEW table displays the current MVCC read views, showing which transactions are visible to active queries.

The Information Schema XTRADB_READ_VIEW table contains information about the oldest active transaction in the system.

The PROCESS privilege is required to view the table.

It has the following columns:

Column
Description

READ_VIEW_UNDO_NUMBER

READ_VIEW_LOW_LIMIT_TRX_NUMBER

This page is licensed: CC BY-SA / Gnu FDL

Highest transaction number at the time the view was created.

READ_VIEW_UPPER_LIMIT_TRX_ID

Highest transaction ID at the time the view was created. Should not see newer transactions with IDs equal to or greater than the value.

READ_VIEW_LOW_LIMIT_TRX_ID

Latest committed transaction ID at the time the oldest view was created. Should see all transactions with IDs equal to or less than the value.