国产探花免费观看_亚洲丰满少妇自慰呻吟_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

(編輯:武林網)

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 邵阳市| 成武县| 建昌县| 康保县| 盘山县| 松溪县| 辉县市| 如皋市| 桂平市| 阿拉尔市| 康保县| 繁昌县| 乌拉特中旗| 绥阳县| 万盛区| 江华| 嫩江县| 元谋县| 同德县| 钟山县| 万年县| 资溪县| 罗平县| 汝阳县| 淅川县| 达州市| 阳朔县| 黄陵县| 霍城县| 武功县| 江川县| 阿克陶县| 广宁县| 南丰县| 玛纳斯县| 忻城县| 湘西| 新丰县| 湘潭县| 石柱| 宜都市|