数据库优化需要看的文章和视频

一.文章

https://www.zhihu.com/question/36431635/answer/1276528192
作者:敖丙

Mysql缓存:https://www.cnblogs.com/gdsblog/p/7420997.html

写一手好sql:https://mp.weixin.qq.com/s?__biz=MzIwNjg4MzY4NA==&mid=2247485099&idx=1&sn=9cc71380b6c0fe490d1c559efb20a214&chksm=971b98a0a06c11b62331ab9981446e801628c470fd1b798bc2d2bdf9d1df73e564e4747e1e3c&mpshare=1&scene=22&srcid=&sharer_sharetime=1591365870344&sharer_shareid=dc465b415171ab5163a81d61d7c09958&key=9fbc51e945cd88f5c162e308f2f25f83000ea048313e757ec3026b146c5d1ae13ef888fe17457d4e9c48c8b6dcba3cecab734521d2e7ee7dba0ec2de25925b123fc246b04483e8b472e221a56c2ee8b8&ascene=1&uin=Mjg4OTAwMjQwOQ%3D%3D&devicetype=Windows+7+x64&version=62090070&lang=zh_CN&exportkey=AyxIglQkUwdf4AlP7i9Q7HU%3D&pass_ticket=a304OmflqMiX7%2FFZmwDay32EZ4Ni4jwbiG24x81WB0WotsniTzMdiWJP8yhlkeHr


1TB=1024GB
1GB=1024MB
1MB=1024KB
1KB=1024字节
1MB数据大小:1024*1024 = 1048576 个字节 1048576个英文 1048576/2 = 524288 个汉字
一个英文字所需要1B,而一个汉字需要2B


2.分析SQL占用的时间和资源

分析方法:https://blog.csdn.net/zouyongjin/article/details/6949057
各个字段含义解释:https://blog.csdn.net/sj349781478/article/details/78224713

https://blog.csdn.net/weixin_34389926/article/details/85537373?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-4.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-4.nonecase

注:duration 时间单位是秒

你可能感兴趣的:(数据库优化需要看的文章和视频)