Each latch has an ID.
This id is used for creating the latch and to look up its meta-data. See sync0debug.c. The order does not matter here, but alphabetical ordering seems useful
Enumerator |
---|
LATCH_ID_NONE | |
LATCH_ID_AHI_ENABLED | |
LATCH_ID_AUTOINC | |
LATCH_ID_BUF_BLOCK_MUTEX | |
LATCH_ID_BUF_POOL_CHUNKS | |
LATCH_ID_BUF_POOL_ZIP | |
LATCH_ID_BUF_POOL_LRU_LIST | |
LATCH_ID_BUF_POOL_FREE_LIST | |
LATCH_ID_BUF_POOL_ZIP_FREE | |
LATCH_ID_BUF_POOL_ZIP_HASH | |
LATCH_ID_BUF_POOL_FLUSH_STATE | |
LATCH_ID_DBLWR | |
LATCH_ID_DBLWR_SPACE_CACHE | |
LATCH_ID_DDL_AUTOINC | |
LATCH_ID_CACHE_LAST_READ | |
LATCH_ID_DICT_FOREIGN_ERR | |
LATCH_ID_DICT_SYS | |
LATCH_ID_DICT_TABLE | |
LATCH_ID_FIL_SHARD | |
LATCH_ID_FLUSH_LIST | |
LATCH_ID_FTS_BG_THREADS | |
LATCH_ID_FTS_DELETE | |
LATCH_ID_FTS_OPTIMIZE | |
LATCH_ID_FTS_DOC_ID | |
LATCH_ID_FTS_PLL_TOKENIZE | |
LATCH_ID_HASH_TABLE_MUTEX | |
LATCH_ID_IBUF_BITMAP | |
LATCH_ID_IBUF | |
LATCH_ID_IBUF_PESSIMISTIC_INSERT | |
LATCH_ID_LOCK_FREE_HASH | |
LATCH_ID_LOCK_SYS_GLOBAL | |
LATCH_ID_LOCK_SYS_PAGE | |
LATCH_ID_LOCK_SYS_TABLE | |
LATCH_ID_LOCK_SYS_WAIT | |
LATCH_ID_LOG_SN | |
LATCH_ID_LOG_SN_MUTEX | |
LATCH_ID_LOG_CHECKPOINTER | |
LATCH_ID_LOG_CLOSER | |
LATCH_ID_LOG_WRITER | |
LATCH_ID_LOG_FLUSHER | |
LATCH_ID_LOG_WRITE_NOTIFIER | |
LATCH_ID_LOG_FLUSH_NOTIFIER | |
LATCH_ID_LOG_LIMITS | |
LATCH_ID_LOG_FILES | |
LATCH_ID_PARSER | |
LATCH_ID_LOG_ARCH | |
LATCH_ID_PAGE_ARCH | |
LATCH_ID_PAGE_ARCH_OPER | |
LATCH_ID_PAGE_ARCH_CLIENT | |
LATCH_ID_PERSIST_METADATA_BUFFER | |
LATCH_ID_DICT_PERSIST_DIRTY_TABLES | |
LATCH_ID_PERSIST_AUTOINC | |
LATCH_ID_DICT_PERSIST_CHECKPOINT | |
LATCH_ID_PAGE_CLEANER | |
LATCH_ID_PURGE_SYS_PQ | |
LATCH_ID_RECALC_POOL | |
LATCH_ID_RECV_SYS | |
LATCH_ID_RECV_WRITER | |
LATCH_ID_TEMP_SPACE_RSEG | |
LATCH_ID_UNDO_SPACE_RSEG | |
LATCH_ID_TRX_SYS_RSEG | |
LATCH_ID_RW_LOCK_DEBUG | |
LATCH_ID_RTR_SSN_MUTEX | |
LATCH_ID_RTR_ACTIVE_MUTEX | |
LATCH_ID_RTR_MATCH_MUTEX | |
LATCH_ID_RTR_PATH_MUTEX | |
LATCH_ID_RW_LOCK_LIST | |
LATCH_ID_SRV_INNODB_MONITOR | |
LATCH_ID_SRV_MISC_TMPFILE | |
LATCH_ID_SRV_MONITOR_FILE | |
LATCH_ID_SYNC_THREAD | |
LATCH_ID_TRX_UNDO | |
LATCH_ID_TRX_POOL | |
LATCH_ID_TRX_POOL_MANAGER | |
LATCH_ID_TEMP_POOL_MANAGER | |
LATCH_ID_TRX | |
LATCH_ID_TRX_SYS | |
LATCH_ID_TRX_SYS_SHARD | |
LATCH_ID_TRX_SYS_SERIALISATION | |
LATCH_ID_SRV_SYS | |
LATCH_ID_SRV_SYS_TASKS | |
LATCH_ID_PAGE_ZIP_STAT_PER_INDEX | |
LATCH_ID_EVENT_MANAGER | |
LATCH_ID_EVENT_MUTEX | |
LATCH_ID_SYNC_ARRAY_MUTEX | |
LATCH_ID_ZIP_PAD_MUTEX | |
LATCH_ID_OS_AIO_READ_MUTEX | |
LATCH_ID_OS_AIO_WRITE_MUTEX | |
LATCH_ID_OS_AIO_IBUF_MUTEX | |
LATCH_ID_ROW_DROP_LIST | |
LATCH_ID_INDEX_ONLINE_LOG | |
LATCH_ID_WORK_QUEUE | |
LATCH_ID_BTR_SEARCH | |
LATCH_ID_BUF_BLOCK_LOCK | |
LATCH_ID_BUF_BLOCK_DEBUG | |
LATCH_ID_DICT_OPERATION | |
LATCH_ID_CHECKPOINT | |
LATCH_ID_RSEGS | |
LATCH_ID_UNDO_SPACES | |
LATCH_ID_UNDO_DDL | |
LATCH_ID_FIL_SPACE | |
LATCH_ID_FTS_CACHE | |
LATCH_ID_FTS_CACHE_INIT | |
LATCH_ID_TRX_I_S_CACHE | |
LATCH_ID_TRX_PURGE | |
LATCH_ID_IBUF_INDEX_TREE | |
LATCH_ID_INDEX_TREE | |
LATCH_ID_DICT_TABLE_STATS | |
LATCH_ID_HASH_TABLE_RW_LOCK | |
LATCH_ID_BUF_CHUNK_MAP_LATCH | |
LATCH_ID_SYNC_DEBUG_MUTEX | |
LATCH_ID_MASTER_KEY_ID_MUTEX | |
LATCH_ID_FILE_OPEN | |
LATCH_ID_CLONE_SYS | |
LATCH_ID_CLONE_TASK | |
LATCH_ID_CLONE_SNAPSHOT | |
LATCH_ID_PARALLEL_READ | |
LATCH_ID_DBLR | |
LATCH_ID_REDO_LOG_ARCHIVE_ADMIN_MUTEX | |
LATCH_ID_REDO_LOG_ARCHIVE_QUEUE_MUTEX | |
LATCH_ID_TEST_MUTEX | |
LATCH_ID_MAX | |