当前位置:网站首页>2022-08-01 Reflection
2022-08-01 Reflection
2022-08-02 02:08:00 【Emperor Zun Wu Shi】
Commonalities of slow SQL problems encountered:
- These slow SQL problems encountered are not only unilateral, but also the designer of the module's architectural ability and lack of understanding of the basic knowledge of computer systems. While the system is well designed, the performance of the systemIt was also designed together.The performance problem didn't happen by accident
- The memory management part is extremely bad, redundant memory copies, unlimited requests for memory, when to use buffers and their occupancy issues
- The design of parallel execution failed to achieve its purpose, and the final execution of three slow SQLs only used one cpu core, which actually became serial execution
Thinking:
- Performance analysis tools can actually do some more in-depth analysis, which is convenient for users to analyze slow SQL. Now most of them use per flame graph and explain query plan for macro analysis, use mysql workbench performance to view the statistics of mysql itself, and use the codeBuried point log coloring for detailed analysis.You can start to do some more detailed analysis reports similar to oracle awr
- Details, details, or details, after understanding the big module interaction, the key lies in understanding the details.Any line of code requires reflection.
- For a paper and optimization direction, the best way is to implement it in person and create it with the owner consciousness, so that it can be integrated with it.Just knowing, but not being able to do it, is not knowing.
边栏推荐
猜你喜欢

LeetCode Brushing Diary: 74. Searching 2D Matrix

Project Background Technology Express

拼多多借力消博会推动国内农产品品牌升级 看齐国际精品农货

LeetCode刷题日记:74. 搜索二维矩阵

2023年起,这些地区软考成绩低于45分也能拿证

oracle query scan full table and walk index

【LeetCode每日一题】——103.二叉树的锯齿形层序遍历

Day115. Shangyitong: Background user management: user lock and unlock, details, authentication list approval

ofstream,ifstream,fstream读写文件

HSDC和独立生成树相关
随机推荐
The underlying data structure of Redis
数据链路层的数据传输
3. Bean scope and life cycle
Rasa 3.x 学习系列- Rasa - Issues 4873 dispatcher.utter_message 学习笔记
Ask God to answer, how should this kind of sql be written?
HSDC is related to Independent Spanning Tree
Day115.尚医通:后台用户管理:用户锁定解锁、详情、认证列表审批
typeof in typescript32-ts
飞桨开源社区季度报告来啦,你想知道的都在这里
乱七八糟的网站
手写博客平台~第二天
bool框架::PosInGrid (const简历:关键点kp, int &posX, int诗句)
Shell入门终章
Record the pits where an error occurs when an array is converted to a collection, and try to use an array of packaging types for conversion
Golang分布式应用之Redis
MySQL8 download, start, configure, verify
LeetCode Review Diary: 34. Find the first and last position of an element in a sorted array
【ORB_SLAM2】void Frame::AssignFeaturesToGrid()
手写一个博客平台~第一天
『网易实习』周记(三)