In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly explains "the startup process of innodb in mysql". The content of the explanation is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "the startup process of innodb in mysql".
Fil_init mainly initializes files to open pointer hash table, all open files are recorded in fil_system, and construct hash table looked up by name.
Initialization of buf_pool_init memory buffer pool, corresponding to the buf_pool_ptr array, also initializes the memory of adaptive hash index
Log_init initializes the log buffer. The default size is 512cm 16k, and the size of each log page is # define OS_FILE_LOG_BLOCK_SIZE 512log files. During the creation process, no system cache is specified.
Www.2cto.com
Lock_sys_create initializes the system lock by creating a HASH table, lock_sys
Recv_recovery_from_checkpoint_start begins to perform a restore
Dict_boot initializes the cache of the table structure, dict_sys, and creates two hash tables, which can be looked up according to the table name and table ID; initialize the system table, only four SYS_TABLES SYS_COLUMNS SYS_INDEXES SYS_FIELDS; initialize the insert buffer, one for each tablespace; read the contents of the above four system tables
Trx_sys_init_at_db_start initializes the transaction structure trx_sys; Creates the global purge system control structure and inits the history
Dict_create_or_check_foreign_constraint_tables creates two other system tables SYS_FOREIGN SYS_FOREIGN_COLS www.2cto.com
Started thread
There are 10 IO parts, which can be configured through parameters.
1 insert buffer thread
1 log thread
4 aio read thread
4 aio write thread
1 lock timeout thread A thread which wakes up threads whose lock wait may have lasted too long
1 error monitor thread A thread which prints warnings about semaphore waits which have lasted too long
1 monitor thread A thread which prints the info output by various InnoDB monitors
1 master thread The master thread controlling the server
1 thread handle shutdown
1 handle connections socket is specially used to deal with Lianli.
1 trx_rollback_or_clean_all_recovered Rollback the uncommitted transactions which have no user session www.2cto.com
Struct st__plugin * mysql_optional_plugins [] =
{
Builtin_innobase_plugin, builtin_perfschema_plugin, builtin_partition_plugin, 0
}
Struct st_mysql_plugin * mysql_mandatory_plugins [] =
{
Builtin_binlog_plugin, builtin_mysql_password_plugin, builtin_csv_plugin, builtin_heap_plugin, builtin_myisam_plugin, builtin_myisammrg_plugin, 0
}
Initialized binlog memory myisam innodb pefformance_schema partition
Thank you for your reading, the above is the content of "the startup process of innodb in mysql". After the study of this article, I believe you have a deeper understanding of the startup process of innodb in mysql, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.