mysql-优化班学习-8-20170606-MySQL索引
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了mysql-优化班学习-8-20170606-MySQL索引相关的知识,希望对你有一定的参考价值。
mysql索引
索引、事务、锁、InnoDB引擎
![技术分享](https://image.cha138.com/20210628/1541da40005d4609a37552768afe9c82.jpg)
![技术分享](https://image.cha138.com/20210628/e603081de7ef42469a3d109f81a657b4.jpg)
tablespace\\segment\\extended\\page\\row
![技术分享](https://image.cha138.com/20210628/9852eb74ab404af5aa6d26bfbd75df27.jpg)
gaopengtttt ,MySQL InnoDB 如何计算B+树表的最大容量和行数,http://blog.itpub.net/7728585/viewspace-2139931/
![技术分享](https://image.cha138.com/20210628/aa75fcc3816f47e591898e1ff72a3ed2.jpg)
tokudb
【管理员】助教-Gakki<[email protected]> 21:13:37
ibd文件
【管理员】助教-Gakki<[email protected]> 21:13:42
50G 单表不要超过50G
【管理员】助教-Gakki<[email protected]> 21:13:37
ibd文件
【管理员】助教-Gakki<[email protected]> 21:13:42
50G 单表不要超过50G
![技术分享](https://image.cha138.com/20210628/0ebf7c0c3e0a46158367f705ebae53a8.jpg)
![技术分享](https://image.cha138.com/20210628/f4e28d977ac04bc9b40246148ffbae61.jpg)
heap引擎,重启后,所有数据都丢失
http://imysql.com/2016/01/06/mysql-faq-different-between-btree-and-hash-index.shtml , B+树索引和hash索引的区别
![技术分享](https://image.cha138.com/20210628/38f8389a27514a5291dd64592b4baf91.jpg)
![技术分享](https://image.cha138.com/20210628/b0cdafa102084d76b1f3f2bc1bb5c528.jpg)
cpu %user很高
【管理员】助教-Gakki<[email protected]> 21:46:19
10有8,9是索引使用不当
【管理员】助教-Gakki<[email protected]> 21:46:26
如果是cpu的%sys很高
【管理员】助教-Gakki<[email protected]> 21:46:19
10有8,9是索引使用不当
【管理员】助教-Gakki<[email protected]> 21:46:26
如果是cpu的%sys很高
![技术分享](https://image.cha138.com/20210628/584996dad5f949d0a03de9ff6cd2766a.jpg)
【管理员】助教-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
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索引的主要内容,如果未能解决你的问题,请参考以下文章
mysql-优化班学习-5-20170523-mysql的体系结构
mysql-优化班学习-6-20170525-mysql的体系结构
mysql-优化班学习-8-20170606-MySQL索引