《MySQL數據庫unique索引和index索引性能比較》要點:
本文介紹了MySQL數據庫unique索引和index索引性能比較,希望對您有用。如果有疑問,可以聯系我們。
測試環境 Centos6.5 Mysql5.5.53 引擎 InnoDB
select * from index_users where username_clean=’xxxx’
select * from uk_users where username_clean=’xxxx’
然后從三次測試成果可以看出,用unique做的索引比用index的索引執行的平均時間都要快一些.
歡迎添加微信號‘xha911’,配合探討
《MySQL數據庫unique索引和index索引性能比較》是否對您有啟發,歡迎查看更多與《MySQL數據庫unique索引和index索引性能比較》相關教程,學精學透。維易PHP學院為您提供精彩教程。
轉載請注明本頁網址:
http://www.snjht.com/jiaocheng/8684.html