mysql-最佳化班學習-8-20170606-MySQL索引

來源:互聯網
上載者:User

標籤:ext   alt   自增列   int   助教   hot   計算   tokudb   pac   

 MySQL索引

索引、事務、鎖、InnoDB引擎

 

 

 

 

 

 

 

 tablespace\segment\extended\page\row 

 

 

gaopengtttt ,MySQL InnoDB 如何計算B+樹表的最大容量和行數,http://blog.itpub.net/7728585/viewspace-2139931/

 tokudb
【管理員】助教-Gakki<[email protected]>  21:13:37
ibd檔案
【管理員】助教-Gakki<[email protected]>  21:13:42
50G  單表不要超過50G 

 

 

  heap引擎,重啟後,所有資料都丟失    http://imysql.com/2016/01/06/mysql-faq-different-between-btree-and-hash-index.shtml , B+樹索引和hash索引的區別 

 

   cpu %user很高
【管理員】助教-Gakki<[email protected]>  21:46:19
10有8,9是索引使用不當
【管理員】助教-Gakki<[email protected]>  21:46:26
如果是cpu的%sys很高  

 【管理員】助教-Gakki<[email protected]>  22:10:59
InnoDB引擎,就是ORACLE的IOT表
MyISAM引擎,就是ORACLE的HOT表  

 【管理員】助教-Gakki<[email protected]>  22:31:20
https://dev.mysql.com/doc/refman/5.7/en/index-extensions.html
【管理員】助教-Gakki<[email protected]>  22:31:26
[MySQL FAQ]系列 — 為什麼InnoDB表要建議用自增列做主鍵,http://imysql.com/2014/09/14/mysql-faq-why-innodb-table-using-autoinc-int-as-pk.shtml
【管理員】助教-Gakki<[email protected]>  22:31:31
[MySQL最佳化案例]系列 -- InnoDB主鍵設計,http://imysql.com/2010/08/03/sth_about_innodb_primary_key_design.html

 

               

mysql-最佳化班學習-8-20170606-MySQL索引

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.