当前位置:网站首页>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.
边栏推荐
- 成都openGauss用户组招募啦!
- AntPathMatcher使用
- Typescript31 - any type
- Redis 订阅与 Redis Stream
- oracle query scan full table and walk index
- Ask God to answer, how should this kind of sql be written?
- CodeTon Round 2 D. Magical Array
- "Introduction to Natural Language Processing Practice" Question Answering Robot Based on Knowledge Graph
- LeetCode Brushing Diary: 74. Searching 2D Matrix
- 【轮式里程计】
猜你喜欢
Day115.尚医通:后台用户管理:用户锁定解锁、详情、认证列表审批
Software testing Interface automation testing Pytest framework encapsulates requests library Encapsulates unified request and multiple base path processing Interface association encapsulation Test cas
用位运算为你的程序加速
typescript38-class的构造函数实例方法继承(implement)
LeetCode刷题日记:74. 搜索二维矩阵
[LeetCode Daily Question]——654. The largest binary tree
【LeetCode Daily Question】——704. Binary Search
使用百度EasyDL实现厂区工人抽烟行为识别
哈希冲突和一致性哈希
The underlying data structure of Redis
随机推荐
[ORB_SLAM2] void Frame::ComputeImageBounds(const cv::Mat & imLeft)
AOF重写
Win Go开发包安装配置、GoLand配置
个人博客系统项目测试
拼多多借力消博会推动国内农产品品牌升级 看齐国际精品农货
nacos启动报错,已配置数据库,单机启动
LeetCode Review Diary: 153. Find the Minimum Value in a Rotated Sort Array
【LeetCode每日一题】——103.二叉树的锯齿形层序遍历
Garbage Collector CMS and G1
Project Background Technology Express
volatile原理解析
C语言之插入字符简单练习
Handwriting a blogging platform ~ Day 3
云和恩墨:让商业数据库时代的价值在openGauss生态上持续繁荣
Golang分布式应用之Redis
3.Bean的作用域与生命周期
Redis Persistence - RDB and AOF
¶ Backtop back to the top is not effective
Use baidu EasyDL implement factory workers smoking behavior recognition
编码经验之谈