# 表索引

> 列出兼容表上的实体索引，包括主键约束使用的唯一索引。

---

LLMS 索引： [llms.txt](/zh/llms.txt)

---

列出兼容表上的实体索引，包括主键约束使用的唯一索引。

## 主键 {#primary}

| 对象签名 | 用途 | 源码定义 |
|---|---|---|
| <a id="mys-informa-schema-base-variables-pkey-be91a2ae" href="#mys-informa-schema-base-variables-pkey-be91a2ae">`mys_informa_schema.base_variables_pkey ON mys_informa_schema.base_variables (variable_name)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/70-info.sql#L824-L824) |
| <a id="performance-schema-cond-instances-pkey-48ef45cf" href="#performance-schema-cond-instances-pkey-48ef45cf">`performance_schema.cond_instances_pkey ON performance_schema.cond_instances (object_instance_begin)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L37-L37) |
| <a id="performance-schema-data-locks-pkey-2f6ebc06" href="#performance-schema-data-locks-pkey-2f6ebc06">`performance_schema.data_locks_pkey ON performance_schema.data_locks (engine_lock_id, engine)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L77-L77) |
| <a id="performance-schema-error-log-pkey-b6ccf085" href="#performance-schema-error-log-pkey-b6ccf085">`performance_schema.error_log_pkey ON performance_schema.error_log (logged)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L93-L93) |
| <a id="performance-schema-events-stages-current-pkey-4bea95f6" href="#performance-schema-events-stages-current-pkey-4bea95f6">`performance_schema.events_stages_current_pkey ON performance_schema.events_stages_current (thread_id, event_id)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L176-L176) |
| <a id="performance-schema-events-stages-history-pkey-2045cb9b" href="#performance-schema-events-stages-history-pkey-2045cb9b">`performance_schema.events_stages_history_pkey ON performance_schema.events_stages_history (thread_id, event_id)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L195-L195) |
| <a id="performance-schema-events-stages-summary-by-thread-by-event-name-pkey-1c5ef025" href="#performance-schema-events-stages-summary-by-thread-by-event-name-pkey-1c5ef025">`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)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L247-L247) |
| <a id="performance-schema-events-stages-summary-global-by-event-name-pkey-16ef325b" href="#performance-schema-events-stages-summary-global-by-event-name-pkey-16ef325b">`performance_schema.events_stages_summary_global_by_event_name_pkey ON performance_schema.events_stages_summary_global_by_event_name (event_name)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L268-L268) |
| <a id="performance-schema-events-statements-current-pkey-38936c3f" href="#performance-schema-events-statements-current-pkey-38936c3f">`performance_schema.events_statements_current_pkey ON performance_schema.events_statements_current (thread_id, event_id)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L321-L321) |
| <a id="performance-schema-events-statements-histogram-global-pkey-1a9ac6ae" href="#performance-schema-events-statements-histogram-global-pkey-1a9ac6ae">`performance_schema.events_statements_histogram_global_pkey ON performance_schema.events_statements_histogram_global (bucket_number)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L343-L343) |
| <a id="performance-schema-events-statements-history-pkey-accfef78" href="#performance-schema-events-statements-history-pkey-accfef78">`performance_schema.events_statements_history_pkey ON performance_schema.events_statements_history (thread_id, event_id)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L396-L396) |
| <a id="performance-schema-events-statements-summary-by-program-pkey-b24bbec3" href="#performance-schema-events-statements-summary-by-program-pkey-b24bbec3">`performance_schema.events_statements_summary_by_program_pkey ON performance_schema.events_statements_summary_by_program (object_type, object_schema, object_name)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L595-L595) |
| <a id="performance-schema-events-statements-summary-by-thread-by-event-name-pkey-71591ccd" href="#performance-schema-events-statements-summary-by-thread-by-event-name-pkey-71591ccd">`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)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L627-L627) |
| <a id="performance-schema-events-statements-summary-global-by-event-name-pkey-a39a336c" href="#performance-schema-events-statements-summary-global-by-event-name-pkey-a39a336c">`performance_schema.events_statements_summary_global_by_event_name_pkey ON performance_schema.events_statements_summary_global_by_event_name (event_name)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L690-L690) |
| <a id="performance-schema-events-transactions-current-pkey-740fda37" href="#performance-schema-events-transactions-current-pkey-740fda37">`performance_schema.events_transactions_current_pkey ON performance_schema.events_transactions_current (thread_id, event_id)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L727-L727) |
| <a id="performance-schema-events-transactions-history-pkey-b5560323" href="#performance-schema-events-transactions-history-pkey-b5560323">`performance_schema.events_transactions_history_pkey ON performance_schema.events_transactions_history (thread_id, event_id)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L764-L764) |
| <a id="performance-schema-events-transactions-summary-by-thread-by-event-name-pkey-9b122383" href="#performance-schema-events-transactions-summary-by-thread-by-event-name-pkey-9b122383">`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)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L864-L864) |
| <a id="performance-schema-events-transactions-summary-global-by-event-name-pkey-8e9df6f1" href="#performance-schema-events-transactions-summary-global-by-event-name-pkey-8e9df6f1">`performance_schema.events_transactions_summary_global_by_event_name_pkey ON performance_schema.events_transactions_summary_global_by_event_name (event_name)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L905-L905) |
| <a id="performance-schema-events-waits-current-pkey-f03c2e1d" href="#performance-schema-events-waits-current-pkey-f03c2e1d">`performance_schema.events_waits_current_pkey ON performance_schema.events_waits_current (thread_id, event_id)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L931-L931) |
| <a id="performance-schema-events-waits-history-pkey-55967da6" href="#performance-schema-events-waits-history-pkey-55967da6">`performance_schema.events_waits_history_pkey ON performance_schema.events_waits_history (thread_id, event_id)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L957-L957) |
| <a id="performance-schema-events-waits-summary-by-instance-pkey-707b97ed" href="#performance-schema-events-waits-summary-by-instance-pkey-707b97ed">`performance_schema.events_waits_summary_by_instance_pkey ON performance_schema.events_waits_summary_by_instance (object_instance_begin)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1016-L1016) |
| <a id="performance-schema-events-waits-summary-by-thread-by-event-name-pkey-a2680013" href="#performance-schema-events-waits-summary-by-thread-by-event-name-pkey-a2680013">`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)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1028-L1028) |
| <a id="performance-schema-events-waits-summary-global-by-event-name-pkey-8ce57ff2" href="#performance-schema-events-waits-summary-global-by-event-name-pkey-8ce57ff2">`performance_schema.events_waits_summary_global_by_event_name_pkey ON performance_schema.events_waits_summary_global_by_event_name (event_name)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1049-L1049) |
| <a id="performance-schema-file-instances-pkey-760b10d5" href="#performance-schema-file-instances-pkey-760b10d5">`performance_schema.file_instances_pkey ON performance_schema.file_instances (file_name)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1056-L1056) |
| <a id="performance-schema-file-summary-by-event-name-pkey-77d3698c" href="#performance-schema-file-summary-by-event-name-pkey-77d3698c">`performance_schema.file_summary_by_event_name_pkey ON performance_schema.file_summary_by_event_name (event_name)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1084-L1084) |
| <a id="performance-schema-file-summary-by-instance-pkey-fedf7640" href="#performance-schema-file-summary-by-instance-pkey-fedf7640">`performance_schema.file_summary_by_instance_pkey ON performance_schema.file_summary_by_instance (object_instance_begin)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1113-L1113) |
| <a id="performance-schema-global-status-pkey-b6517cf1" href="#performance-schema-global-status-pkey-b6517cf1">`performance_schema.global_status_pkey ON performance_schema.global_status (variable_name)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1121-L1121) |
| <a id="performance-schema-global-variables-pkey-59c7afab" href="#performance-schema-global-variables-pkey-59c7afab">`performance_schema.global_variables_pkey ON performance_schema.global_variables (variable_name)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1127-L1127) |
| <a id="performance-schema-host-cache-pkey-5960895e" href="#performance-schema-host-cache-pkey-5960895e">`performance_schema.host_cache_pkey ON performance_schema.host_cache (ip)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1163-L1163) |
| <a id="performance-schema-memory-summary-by-thread-by-event-name-pkey-4955c27a" href="#performance-schema-memory-summary-by-thread-by-event-name-pkey-4955c27a">`performance_schema.memory_summary_by_thread_by_event_name_pkey ON performance_schema.memory_summary_by_thread_by_event_name (thread_id, event_name)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1248-L1248) |
| <a id="performance-schema-memory-summary-global-by-event-name-pkey-b0e295da" href="#performance-schema-memory-summary-global-by-event-name-pkey-b0e295da">`performance_schema.memory_summary_global_by_event_name_pkey ON performance_schema.memory_summary_global_by_event_name (event_name)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1279-L1279) |
| <a id="performance-schema-metadata-locks-pkey-adcccdeb" href="#performance-schema-metadata-locks-pkey-adcccdeb">`performance_schema.metadata_locks_pkey ON performance_schema.metadata_locks (object_instance_begin)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1294-L1294) |
| <a id="performance-schema-mutex-instances-pkey-fd72c5b1" href="#performance-schema-mutex-instances-pkey-fd72c5b1">`performance_schema.mutex_instances_pkey ON performance_schema.mutex_instances (object_instance_begin)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1303-L1303) |
| <a id="performance-schema-persisted-variables-pkey-4b3d7e88" href="#performance-schema-persisted-variables-pkey-4b3d7e88">`performance_schema.persisted_variables_pkey ON performance_schema.persisted_variables (variable_name)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1333-L1333) |
| <a id="performance-schema-prepared-statements-instances-pkey-0d70faed" href="#performance-schema-prepared-statements-instances-pkey-0d70faed">`performance_schema.prepared_statements_instances_pkey ON performance_schema.prepared_statements_instances (object_instance_begin)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1380-L1380) |
| <a id="performance-schema-processlist-pkey-12f19299" href="#performance-schema-processlist-pkey-12f19299">`performance_schema.processlist_pkey ON performance_schema.processlist (id)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1400-L1400) |
| <a id="performance-schema-replication-applier-configuration-pkey-ee9dbde5" href="#performance-schema-replication-applier-configuration-pkey-ee9dbde5">`performance_schema.replication_applier_configuration_pkey ON performance_schema.replication_applier_configuration (channel_name)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1418-L1418) |
| <a id="performance-schema-replication-applier-status-by-coordinator-pkey-80466be2" href="#performance-schema-replication-applier-status-by-coordinator-pkey-80466be2">`performance_schema.replication_applier_status_by_coordinator_pkey ON performance_schema.replication_applier_status_by_coordinator (channel_name)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1473-L1473) |
| <a id="performance-schema-replication-applier-status-by-worker-pkey-6d9f7fad" href="#performance-schema-replication-applier-status-by-worker-pkey-6d9f7fad">`performance_schema.replication_applier_status_by_worker_pkey ON performance_schema.replication_applier_status_by_worker (channel_name, worker_id)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1505-L1505) |
| <a id="performance-schema-replication-applier-status-pkey-5d0dea55" href="#performance-schema-replication-applier-status-pkey-5d0dea55">`performance_schema.replication_applier_status_pkey ON performance_schema.replication_applier_status (channel_name)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1451-L1451) |
| <a id="performance-schema-replication-connection-configuration-pkey-18323c61" href="#performance-schema-replication-connection-configuration-pkey-18323c61">`performance_schema.replication_connection_configuration_pkey ON performance_schema.replication_connection_configuration (channel_name)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1567-L1567) |
| <a id="performance-schema-replication-connection-status-pkey-444e236d" href="#performance-schema-replication-connection-status-pkey-444e236d">`performance_schema.replication_connection_status_pkey ON performance_schema.replication_connection_status (channel_name)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1594-L1594) |
| <a id="performance-schema-rwlock-instances-pkey-0151f358" href="#performance-schema-rwlock-instances-pkey-0151f358">`performance_schema.rwlock_instances_pkey ON performance_schema.rwlock_instances (object_instance_begin)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1630-L1630) |
| <a id="performance-schema-session-account-connect-attrs-pkey-dfcbad5f" href="#performance-schema-session-account-connect-attrs-pkey-dfcbad5f">`performance_schema.session_account_connect_attrs_pkey ON performance_schema.session_account_connect_attrs (processlist_id, attr_name)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1640-L1640) |
| <a id="performance-schema-session-connect-attrs-pkey-300bf429" href="#performance-schema-session-connect-attrs-pkey-300bf429">`performance_schema.session_connect_attrs_pkey ON performance_schema.session_connect_attrs (processlist_id, attr_name)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1648-L1648) |
| <a id="performance-schema-session-status-pkey-b8ec6071" href="#performance-schema-session-status-pkey-b8ec6071">`performance_schema.session_status_pkey ON performance_schema.session_status (variable_name)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1654-L1654) |
| <a id="performance-schema-session-variables-pkey-e3829017" href="#performance-schema-session-variables-pkey-e3829017">`performance_schema.session_variables_pkey ON performance_schema.session_variables (variable_name)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1660-L1660) |
| <a id="performance-schema-setup-consumers-pkey-4efb6d76" href="#performance-schema-setup-consumers-pkey-4efb6d76">`performance_schema.setup_consumers_pkey ON performance_schema.setup_consumers (name)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1683-L1683) |
| <a id="performance-schema-setup-instruments-pkey-085c385a" href="#performance-schema-setup-instruments-pkey-085c385a">`performance_schema.setup_instruments_pkey ON performance_schema.setup_instruments (name)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1699-L1699) |
| <a id="performance-schema-setup-threads-pkey-540f7f54" href="#performance-schema-setup-threads-pkey-540f7f54">`performance_schema.setup_threads_pkey ON performance_schema.setup_threads (name)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1731-L1731) |
| <a id="performance-schema-socket-instances-pkey-16e7a0b3" href="#performance-schema-socket-instances-pkey-16e7a0b3">`performance_schema.socket_instances_pkey ON performance_schema.socket_instances (object_instance_begin)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1745-L1745) |
| <a id="performance-schema-socket-summary-by-event-name-pkey-c72b862a" href="#performance-schema-socket-summary-by-event-name-pkey-c72b862a">`performance_schema.socket_summary_by_event_name_pkey ON performance_schema.socket_summary_by_event_name (event_name)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1775-L1775) |
| <a id="performance-schema-socket-summary-by-instance-pkey-52d7d34f" href="#performance-schema-socket-summary-by-instance-pkey-52d7d34f">`performance_schema.socket_summary_by_instance_pkey ON performance_schema.socket_summary_by_instance (object_instance_begin)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1803-L1803) |
| <a id="performance-schema-status-by-thread-pkey-d764fc84" href="#performance-schema-status-by-thread-pkey-d764fc84">`performance_schema.status_by_thread_pkey ON performance_schema.status_by_thread (thread_id, variable_name)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1826-L1826) |
| <a id="performance-schema-table-handles-pkey-eb9d41e8" href="#performance-schema-table-handles-pkey-eb9d41e8">`performance_schema.table_handles_pkey ON performance_schema.table_handles (object_instance_begin)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1845-L1845) |
| <a id="performance-schema-threads-pkey-1c8ca84a" href="#performance-schema-threads-pkey-1c8ca84a">`performance_schema.threads_pkey ON performance_schema.threads (thread_id)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L2034-L2034) |
| <a id="performance-schema-user-defined-functions-pkey-a829e50d" href="#performance-schema-user-defined-functions-pkey-a829e50d">`performance_schema.user_defined_functions_pkey ON performance_schema.user_defined_functions (udf_name)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L2055-L2055) |
| <a id="performance-schema-variables-by-thread-pkey-b1347a46" href="#performance-schema-variables-by-thread-pkey-b1347a46">`performance_schema.variables_by_thread_pkey ON performance_schema.variables_by_thread (thread_id, variable_name)`</a> | 主键约束对应的唯一索引。 | [主键定义](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L2069-L2069) |

## 二级索引 {#secondary}

| 对象签名 | 用途 | 源码定义 |
|---|---|---|
| <a id="performance-schema-blocking-engine-lock-id-f2fcfd03" href="#performance-schema-blocking-engine-lock-id-f2fcfd03">`performance_schema.blocking_engine_lock_id ON performance_schema.data_lock_waits (blocking_engine_lock_id, engine)`</a> | 支持按这些列查找记录。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L55-L55) |
| <a id="performance-schema-blocking-engine-transaction-id-1208f8e6" href="#performance-schema-blocking-engine-transaction-id-1208f8e6">`performance_schema.blocking_engine_transaction_id ON performance_schema.data_lock_waits (blocking_engine_transaction_id, engine)`</a> | 支持按这些列查找记录。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L57-L57) |
| <a id="performance-schema-blocking-thread-id-d4f02cec" href="#performance-schema-blocking-thread-id-d4f02cec">`performance_schema.blocking_thread_id ON performance_schema.data_lock_waits (blocking_thread_id, blocking_event_id)`</a> | 支持按这些列查找记录。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L59-L59) |
| <a id="performance-schema-engine-transaction-id-d53dda63" href="#performance-schema-engine-transaction-id-d53dda63">`performance_schema.engine_transaction_id ON performance_schema.data_locks (engine_transaction_id, engine)`</a> | 支持按这些列查找记录。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L79-L79) |
| <a id="performance-schema-error-code-80339aa5" href="#performance-schema-error-code-80339aa5">`performance_schema.error_code ON performance_schema.error_log (error_code)`</a> | 支持按这些列查找记录。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L97-L97) |
| <a id="performance-schema-error-number-a507383f" href="#performance-schema-error-number-a507383f">`performance_schema.error_number ON performance_schema.events_errors_summary_global_by_error (error_number)`</a> | 保证索引列组合唯一。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L158-L158) |
| <a id="performance-schema-event-name-0d4cec2e" href="#performance-schema-event-name-0d4cec2e">`performance_schema.event_name ON performance_schema.events_waits_summary_by_instance (event_name)`</a> | 支持按这些列查找记录。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1018-L1018) |
| <a id="performance-schema-events-transactions-summary-by-host-by-even-host-event-name-idx-0355814b" href="#performance-schema-events-transactions-summary-by-host-by-even-host-event-name-idx-0355814b">`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)`</a> | 保证索引列组合唯一。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L844-L844) |
| <a id="performance-schema-events-waits-summary-by-host-by-event-name-host-8f7e19b7" href="#performance-schema-events-waits-summary-by-host-by-event-name-host-8f7e19b7">`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)`</a> | 保证索引列组合唯一。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1006-L1006) |
| <a id="performance-schema-file-instances-event-name-9abc8160" href="#performance-schema-file-instances-event-name-9abc8160">`performance_schema.file_instances_event_name ON performance_schema.file_instances (event_name)`</a> | 支持按这些列查找记录。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1058-L1058) |
| <a id="performance-schema-file-name-55395fbc" href="#performance-schema-file-name-55395fbc">`performance_schema.file_name ON performance_schema.file_summary_by_instance (file_name)`</a> | 支持按这些列查找记录。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1115-L1115) |
| <a id="performance-schema-file-summary-by-instance-event-name-754bbeec" href="#performance-schema-file-summary-by-instance-event-name-754bbeec">`performance_schema.file_summary_by_instance_event_name ON performance_schema.file_summary_by_instance (event_name)`</a> | 支持按这些列查找记录。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1116-L1116) |
| <a id="performance-schema-host-8d2c40da" href="#performance-schema-host-8d2c40da">`performance_schema.host ON performance_schema.events_errors_summary_by_host_by_error (host, error_number)`</a> | 保证索引列组合唯一。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L123-L123) |
| <a id="performance-schema-host-cache-host-d8c4efd8" href="#performance-schema-host-cache-host-d8c4efd8">`performance_schema.host_cache_host ON performance_schema.host_cache (host)`</a> | 支持按这些列查找记录。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1165-L1165) |
| <a id="performance-schema-host-essbben-dda79bde" href="#performance-schema-host-essbben-dda79bde">`performance_schema.host_essbben ON performance_schema.events_stages_summary_by_host_by_event_name (host, event_name)`</a> | 保证索引列组合唯一。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L237-L237) |
| <a id="performance-schema-host-essbhben-01bdae39" href="#performance-schema-host-essbhben-01bdae39">`performance_schema.host_essbhben ON performance_schema.events_statements_summary_by_host_by_event_name (host, event_name)`</a> | 保证索引列组合唯一。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L555-L555) |
| <a id="performance-schema-hosts-host-b5e53007" href="#performance-schema-hosts-host-b5e53007">`performance_schema.hosts_host ON performance_schema.hosts (host)`</a> | 保证索引列组合唯一。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1172-L1172) |
| <a id="performance-schema-locked-by-thread-id-9028e011" href="#performance-schema-locked-by-thread-id-9028e011">`performance_schema.locked_by_thread_id ON performance_schema.mutex_instances (locked_by_thread_id)`</a> | 支持按这些列查找记录。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1306-L1306) |
| <a id="performance-schema-memory-summary-by-host-by-event-name-host-6abf005d" href="#performance-schema-memory-summary-by-host-by-event-name-host-6abf005d">`performance_schema.memory_summary_by_host_by_event_name_host ON performance_schema.memory_summary_by_host_by_event_name (host, event_name)`</a> | 保证索引列组合唯一。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1233-L1233) |
| <a id="performance-schema-mutex-instances-name-61300bee" href="#performance-schema-mutex-instances-name-61300bee">`performance_schema.mutex_instances_name ON performance_schema.mutex_instances (name)`</a> | 支持按这些列查找记录。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1305-L1305) |
| <a id="performance-schema-name-6c13f23e" href="#performance-schema-name-6c13f23e">`performance_schema.name ON performance_schema.cond_instances (name)`</a> | 支持按这些列查找记录。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L39-L39) |
| <a id="performance-schema-object-6e531e1a" href="#performance-schema-object-6e531e1a">`performance_schema.object ON performance_schema.objects_summary_global_by_type (object_type, object_schema, object_name)`</a> | 保证索引列组合唯一。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1318-L1318) |
| <a id="performance-schema-object-schema-96dea64a" href="#performance-schema-object-schema-96dea64a">`performance_schema.object_schema ON performance_schema.data_locks (object_schema, object_name, partition_name, subpartition_name)`</a> | 支持按这些列查找记录。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L81-L81) |
| <a id="performance-schema-object-type-6610c58c" href="#performance-schema-object-type-6610c58c">`performance_schema.object_type ON performance_schema.metadata_locks (object_type, object_schema, object_name, column_name)`</a> | 支持按这些列查找记录。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1296-L1296) |
| <a id="performance-schema-owner-object-type-0a70efcd" href="#performance-schema-owner-object-type-0a70efcd">`performance_schema.owner_object_type ON performance_schema.prepared_statements_instances (owner_object_type, owner_object_schema, owner_object_name)`</a> | 支持按这些列查找记录。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1385-L1385) |
| <a id="performance-schema-owner-thread-id-c3efe409" href="#performance-schema-owner-thread-id-c3efe409">`performance_schema.owner_thread_id ON performance_schema.metadata_locks (owner_thread_id, owner_event_id)`</a> | 支持按这些列查找记录。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1297-L1297) |
| <a id="performance-schema-prepared-statements-instances-owner-thread-id-567edc17" href="#performance-schema-prepared-statements-instances-owner-thread-id-567edc17">`performance_schema.prepared_statements_instances_owner_thread_id ON performance_schema.prepared_statements_instances (owner_thread_id, owner_event_id)`</a> | 保证索引列组合唯一。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1382-L1382) |
| <a id="performance-schema-prio-b2123a34" href="#performance-schema-prio-b2123a34">`performance_schema.prio ON performance_schema.error_log (prio)`</a> | 支持按这些列查找记录。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L96-L96) |
| <a id="performance-schema-replication-applier-status-by-coordinator-thread-id-d030962a" href="#performance-schema-replication-applier-status-by-coordinator-thread-id-d030962a">`performance_schema.replication_applier_status_by_coordinator_thread_id ON performance_schema.replication_applier_status_by_coordinator (thread_id)`</a> | 支持按这些列查找记录。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1475-L1475) |
| <a id="performance-schema-replication-applier-status-by-worker-thread-id-eed9a22c" href="#performance-schema-replication-applier-status-by-worker-thread-id-eed9a22c">`performance_schema.replication_applier_status_by_worker_thread_id ON performance_schema.replication_applier_status_by_worker (thread_id)`</a> | 支持按这些列查找记录。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1507-L1507) |
| <a id="performance-schema-replication-connection-status-thread-id-af801f46" href="#performance-schema-replication-connection-status-thread-id-af801f46">`performance_schema.replication_connection_status_thread_id ON performance_schema.replication_connection_status (thread_id)`</a> | 支持按这些列查找记录。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1596-L1596) |
| <a id="performance-schema-requesting-engine-lock-id-17c8b637" href="#performance-schema-requesting-engine-lock-id-17c8b637">`performance_schema.requesting_engine_lock_id ON performance_schema.data_lock_waits (requesting_engine_lock_id, engine)`</a> | 支持按这些列查找记录。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L54-L54) |
| <a id="performance-schema-requesting-engine-transaction-id-5ea33b87" href="#performance-schema-requesting-engine-transaction-id-5ea33b87">`performance_schema.requesting_engine_transaction_id ON performance_schema.data_lock_waits (requesting_engine_transaction_id, engine)`</a> | 支持按这些列查找记录。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L56-L56) |
| <a id="performance-schema-requesting-thread-id-3217082a" href="#performance-schema-requesting-thread-id-3217082a">`performance_schema.requesting_thread_id ON performance_schema.data_lock_waits (requesting_thread_id, requesting_event_id)`</a> | 支持按这些列查找记录。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L58-L58) |
| <a id="performance-schema-rwlock-instances-name-84f975be" href="#performance-schema-rwlock-instances-name-84f975be">`performance_schema.rwlock_instances_name ON performance_schema.rwlock_instances (name)`</a> | 支持按这些列查找记录。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1632-L1632) |
| <a id="performance-schema-schema-name-27306273" href="#performance-schema-schema-name-27306273">`performance_schema.schema_name ON performance_schema.events_statements_histogram_by_digest (schema_name, digest, bucket_number)`</a> | 保证索引列组合唯一。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L334-L334) |
| <a id="performance-schema-schema-name-essbd-4a28d5ac" href="#performance-schema-schema-name-essbd-4a28d5ac">`performance_schema.schema_name_essbd ON performance_schema.events_statements_summary_by_digest (schema_name, digest)`</a> | 保证索引列组合唯一。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L523-L523) |
| <a id="performance-schema-setup-objects-object-1bb7328a" href="#performance-schema-setup-objects-object-1bb7328a">`performance_schema.setup_objects_object ON performance_schema.setup_objects (object_type, object_schema, object_name)`</a> | 保证索引列组合唯一。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1716-L1716) |
| <a id="performance-schema-socket-instances-ip-76ca68df" href="#performance-schema-socket-instances-ip-76ca68df">`performance_schema.socket_instances_ip ON performance_schema.socket_instances (ip, port)`</a> | 支持按这些列查找记录。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1749-L1749) |
| <a id="performance-schema-socket-instances-socket-id-cb17d742" href="#performance-schema-socket-instances-socket-id-cb17d742">`performance_schema.socket_instances_socket_id ON performance_schema.socket_instances (socket_id)`</a> | 支持按这些列查找记录。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1748-L1748) |
| <a id="performance-schema-socket-instances-thread-id-8b3136e0" href="#performance-schema-socket-instances-thread-id-8b3136e0">`performance_schema.socket_instances_thread_id ON performance_schema.socket_instances (thread_id)`</a> | 支持按这些列查找记录。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1747-L1747) |
| <a id="performance-schema-socket-summary-by-instance-event-name-e7174ebf" href="#performance-schema-socket-summary-by-instance-event-name-e7174ebf">`performance_schema.socket_summary_by_instance_event_name ON performance_schema.socket_summary_by_instance (event_name)`</a> | 支持按这些列查找记录。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1805-L1805) |
| <a id="performance-schema-statement-id-6678231e" href="#performance-schema-statement-id-6678231e">`performance_schema.statement_id ON performance_schema.prepared_statements_instances (statement_id)`</a> | 支持按这些列查找记录。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1383-L1383) |
| <a id="performance-schema-statement-name-d203e122" href="#performance-schema-statement-name-d203e122">`performance_schema.statement_name ON performance_schema.prepared_statements_instances (statement_name)`</a> | 支持按这些列查找记录。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1384-L1384) |
| <a id="performance-schema-status-by-host-host-6209d7cc" href="#performance-schema-status-by-host-host-6209d7cc">`performance_schema.status_by_host_host ON performance_schema.status_by_host (host, variable_name)`</a> | 保证索引列组合唯一。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1820-L1820) |
| <a id="performance-schema-subsystem-851e2850" href="#performance-schema-subsystem-851e2850">`performance_schema.subsystem ON performance_schema.error_log (subsystem)`</a> | 支持按这些列查找记录。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L98-L98) |
| <a id="performance-schema-table-handles-object-type-99c2f6d4" href="#performance-schema-table-handles-object-type-99c2f6d4">`performance_schema.table_handles_object_type ON performance_schema.table_handles (object_type, object_schema, object_name)`</a> | 支持按这些列查找记录。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1847-L1847) |
| <a id="performance-schema-table-handles-owner-thread-id-ebd5ec6f" href="#performance-schema-table-handles-owner-thread-id-ebd5ec6f">`performance_schema.table_handles_owner_thread_id ON performance_schema.table_handles (owner_thread_id, owner_event_id)`</a> | 支持按这些列查找记录。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1848-L1848) |
| <a id="performance-schema-table-io-waits-summary-by-index-usage-object-01959547" href="#performance-schema-table-io-waits-summary-by-index-usage-object-01959547">`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)`</a> | 保证索引列组合唯一。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1891-L1891) |
| <a id="performance-schema-table-io-waits-summary-by-table-object-50e0643b" href="#performance-schema-table-io-waits-summary-by-table-object-50e0643b">`performance_schema.table_io_waits_summary_by_table_object ON performance_schema.table_io_waits_summary_by_table (object_type, object_schema, object_name)`</a> | 保证索引列组合唯一。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1933-L1933) |
| <a id="performance-schema-table-lock-waits-summary-by-table-object-81f7043a" href="#performance-schema-table-lock-waits-summary-by-table-object-81f7043a">`performance_schema.table_lock_waits_summary_by_table_object ON performance_schema.table_lock_waits_summary_by_table (object_type, object_schema, object_name)`</a> | 保证索引列组合唯一。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L2005-L2005) |
| <a id="performance-schema-thread-id-edf44919" href="#performance-schema-thread-id-edf44919">`performance_schema.thread_id ON performance_schema.data_locks (thread_id, event_id)`</a> | 支持按这些列查找记录。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L80-L80) |
| <a id="performance-schema-thread-id-fe8c6dac" href="#performance-schema-thread-id-fe8c6dac">`performance_schema.thread_id_ ON performance_schema.error_log (thread_id)`</a> | 支持按这些列查找记录。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L95-L95) |
| <a id="performance-schema-thread-id-eesbtbe-72ac3269" href="#performance-schema-thread-id-eesbtbe-72ac3269">`performance_schema.thread_id_eesbtbe ON performance_schema.events_errors_summary_by_thread_by_error (thread_id, error_number)`</a> | 保证索引列组合唯一。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L135-L135) |
| <a id="performance-schema-threads-name-55479ac4" href="#performance-schema-threads-name-55479ac4">`performance_schema.threads_name ON performance_schema.threads (name)`</a> | 支持按这些列查找记录。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L2038-L2038) |
| <a id="performance-schema-threads-processlist-account-1c80d937" href="#performance-schema-threads-processlist-account-1c80d937">`performance_schema.threads_processlist_account ON performance_schema.threads (processlist_user, processlist_host)`</a> | 支持按这些列查找记录。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L2039-L2039) |
| <a id="performance-schema-threads-processlist-host-f98d20c1" href="#performance-schema-threads-processlist-host-f98d20c1">`performance_schema.threads_processlist_host ON performance_schema.threads (processlist_host)`</a> | 支持按这些列查找记录。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L2040-L2040) |
| <a id="performance-schema-threads-processlist-id-2c9ac181" href="#performance-schema-threads-processlist-id-2c9ac181">`performance_schema.threads_processlist_id ON performance_schema.threads (processlist_id)`</a> | 支持按这些列查找记录。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L2036-L2036) |
| <a id="performance-schema-threads-resource-group-085fa9b9" href="#performance-schema-threads-resource-group-085fa9b9">`performance_schema.threads_resource_group ON performance_schema.threads (resource_group)`</a> | 支持按这些列查找记录。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L2041-L2041) |
| <a id="performance-schema-threads-thread-os-id-08f5308e" href="#performance-schema-threads-thread-os-id-08f5308e">`performance_schema.threads_thread_os_id ON performance_schema.threads (thread_os_id)`</a> | 支持按这些列查找记录。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L2037-L2037) |
| <a id="performance-schema-write-locked-by-thread-id-675d89e3" href="#performance-schema-write-locked-by-thread-id-675d89e3">`performance_schema.write_locked_by_thread_id ON performance_schema.rwlock_instances (write_locked_by_thread_id)`</a> | 支持按这些列查找记录。 | [SQL](https://github.com/pgsty/pg_mysql/blob/0d51adcf5151ca5c98bc61de84f287ec3b4fe4a3/sql/baseline/71-perf.sql#L1633-L1633) |

---

反链：

- [pg_mysql 对象索引](/zh/docs/mysql/reference/objects/)
