当前位置:网站首页>AWR analysis report questions for help: How can SQL be optimized from what aspects?
AWR analysis report questions for help: How can SQL be optimized from what aspects?
2022-08-02 02:08:00 【Malan open】
Other Answer 1:

Other Answer 2:
I hope it helps you
https://www.modb.pro/db/13170Other Answer 3:
The provided AWR report, the time span is too large and has little reference value, it is recommended to take the awr and ash report information in the stuck time period
Other Answer 4:
Basically look at several key points of Load Profile.
Redo size to see if there is a lot of writing.Generally, the archive is full, and the disk is insufficient to see this.
Logical read See if the amount of data read is not large.Generally, in an environment where the hardware conditions meet the standard, the larger this value is, the busier the system is.(A poorly written SQL will also keep the database busy)
Block changes to see how much data is written.
Physical read to see if the SQL is well written, or if the hardware is not powerful (the memory is too small).
Executes (SQL): The number of SQL executed per second.See if the business is complicated
Transactions: The number of transactions performed per second.See if the system is busy
In fact, it is all SQL together, so I have controlled everything here, and there is no problem.

边栏推荐
- 【轮式里程计】
- Analysis of volatile principle
- 云和恩墨:让商业数据库时代的价值在openGauss生态上持续繁荣
- 2022-08-01 Reflection
- Effects of Scraping and Aggregation
- 『网易实习』周记(一)
- 飞桨助力航天宏图PIE-Engine地球科学引擎构建
- bool框架::PosInGrid (const简历:关键点kp, int &posX, int诗句)
- Multi-Party Threshold Private Set Intersection with Sublinear Communication-2021:解读
- Software testing Interface automation testing Pytest framework encapsulates requests library Encapsulates unified request and multiple base path processing Interface association encapsulation Test cas
猜你喜欢

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

typescript30-any类型

"NetEase Internship" Weekly Diary (2)

typescript31-any类型

typescript32-ts中的typeof

MySQL优化策略

3.Bean的作用域与生命周期

AWR分析报告问题求助:SQL如何可以从哪几个方面优化?

力扣 1374. 生成每种字符都是奇数个的字符串

nacos启动报错,已配置数据库,单机启动
随机推荐
oracle查询扫描全表和走索引
"NetEase Internship" Weekly Diary (2)
项目后台技术Express
Garbage Collector CMS and G1
Chengdu openGauss user group recruit!
LeetCode刷题日记: 33、搜索旋转排序数组
6-24 exploit-vnc password cracking
MySQL8 download, start, configure, verify
LeetCode刷题日记:74. 搜索二维矩阵
Redis Persistence - RDB and AOF
【ORB_SLAM2】SetPose、UpdatePoseMatrices
【LeetCode每日一题】——103.二叉树的锯齿形层序遍历
MySQL optimization strategy
[ORB_SLAM2] void Frame::ComputeImageBounds(const cv::Mat & imLeft)
数据链路层的数据传输
HSDC is related to Independent Spanning Tree
"NetEase Internship" Weekly Diary (1)
LeetCode brushing diary: 33. Search and rotate sorted array
Fundamentals of Cryptography: X.690 and Corresponding BER CER DER Encodings
Ask God to answer, how should this kind of sql be written?