MySQL-官方文件摘抄
點選(此處)摺疊或開啟
-
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.
-
點選(此處)摺疊或開啟
- 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.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29510932/viewspace-2147946/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Django官方文件Django
- oracle 官方文件Oracle
- nmap官方文件
- OKHttp 官方文件【二】HTTP
- OKHttp 官方文件【一】HTTP
- mysql 5.6官方文件MySql
- 《Redis官方文件》sentinelRedis
- Oracle OCP(33):官方文件Oracle
- Moya官方文件翻譯
- ApacheStorm官方文件——常用模式ApacheORM模式
- solaris 10 官方文件 地址
- 《Redis官方文件》持久化Redis持久化
- Oracle 線上官方文件Oracle
- Oracle 官方文件下載Oracle
- ORACLE官方文件歸類Oracle
- Jrockit documentation官方文件
- kafka官方幫助文件Kafka
- [譯] AsyncDisplayKit/Texture 官方文件(1)
- docker官方文件翻譯3Docker
- [譯] AsyncDisplayKit/Texture 官方文件(2)
- docker官方文件翻譯4Docker
- rabbitmq 官方文件翻譯-2MQ
- Kafka官方文件V2.7Kafka
- UNITY官方文件:事件函式Unity事件函式
- [python官方文件]9類Python
- docker官方文件翻譯5Docker
- docker官方文件翻譯2Docker
- docker官方文件翻譯1Docker
- ApacheStorm官方文件——基礎概念ApacheORM
- 蘋果官方文件閱讀指南蘋果
- 《Kafka官方文件》設計(一)Kafka
- 《React官方文件》之教程TutorialReact
- Core Foundation 官方文件翻譯
- Oracle官方中文支援文件Oracle
- Python官方文件:Descriptor 指南Python
- RHEL7 官方文件地址
- oracle不同版本的官方文件Oracle
- 憑證分割官方文件 地址