您好,登錄后才能下訂單哦!
這篇文章主要講解了“MySQL 5.5的innodb_purge_threads怎么使用”,文中的講解內容簡單清晰,易于學習與理解,下面請大家跟著小編的思路慢慢深入,一起來研究和學習“MySQL 5.5的innodb_purge_threads怎么使用”吧!
在之前版本,碎片回收操作是主線程的一部分,這經定期調度的方式運行,但會阻塞數據庫的其他操作;到5.5以后,可以將這個線程獨立出來 ;方法:innodb_purge_threads =1
這個應該能讓碎片回收得更及時而且不影響其他線程的操作;
Improved Purge Scheduling
- The InnoDB purge operation is a type of garbage collection that runs
periodically. In previous versions, the purge was part of the master thread, meaning that it could
block other database operations when running. In MySQL 5.5 this operation can run in its own
thread, allowing for more concurrency. Users can control whether the purge operation is split into its
own thread with the innodb_purge_threads configuration option, which can be set to 0 (the
default) or 1 (for a single separate purge thread).
感謝各位的閱讀,以上就是“MySQL 5.5的innodb_purge_threads怎么使用”的內容了,經過本文的學習后,相信大家對MySQL 5.5的innodb_purge_threads怎么使用這一問題有了更深刻的體會,具體使用情況還需要大家實踐驗證。這里是億速云,小編將為大家推送更多相關知識點的文章,歡迎關注!
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。