mysql知识资源收集

收集一下mysql所需的文档,供后面查阅和学习。整理了下,大致需要如下的一些:

一.基础知识,包括安装,基础命令使用等

基础知识

https://www.runoob.com/mysql/mysql-administration.html
http://www.matools.com/api/mysql
https://www.mysqlzh.com/doc/263.html (内容同上,排版稍微好一些)

命令行大全:

https://blog.csdn.net/jin13277480598/article/details/52504592

图形大纲:

https://www.processon.com/view/link/58805970e4b098bf4cddc5cd#map

二.mysql库中表对应的作用和字段作用

https://www.cnblogs.com/kissdodog/p/4173337.html

三.mysql配置详解

https://blog.csdn.net/niuxitong/article/details/89841090
https://blog.csdn.net/czz1141979570/article/details/78581063

四.优化和特性和一些骚操作

官方文档:

https://www.mysql.com/cn/why-mysql/performance/index.html

优化原理:

https://dbaplus.cn/news-155-1531-1.html

优化:

https://blog.csdn.net/johnstrive/article/details/46437547
https://www.jianshu.com/p/4af41b682e06
http://www.zacms.com/index.php/archives/70/

MySQL索引及其实现原理:

https://cloud.tencent.com/developer/article/1125452

Explain执行计划应用:

https://blog.csdn.net/wx1528159409/article/details/83819985

使用技巧:

https://www.cnblogs.com/xiezunxu/articles/8309143.html
https://blog.csdn.net/makai554892700/article/details/80000675
https://blog.csdn.net/BushQiang/article/details/93492716

锁:

https://blog.csdn.net/tengdazhang770960436/article/details/98482548
https://yq.aliyun.com/articles/646976

bin log

问题集合
http://www.zacms.com/index.php/archives/264/
Binlog 介绍
https://blog.csdn.net/wwwdc1012/article/details/88373440
Binlog 原理
https://blog.csdn.net/lzhcoder/article/details/88814364
Mysql Binlog三种格式
https://blog.csdn.net/vhomes/article/details/8082734
15个mysqlbinlog命令
https://blog.csdn.net/worldchinalee/article/details/79972053
Binlog分析+可视化方案
https://yq.aliyun.com/articles/587278?utm_content=m_1000012750

360 MySQL 协议的抓包工具

http://www.zacms.com/index.php/archives/412/

引擎特性 · Group Replication内核解析

https://yq.aliyun.com/articles/175055?spm=a2c4e.11153940.0.0.22df7e16OvbPBu

五.备份和恢复

MySQL备份原理详解

https://www.cnblogs.com/cchust/p/5452557.html

SQL语句备份:

https://www.jianshu.com/p/3cfaa82725c5

常见备份恢复工具:

https://blog.csdn.net/whusj/article/details/83342681

MySQL备份与恢复实战案例及生产方案:

https://blog.51cto.com/10642812/2071532

MySQL常见备份与恢复方案

常见备份与恢复方案:
https://blog.csdn.net/whusj/article/details/83342681 (这里的部分示例经测试有部分有问题,请注意)

mysqldump:
https://www.cnblogs.com/yinzhengjie/p/7923309.html

Xtrabackup:
https://www.cnblogs.com/linuxk/p/9372990.html

lvm + binlog:
https://blog.csdn.net/weixin_41979048/article/details/80717809

MySQL实时在线备份恢复方案:Replication+LVM Snapsho
https://www.linuxidc.com/Linux/2019-08/160147.htm

mysql闪回

什么是闪回
https://www.iteye.com/blog/dinglin-1539167

Flashback for MySQL 5.7
https://mp.weixin.qq.com/s?__biz=MjM5MjIxNDA4NA==&mid=2649737874&idx=1&sn=a993322ae58db541c2cf4d9a1efa3063&chksm=beb2d7b989c55eafb7ddcadb28f45bb6018b3e9e65df20b30217fe8cb26d3d444d58076f2d76&mpshare=1&scene=1&srcid=1228ta3qs3QIN6FS4AUCuCKm#rd

MySQL闪回原理与实战
https://github.com/danfengcao/binlog2sql/blob/master/example/mysql-flashback-priciple-and-practice.md

六.高可用

分表

https://blog.csdn.net/lihuarongaini/article/details/97964350

读写分离

原理
https://www.jianshu.com/p/84d8f40c07aa
实现
https://www.jianshu.com/p/70d94a8f6491

复制

原理:
https://www.cnblogs.com/f-ck-need-u/p/9155003.html

基于复制的高可用架构技术

五大常见的MySQL高可用方案
https://www.jianshu.com/p/ca2225e3e1f7

监控

zabbix
https://blog.csdn.net/u012599988/article/details/81026998

云数据库

七.实现原理

mysql协议

https://www.cnblogs.com/davygeek/p/5647175.html
https://www.cnblogs.com/davygeek/p/5647581.html

mysql引擎

https://blog.csdn.net/m0_37888031/article/details/80664138
对比
https://www.cnblogs.com/sunsky303/p/8274586.html
InnoDb引擎MVCC原理详解
https://cloud.tencent.com/developer/news/448828
innodb存储引擎表空间存储结构
https://segmentfault.com/a/1190000004673132
https://segmentfault.com/a/1190000015438106
InnoDb 和myISAM区别
http://ourmysql.com/archives/1069

八 学习笔记

基础sql和命令掌握后,要再提升一个水平,需要去研究mysql的运行原理、配置及其优化。只有明白了原理和配置项,才有可能做到对优化游刃有余。重点记住执行的那个流程图,清楚mysql执行一条sql经过了哪些步骤。

优化除了配置最重要的就是索引了,理解索引的原理,索引的数据结构和查找方式。 mysql索引用的B tree,从左到右,从大大小,节点大小也硬盘页的大小。 索引的维护用左旋和分裂进行维护,代价较大,要设置合适的索引。 按照经常查询排序,离散度高到底等进行优化,前缀索引节约空间,尽量合并索引,清理无用索引

显示查询时,使用了哪种查询类型,日常工作中经常接触到的有以下7种,性能由最好到最差依次是:
system > const > eq_ref > ref > range > index > ALL

标签: 无

发表评论: