All pages
Powered by GitBook
1 of 14

Information Schema MyRocks Tables

Query INFORMATION_SCHEMA.MYROCKS_TABLES. These system tables provide metadata about MyRocks tables, including their storage, compression, and other properties for performance analysis.

Information Schema ROCKSDB_CF_OPTIONS Table

The Information Schema ROCKSDB_CF_OPTIONS table is included as part of the MyRocks storage engine, and contains infomation about MyRocks column families.

The PROCESS privilege is required to view the table.

It contains the following columns:

Column
Description

CF_NAME

Column family name.

OPTION_TYPE

VALUE

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

Information Schema ROCKSDB_CFSTATS Table

The Information Schema ROCKSDB_CFSTATS table is included as part of the MyRocks storage engine.

The PROCESS privilege is required to view the table.

It contains the following columns:

Column
Description

CF_NAME

STAT_TYPE

VALUE

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

Information Schema ROCKSDB_COMPACTION_STATS Table

The Information Schema ROCKSDB_COMPACTION_STATS table is included as part of the MyRocks storage engine.

The PROCESS privilege is required to view the table.

It contains the following columns:

Column
Description

CF_NAME

LEVEL

TYPE

VALUE

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

Information Schema ROCKSDB_DBSTATS Table

The Information Schema ROCKSDB_DBSTATS table is included as part of the MyRocks storage engine.

The PROCESS privilege is required to view the table.

It contains the following columns:

Column
Description

STAT_TYPE

VALUE

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

Information Schema ROCKSDB_DDL Table

The Information Schema ROCKSDB_DDL table is included as part of the MyRocks storage engine.

The PROCESS privilege is required to view the table.

It contains the following columns:

Column
Description

TABLE_SCHEMA

TABLE_NAME

PARTITION_NAME

INDEX_NAME

COLUMN_FAMILY

INDEX_NUMBER

INDEX_TYPE

KV_FORMAT_VERSION

TTL_DURATION

INDEX_FLAGS

CF

AUTO_INCREMENT

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

Information Schema ROCKSDB_DEADLOCK Table

The Information Schema ROCKSDB_DEADLOCK table is included as part of the MyRocks storage engine.

The PROCESS privilege is required to view the table.

It contains the following columns:

Column
Description

DEADLOCK_ID

TIMESTAMP

TRANSACTION_ID

CF_NAME

WAITING_KEY

LOCK_TYPE

INDEX_NAME

TABLE_NAME

ROLLED_BACK

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

Information Schema ROCKSDB_GLOBAL_INFO Table

The Information Schema ROCKSDB_GLOBAL_INFO table is included as part of the MyRocks storage engine.

The PROCESS privilege is required to view the table.

It contains the following columns:

Column
Description

TYPE

NAME

VALUE

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

Information Schema ROCKSDB_INDEX_FILE_MAP Table

The Information Schema ROCKSDB_INDEX_FILE_MAP table is included as part of the MyRocks storage engine.

The PROCESS privilege is required to view the table.

It contains the following columns:

Column
Description

COLUMN_FAMILY

INDEX_NUMBER

SST_NAME

NUM_ROWS

DATA_SIZE

ENTRY_DELETES

ENTRY_SINGLEDELETES

ENTRY_MERGES

ENTRY_OTHERS

DISTINCT_KEYS_PREFIX

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

Information Schema ROCKSDB_LOCKS Table

The Information Schema ROCKSDB_LOCKS table is included as part of the MyRocks storage engine.

The PROCESS privilege is required to view the table.

It contains the following columns:

Column
Description

COLUMN_FAMILY_ID

TRANSACTION_ID

KEY

MODE

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

Information Schema ROCKSDB_PERF_CONTEXT Table

The Information Schema ROCKSDB_PERF_CONTEXT table is included as part of the MyRocks storage engine and includes per-table/partition counters .

The PROCESS privilege is required to view the table.

It contains the following columns:

Column
Description

TABLE_SCHEMA

TABLE_NAME

PARTITION_NAME

STAT_TYPE

VALUE

Note: for multi-table queries, all counter increments are "billed" to the first table in the query:1018

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

Information Schema ROCKSDB_PERF_CONTEXT_GLOBAL Table

The Information Schema ROCKSDB_PERF_CONTEXT_GLOBAL table is included as part of the MyRocks storage engine and includes global counter information.

The PROCESS privilege is required to view the table.

It contains the following columns:

Column
Description

STAT_TYPE

VALUE

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

Information Schema ROCKSDB_SST_PROPS Table

The Information Schema ROCKSDB_SST_PROPS table is included as part of the MyRocks storage engine.

The PROCESS privilege is required to view the table.

It contains the following columns:

Column
Description

SST_NAME

COLUMN_FAMILY

DATA_BLOCKS

ENTRIES

RAW_KEY_SIZE

RAW_VALUE_SIZE

DATA_BLOCK_SIZE

INDEX_BLOCK_SIZE

INDEX_PARTITIONS

TOP_LEVEL_INDEX_SIZE

FILTER_BLOCK_SIZE

COMPRESSION_ALGO

CREATION_TIME

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

Information Schema ROCKSDB_TRX Table

The Information Schema ROCKSDB_TRX table is included as part of the MyRocks storage engine.

The PROCESS privilege is required to view the table.

It contains the following columns:

Column
Description

TRANSACTION_ID

STATE

NAME

WRITE_COUNT

LOCK_COUNT

TIMEOUT_SEC

WAITING_KEY

WAITING_COLUMN_FAMILY_ID

IS_REPLICATION

SKIP_TRX_API

READ_ONLY

HAS_DEADLOCK_DETECTION

NUM_ONGOING_BULKLOAD

THREAD_ID

QUERY

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