当前位置:网站首页>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.
边栏推荐
- Redis Persistence - RDB and AOF
- Constructor instance method of typescript36-class
- 密码学的基础:X.690和对应的BER CER DER编码
- swift项目,sqlcipher3 -> 4,无法打开旧版数据库有办法解决吗
- PHP uses PHPRedis and Predis
- 3.Bean的作用域与生命周期
- The ultra-large-scale industrial practical semantic segmentation dataset PSSL and pre-training model are open source!
- 电子制造仓储条码管理系统解决方案
- 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
- Personal blog system project test
猜你喜欢

Scheduled tasks for distributed applications in Golang

typescript31-any类型

【LeetCode每日一题】——654.最大二叉树

"NetEase Internship" Weekly Diary (1)

Pcie the inbound and outbound

记录一次数组转集合出现错误的坑点,尽量使用包装类型数组进行转换

typescript32-ts中的typeof

3. Bean scope and life cycle

"NetEase Internship" Weekly Diary (2)

Typescript31 - any type
随机推荐
swift project, sqlcipher3 -> 4, cannot open legacy database is there a way to fix it
typescript37-class的构造函数实例方法继承(extends)
Effects of Scraping and Aggregation
Personal blog system project test
Force buckle, 752-open turntable lock
libcurl访问url保存为文件的简单示例
Golang分布式应用之定时任务
HSDC和独立生成树相关
LeetCode brush diary: LCP 03. Machine's adventure
软件测试 接口自动化测试 pytest框架封装 requests库 封装统一请求和多个基础路径处理 接口关联封装 测试用例写在yaml文件中 数据热加载(动态参数) 断言
LeetCode刷题日记:LCP 03.机器人大冒险
Scheduled tasks for distributed applications in Golang
Check if IP or port is blocked
Constructor of typescript35-class
typescript33-typescript高级概述
AntPathMatcher使用
『网易实习』周记(三)
『网易实习』周记(二)
Simple example of libcurl accessing url saved as file
Speed up your programs with bitwise operations