国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 數據庫 > MySQL > 正文

MySQL-官方文檔摘抄

2024-07-24 12:32:17
字體:
來源:轉載
供稿:網友
        點擊(此處)折疊或打開
 
There are three phases to an index build.
In the first phase, the clustered index is scanned, and index entries are generated and added to the sort buffer. When the sort buffer becomes full, entries are sorted and written out to a temporary intermediate file. This process is also known as a “run”.
In the second phase, with one or more runs written to the temporary intermediate file, a merge sort is performed on all entries in the file.
In the third and final phase, the sorted entries are inserted into the B-tree.
  
       點擊(此處)折疊或打開
 
When running an online DDL operation, the thread that runs the ALTER TABLE statement applies an “online log” of DML operations that were run concurrently on the same table from other connection threads. When the DML operations are applied, it is possible to encounter a duplicate key entry error (ERROR 1062 (23000): Duplicate entry), even if the duplicate entry is only temporary and would be reverted by a later entry in the “online log”.This is similar to the idea of a foreign key constraint check in InnoDB in which constraints must hold during a transaction.
  
      點擊(此處)折疊或打開
 
Semisynchronous Replication
 
The slave acknowledges receipt of a transaction's events only after the events have been written to its relay log and flushed to disk.
 
半同步只負責relaylog的落盤, 并不關心Slave是否真的有應用這些events, 所以Master的雙1+半同步正??梢源_認binlog到了Slave端, Slave在不出問題的情況下能做到最終一致性;
  
       點擊(此處)折疊或打開
 
innodb_lock_wait_timeout applies to InnoDB row locks only. A MySQL table lock does not happen inside InnoDB and this timeout does not apply to waits for table locks.
The lock wait timeout value does not apply to deadlocks when innodb_deadlock_detect is enabled (the default) because InnoDB detects deadlocks immediately and rolls back one of the deadlocked transactions. When innodb_deadlock_detect is disabled, InnoDB relies
on innodb_lock_wait_timeout for transaction rollback when a deadlock occurs.
For example, metadata lock

(編輯:武林網)

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 延吉市| 贵溪市| 浑源县| 耒阳市| 兴安县| 长宁县| 古田县| 宜兰县| 吉水县| 来安县| 金坛市| 锡林郭勒盟| 内丘县| 舟山市| 白山市| 凉山| 同德县| 华阴市| 班玛县| 泰来县| 德令哈市| 清镇市| 奉贤区| 尼玛县| 吕梁市| 洞头县| 全南县| 英山县| 左贡县| 珠海市| 剑川县| 凭祥市| 南康市| 句容市| 海门市| 澄迈县| 西吉县| 平安县| 宁阳县| 晋城| 武山县|