MySQL Information Schema#

The MySQL information_schema database provides access to a variety of database metadata useful for inspecting your database and also used by database tooling. Dolt provides a subset of the data available in information_schema, as described below. In general, all tables from MySQL’s information_schema exist, with the correct schema, but not all data is populated. If you need support for information_schema metadata that is available in MySQL, but not yet available in Dolt, please open a GitHub issue to let us know what you need.

Core Metadata Tables#

TableSupportedNotes and limitations
ADMINISTRABLE_ROLE_AUTHORIZATIONS
APPLICABLE_ROLES
CHARACTER_SETS
CHECK_CONSTRAINTS
COLLATION_CHARACTER_SET_APPLICABILITY
COLLATIONS
COLUMN_PRIVILEGES🟠Dolt does not mysql.columns_priv table yet.
COLUMN_STATISTICS🟠️histogram column shows only buckets key values.
COLUMNS🟠️View columns are not included (GitHub Issue).
COLUMNS_EXTENSIONSReserved in MySQL for future use.
ENABLED_ROLES
ENGINESOnly the InnoDB engine is supported.
EVENTSNot supported in Dolt.
FILESNot supported in Dolt.
KEY_COLUMN_USAGE
KEYWORDS
ndb_transid_mysql_connection_mapNot supported in Dolt.
OPTIMIZER_TRACENot supported in Dolt.
PARAMETERSDolt does not support stored functions yet.
PARTITIONSNot supported in Dolt.
PLUGINS❌️Not supported in Dolt.
PROCESSLIST🟠️status column missing some cases.
PROFILINGNot supported in Dolt.
REFERENTIAL_CONSTRAINTS
RESOURCE_GROUPSNot supported in Dolt.
ROLE_COLUMN_GRANTS🟠Dolt does not mysql.columns_priv table yet.
ROLE_ROUTINE_GRANTS
ROLE_TABLE_GRANTS
ROUTINES🟠️Dolt does not support stored functions yet.
SCHEMA_PRIVILEGES
SCHEMATA
SCHEMATA_EXTENSIONS
ST_GEOMETRY_COLUMNS
ST_SPATIAL_REFERENCE_SYSTEMS
ST_UNITS_OF_MEASURE
STATISTICS🟠cardinality column is not populated (GitHub Issue).
TABLE_CONSTRAINTS
TABLE_CONSTRAINTS_EXTENSIONS
TABLE_PRIVILEGES
TABLES🟠️Some columns are not populated (GitHub Issue).
TABLES_EXTENSIONSReserved in MySQL for future use.
TABLESPACES_EXTENSIONSReserved in MySQL for future use.
TRIGGERS
USER_ATTRIBUTES🟠attributes column is not populated (GitHub Issue).
USER_PRIVILEGES
VIEW_ROUTINE_USAGE
VIEW_TABLE_USAGE
VIEWS🟠view_definition does not match MySQL (GitHub Issue).

InnoDB Tables#

MySQL’s information_schema also provides tables specific to the use of the InnoDB storage engine. These tables are provided in Dolt to avoid issues with MySQL tools that read from these tables, however since Dolt uses its own storage engine, no data is populated in these tables.

TableSupportedNotes and limitations
INNODB_BUFFER_PAGE
INNODB_BUFFER_PAGE_LRU
INNODB_BUFFER_POOL_STATS
INNODB_CACHED_INDEXES
INNODB_CMP
INNODB_CMP_PER_INDEX
INNODB_CMP_PER_INDEX_RESET
INNODB_CMP_RESET
INNODB_CMPMEM
INNODB_CMPMEM_RESET
INNODB_COLUMNS
INNODB_DATAFILES
INNODB_FIELDS
INNODB_FOREIGN
INNODB_FOREIGN_COLS
INNODB_FT_BEING_DELETED
INNODB_FT_CONFIG
INNODB_FT_DEFAULT_STOPWORD
INNODB_FT_DELETED
INNODB_FT_INDEX_CACHE
INNODB_FT_INDEX_TABLE
INNODB_INDEXES
INNODB_METRICS
INNODB_SESSION_TEMP_TABLESPACES
INNODB_TABLES
INNODB_TABLESPACES
INNODB_TABLESPACES_BRIEF
INNODB_TABLESTATS
INNODB_TEMP_TABLE_INFO
INNODB_TRX
INNODB_VIRTUAL