日本综合一区二区|亚洲中文天堂综合|日韩欧美自拍一区|男女精品天堂一区|欧美自拍第6页亚洲成人精品一区|亚洲黄色天堂一区二区成人|超碰91偷拍第一页|日韩av夜夜嗨中文字幕|久久蜜综合视频官网|精美人妻一区二区三区

RELATEED CONSULTING
相關(guān)咨詢
選擇下列產(chǎn)品馬上在線溝通
服務(wù)時間:8:30-17:00
你可能遇到了下面的問題
關(guān)閉右側(cè)工具欄

新聞中心

這里有您想知道的互聯(lián)網(wǎng)營銷解決方案
mysql中innodb的啟動過程

這篇文章主要講解了“MySQL中innodb的啟動過程”,文中的講解內(nèi)容簡單清晰,易于學(xué)習(xí)與理解,下面請大家跟著小編的思路慢慢深入,一起來研究和學(xué)習(xí)“mysql中innodb的啟動過程”吧!

創(chuàng)新互聯(lián)主要從事成都做網(wǎng)站、成都網(wǎng)站建設(shè)、網(wǎng)頁設(shè)計、企業(yè)做網(wǎng)站、公司建網(wǎng)站等業(yè)務(wù)。立足成都服務(wù)雙灤,十載網(wǎng)站建設(shè)經(jīng)驗,價格優(yōu)惠、服務(wù)專業(yè),歡迎來電咨詢建站服務(wù):13518219792

fil_init 主要是初始化文件打開指針哈希表,所有打開的文件全記錄在 fil_system 之中,構(gòu)造按名字查找的哈希表 
 
buf_pool_init 內(nèi)存緩沖池的初始化,對應(yīng) buf_pool_ptr 數(shù)組之中,還初始化了 adaptive hash index 的內(nèi)存
 
log_init 初始化log緩沖區(qū),默認大小為 512*16k, 每個log頁面大小為 #define OS_FILE_LOG_BLOCK_SIZE  512  日志文件在創(chuàng)建過程中也是指定不用系統(tǒng)緩存
  www.2cto.com  
 lock_sys_create 初始化系統(tǒng)鎖,就是建了一個HASH表,lock_sys
 
 recv_recovery_from_checkpoint_start 開始執(zhí)行恢復(fù)
 
dict_boot 初始化表結(jié)構(gòu)的緩存,dict_sys,建兩個hash表,可以根據(jù)表名和表ID查找;初始化系統(tǒng)表,就四個 SYS_TABLES SYS_COLUMNS SYS_INDEXES SYS_FIELDS ;初始化 insert buffer,每一個表空間對應(yīng)一個;讀入上面四個系統(tǒng)表中的內(nèi)容
 
trx_sys_init_at_db_start 初初化事務(wù)結(jié)構(gòu)體 trx_sys ; Creates the global purge system control structure and inits the history 
 
dict_create_or_check_foreign_constraint_tables 創(chuàng)建另外兩張系統(tǒng)表 SYS_FOREIGN SYS_FOREIGN_COLS  www.2cto.com  
 
啟動的線程,
 
IO部分共10個,可通過參數(shù)配置
 
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 專門用來處理連理的
 
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
};
初始化的 binlog memory myisam innodb pefformance_schema partition

感謝各位的閱讀,以上就是“mysql中innodb的啟動過程”的內(nèi)容了,經(jīng)過本文的學(xué)習(xí)后,相信大家對mysql中innodb的啟動過程這一問題有了更深刻的體會,具體使用情況還需要大家實踐驗證。這里是創(chuàng)新互聯(lián),小編將為大家推送更多相關(guān)知識點的文章,歡迎關(guān)注!


文章標(biāo)題:mysql中innodb的啟動過程
網(wǎng)頁網(wǎng)址:http://www.dlmjj.cn/article/gisjsh.html