Skip to content

Table indexes

Physical indexes on the compatibility tables, including the unique indexes that enforce their primary keys.

Physical indexes on the compatibility tables, including the unique indexes that enforce their primary keys.

Primary keys

SignaturePurposeSource definition
mys_informa_schema.base_variables_pkey ON mys_informa_schema.base_variables (variable_name)Backs the primary key.Primary key
performance_schema.cond_instances_pkey ON performance_schema.cond_instances (object_instance_begin)Backs the primary key.Primary key
performance_schema.data_locks_pkey ON performance_schema.data_locks (engine_lock_id, engine)Backs the primary key.Primary key
performance_schema.error_log_pkey ON performance_schema.error_log (logged)Backs the primary key.Primary key
performance_schema.events_stages_current_pkey ON performance_schema.events_stages_current (thread_id, event_id)Backs the primary key.Primary key
performance_schema.events_stages_history_pkey ON performance_schema.events_stages_history (thread_id, event_id)Backs the primary key.Primary key
performance_schema.events_stages_summary_by_thread_by_event_name_pkey ON performance_schema.events_stages_summary_by_thread_by_event_name (thread_id, event_name)Backs the primary key.Primary key
performance_schema.events_stages_summary_global_by_event_name_pkey ON performance_schema.events_stages_summary_global_by_event_name (event_name)Backs the primary key.Primary key
performance_schema.events_statements_current_pkey ON performance_schema.events_statements_current (thread_id, event_id)Backs the primary key.Primary key
performance_schema.events_statements_histogram_global_pkey ON performance_schema.events_statements_histogram_global (bucket_number)Backs the primary key.Primary key
performance_schema.events_statements_history_pkey ON performance_schema.events_statements_history (thread_id, event_id)Backs the primary key.Primary key
performance_schema.events_statements_summary_by_program_pkey ON performance_schema.events_statements_summary_by_program (object_type, object_schema, object_name)Backs the primary key.Primary key
performance_schema.events_statements_summary_by_thread_by_event_name_pkey ON performance_schema.events_statements_summary_by_thread_by_event_name (thread_id, event_name)Backs the primary key.Primary key
performance_schema.events_statements_summary_global_by_event_name_pkey ON performance_schema.events_statements_summary_global_by_event_name (event_name)Backs the primary key.Primary key
performance_schema.events_transactions_current_pkey ON performance_schema.events_transactions_current (thread_id, event_id)Backs the primary key.Primary key
performance_schema.events_transactions_history_pkey ON performance_schema.events_transactions_history (thread_id, event_id)Backs the primary key.Primary key
performance_schema.events_transactions_summary_by_thread_by_event_name_pkey ON performance_schema.events_transactions_summary_by_thread_by_event_name (thread_id, event_name)Backs the primary key.Primary key
performance_schema.events_transactions_summary_global_by_event_name_pkey ON performance_schema.events_transactions_summary_global_by_event_name (event_name)Backs the primary key.Primary key
performance_schema.events_waits_current_pkey ON performance_schema.events_waits_current (thread_id, event_id)Backs the primary key.Primary key
performance_schema.events_waits_history_pkey ON performance_schema.events_waits_history (thread_id, event_id)Backs the primary key.Primary key
performance_schema.events_waits_summary_by_instance_pkey ON performance_schema.events_waits_summary_by_instance (object_instance_begin)Backs the primary key.Primary key
performance_schema.events_waits_summary_by_thread_by_event_name_pkey ON performance_schema.events_waits_summary_by_thread_by_event_name (thread_id, event_name)Backs the primary key.Primary key
performance_schema.events_waits_summary_global_by_event_name_pkey ON performance_schema.events_waits_summary_global_by_event_name (event_name)Backs the primary key.Primary key
performance_schema.file_instances_pkey ON performance_schema.file_instances (file_name)Backs the primary key.Primary key
performance_schema.file_summary_by_event_name_pkey ON performance_schema.file_summary_by_event_name (event_name)Backs the primary key.Primary key
performance_schema.file_summary_by_instance_pkey ON performance_schema.file_summary_by_instance (object_instance_begin)Backs the primary key.Primary key
performance_schema.global_status_pkey ON performance_schema.global_status (variable_name)Backs the primary key.Primary key
performance_schema.global_variables_pkey ON performance_schema.global_variables (variable_name)Backs the primary key.Primary key
performance_schema.host_cache_pkey ON performance_schema.host_cache (ip)Backs the primary key.Primary key
performance_schema.memory_summary_by_thread_by_event_name_pkey ON performance_schema.memory_summary_by_thread_by_event_name (thread_id, event_name)Backs the primary key.Primary key
performance_schema.memory_summary_global_by_event_name_pkey ON performance_schema.memory_summary_global_by_event_name (event_name)Backs the primary key.Primary key
performance_schema.metadata_locks_pkey ON performance_schema.metadata_locks (object_instance_begin)Backs the primary key.Primary key
performance_schema.mutex_instances_pkey ON performance_schema.mutex_instances (object_instance_begin)Backs the primary key.Primary key
performance_schema.persisted_variables_pkey ON performance_schema.persisted_variables (variable_name)Backs the primary key.Primary key
performance_schema.prepared_statements_instances_pkey ON performance_schema.prepared_statements_instances (object_instance_begin)Backs the primary key.Primary key
performance_schema.processlist_pkey ON performance_schema.processlist (id)Backs the primary key.Primary key
performance_schema.replication_applier_configuration_pkey ON performance_schema.replication_applier_configuration (channel_name)Backs the primary key.Primary key
performance_schema.replication_applier_status_by_coordinator_pkey ON performance_schema.replication_applier_status_by_coordinator (channel_name)Backs the primary key.Primary key
performance_schema.replication_applier_status_by_worker_pkey ON performance_schema.replication_applier_status_by_worker (channel_name, worker_id)Backs the primary key.Primary key
performance_schema.replication_applier_status_pkey ON performance_schema.replication_applier_status (channel_name)Backs the primary key.Primary key
performance_schema.replication_connection_configuration_pkey ON performance_schema.replication_connection_configuration (channel_name)Backs the primary key.Primary key
performance_schema.replication_connection_status_pkey ON performance_schema.replication_connection_status (channel_name)Backs the primary key.Primary key
performance_schema.rwlock_instances_pkey ON performance_schema.rwlock_instances (object_instance_begin)Backs the primary key.Primary key
performance_schema.session_account_connect_attrs_pkey ON performance_schema.session_account_connect_attrs (processlist_id, attr_name)Backs the primary key.Primary key
performance_schema.session_connect_attrs_pkey ON performance_schema.session_connect_attrs (processlist_id, attr_name)Backs the primary key.Primary key
performance_schema.session_status_pkey ON performance_schema.session_status (variable_name)Backs the primary key.Primary key
performance_schema.session_variables_pkey ON performance_schema.session_variables (variable_name)Backs the primary key.Primary key
performance_schema.setup_consumers_pkey ON performance_schema.setup_consumers (name)Backs the primary key.Primary key
performance_schema.setup_instruments_pkey ON performance_schema.setup_instruments (name)Backs the primary key.Primary key
performance_schema.setup_threads_pkey ON performance_schema.setup_threads (name)Backs the primary key.Primary key
performance_schema.socket_instances_pkey ON performance_schema.socket_instances (object_instance_begin)Backs the primary key.Primary key
performance_schema.socket_summary_by_event_name_pkey ON performance_schema.socket_summary_by_event_name (event_name)Backs the primary key.Primary key
performance_schema.socket_summary_by_instance_pkey ON performance_schema.socket_summary_by_instance (object_instance_begin)Backs the primary key.Primary key
performance_schema.status_by_thread_pkey ON performance_schema.status_by_thread (thread_id, variable_name)Backs the primary key.Primary key
performance_schema.table_handles_pkey ON performance_schema.table_handles (object_instance_begin)Backs the primary key.Primary key
performance_schema.threads_pkey ON performance_schema.threads (thread_id)Backs the primary key.Primary key
performance_schema.user_defined_functions_pkey ON performance_schema.user_defined_functions (udf_name)Backs the primary key.Primary key
performance_schema.variables_by_thread_pkey ON performance_schema.variables_by_thread (thread_id, variable_name)Backs the primary key.Primary key

Secondary indexes

SignaturePurposeSource definition
performance_schema.blocking_engine_lock_id ON performance_schema.data_lock_waits (blocking_engine_lock_id, engine)Indexes lookups by these columns.SQL
performance_schema.blocking_engine_transaction_id ON performance_schema.data_lock_waits (blocking_engine_transaction_id, engine)Indexes lookups by these columns.SQL
performance_schema.blocking_thread_id ON performance_schema.data_lock_waits (blocking_thread_id, blocking_event_id)Indexes lookups by these columns.SQL
performance_schema.engine_transaction_id ON performance_schema.data_locks (engine_transaction_id, engine)Indexes lookups by these columns.SQL
performance_schema.error_code ON performance_schema.error_log (error_code)Indexes lookups by these columns.SQL
performance_schema.error_number ON performance_schema.events_errors_summary_global_by_error (error_number)Enforces uniqueness of the indexed columns.SQL
performance_schema.event_name ON performance_schema.events_waits_summary_by_instance (event_name)Indexes lookups by these columns.SQL
performance_schema.events_transactions_summary_by_host_by_even_host_event_name_idx ON performance_schema.events_transactions_summary_by_host_by_event_name (host, event_name)Enforces uniqueness of the indexed columns.SQL
performance_schema.events_waits_summary_by_host_by_event_name_host ON performance_schema.events_waits_summary_by_host_by_event_name (host, event_name)Enforces uniqueness of the indexed columns.SQL
performance_schema.file_instances_event_name ON performance_schema.file_instances (event_name)Indexes lookups by these columns.SQL
performance_schema.file_name ON performance_schema.file_summary_by_instance (file_name)Indexes lookups by these columns.SQL
performance_schema.file_summary_by_instance_event_name ON performance_schema.file_summary_by_instance (event_name)Indexes lookups by these columns.SQL
performance_schema.host ON performance_schema.events_errors_summary_by_host_by_error (host, error_number)Enforces uniqueness of the indexed columns.SQL
performance_schema.host_cache_host ON performance_schema.host_cache (host)Indexes lookups by these columns.SQL
performance_schema.host_essbben ON performance_schema.events_stages_summary_by_host_by_event_name (host, event_name)Enforces uniqueness of the indexed columns.SQL
performance_schema.host_essbhben ON performance_schema.events_statements_summary_by_host_by_event_name (host, event_name)Enforces uniqueness of the indexed columns.SQL
performance_schema.hosts_host ON performance_schema.hosts (host)Enforces uniqueness of the indexed columns.SQL
performance_schema.locked_by_thread_id ON performance_schema.mutex_instances (locked_by_thread_id)Indexes lookups by these columns.SQL
performance_schema.memory_summary_by_host_by_event_name_host ON performance_schema.memory_summary_by_host_by_event_name (host, event_name)Enforces uniqueness of the indexed columns.SQL
performance_schema.mutex_instances_name ON performance_schema.mutex_instances (name)Indexes lookups by these columns.SQL
performance_schema.name ON performance_schema.cond_instances (name)Indexes lookups by these columns.SQL
performance_schema.object ON performance_schema.objects_summary_global_by_type (object_type, object_schema, object_name)Enforces uniqueness of the indexed columns.SQL
performance_schema.object_schema ON performance_schema.data_locks (object_schema, object_name, partition_name, subpartition_name)Indexes lookups by these columns.SQL
performance_schema.object_type ON performance_schema.metadata_locks (object_type, object_schema, object_name, column_name)Indexes lookups by these columns.SQL
performance_schema.owner_object_type ON performance_schema.prepared_statements_instances (owner_object_type, owner_object_schema, owner_object_name)Indexes lookups by these columns.SQL
performance_schema.owner_thread_id ON performance_schema.metadata_locks (owner_thread_id, owner_event_id)Indexes lookups by these columns.SQL
performance_schema.prepared_statements_instances_owner_thread_id ON performance_schema.prepared_statements_instances (owner_thread_id, owner_event_id)Enforces uniqueness of the indexed columns.SQL
performance_schema.prio ON performance_schema.error_log (prio)Indexes lookups by these columns.SQL
performance_schema.replication_applier_status_by_coordinator_thread_id ON performance_schema.replication_applier_status_by_coordinator (thread_id)Indexes lookups by these columns.SQL
performance_schema.replication_applier_status_by_worker_thread_id ON performance_schema.replication_applier_status_by_worker (thread_id)Indexes lookups by these columns.SQL
performance_schema.replication_connection_status_thread_id ON performance_schema.replication_connection_status (thread_id)Indexes lookups by these columns.SQL
performance_schema.requesting_engine_lock_id ON performance_schema.data_lock_waits (requesting_engine_lock_id, engine)Indexes lookups by these columns.SQL
performance_schema.requesting_engine_transaction_id ON performance_schema.data_lock_waits (requesting_engine_transaction_id, engine)Indexes lookups by these columns.SQL
performance_schema.requesting_thread_id ON performance_schema.data_lock_waits (requesting_thread_id, requesting_event_id)Indexes lookups by these columns.SQL
performance_schema.rwlock_instances_name ON performance_schema.rwlock_instances (name)Indexes lookups by these columns.SQL
performance_schema.schema_name ON performance_schema.events_statements_histogram_by_digest (schema_name, digest, bucket_number)Enforces uniqueness of the indexed columns.SQL
performance_schema.schema_name_essbd ON performance_schema.events_statements_summary_by_digest (schema_name, digest)Enforces uniqueness of the indexed columns.SQL
performance_schema.setup_objects_object ON performance_schema.setup_objects (object_type, object_schema, object_name)Enforces uniqueness of the indexed columns.SQL
performance_schema.socket_instances_ip ON performance_schema.socket_instances (ip, port)Indexes lookups by these columns.SQL
performance_schema.socket_instances_socket_id ON performance_schema.socket_instances (socket_id)Indexes lookups by these columns.SQL
performance_schema.socket_instances_thread_id ON performance_schema.socket_instances (thread_id)Indexes lookups by these columns.SQL
performance_schema.socket_summary_by_instance_event_name ON performance_schema.socket_summary_by_instance (event_name)Indexes lookups by these columns.SQL
performance_schema.statement_id ON performance_schema.prepared_statements_instances (statement_id)Indexes lookups by these columns.SQL
performance_schema.statement_name ON performance_schema.prepared_statements_instances (statement_name)Indexes lookups by these columns.SQL
performance_schema.status_by_host_host ON performance_schema.status_by_host (host, variable_name)Enforces uniqueness of the indexed columns.SQL
performance_schema.subsystem ON performance_schema.error_log (subsystem)Indexes lookups by these columns.SQL
performance_schema.table_handles_object_type ON performance_schema.table_handles (object_type, object_schema, object_name)Indexes lookups by these columns.SQL
performance_schema.table_handles_owner_thread_id ON performance_schema.table_handles (owner_thread_id, owner_event_id)Indexes lookups by these columns.SQL
performance_schema.table_io_waits_summary_by_index_usage_object ON performance_schema.table_io_waits_summary_by_index_usage (object_type, object_schema, object_name, index_name)Enforces uniqueness of the indexed columns.SQL
performance_schema.table_io_waits_summary_by_table_object ON performance_schema.table_io_waits_summary_by_table (object_type, object_schema, object_name)Enforces uniqueness of the indexed columns.SQL
performance_schema.table_lock_waits_summary_by_table_object ON performance_schema.table_lock_waits_summary_by_table (object_type, object_schema, object_name)Enforces uniqueness of the indexed columns.SQL
performance_schema.thread_id ON performance_schema.data_locks (thread_id, event_id)Indexes lookups by these columns.SQL
performance_schema.thread_id_ ON performance_schema.error_log (thread_id)Indexes lookups by these columns.SQL
performance_schema.thread_id_eesbtbe ON performance_schema.events_errors_summary_by_thread_by_error (thread_id, error_number)Enforces uniqueness of the indexed columns.SQL
performance_schema.threads_name ON performance_schema.threads (name)Indexes lookups by these columns.SQL
performance_schema.threads_processlist_account ON performance_schema.threads (processlist_user, processlist_host)Indexes lookups by these columns.SQL
performance_schema.threads_processlist_host ON performance_schema.threads (processlist_host)Indexes lookups by these columns.SQL
performance_schema.threads_processlist_id ON performance_schema.threads (processlist_id)Indexes lookups by these columns.SQL
performance_schema.threads_resource_group ON performance_schema.threads (resource_group)Indexes lookups by these columns.SQL
performance_schema.threads_thread_os_id ON performance_schema.threads (thread_os_id)Indexes lookups by these columns.SQL
performance_schema.write_locked_by_thread_id ON performance_schema.rwlock_instances (write_locked_by_thread_id)Indexes lookups by these columns.SQL