anton topurov it department – db group
DESCRIPTION
Database Performance Tuning with EM12c. Anton Topurov IT Department – DB Group. Agenda. Database Performance Tuning Enterprise Manager 11 Enterprise Manager 12 Conclusions. Database DB Time. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Anton Topurov IT Department – DB Group](https://reader036.vdocuments.net/reader036/viewer/2022062410/56816323550346895dd39e80/html5/thumbnails/1.jpg)
Anton TopurovIT Department – DB Group
Database Performance Tuning with EM12c
![Page 2: Anton Topurov IT Department – DB Group](https://reader036.vdocuments.net/reader036/viewer/2022062410/56816323550346895dd39e80/html5/thumbnails/2.jpg)
Database Performance TuningEnterprise Manager 11Enterprise Manager 12Conclusions
Agenda
![Page 3: Anton Topurov IT Department – DB Group](https://reader036.vdocuments.net/reader036/viewer/2022062410/56816323550346895dd39e80/html5/thumbnails/3.jpg)
Database Time is total time spent by user processes either actively working or actively waiting in a database call.
Total time spent inside database calls by active foreground sessions
Includes CPU time, IO time and non-idle wait time
Fundamental measure of Oracle performance throughput
Source: Oracle
Database DB Time
![Page 4: Anton Topurov IT Department – DB Group](https://reader036.vdocuments.net/reader036/viewer/2022062410/56816323550346895dd39e80/html5/thumbnails/4.jpg)
Active Sessions
•In a database call•Contributing to DB Time
Active
•Active Time ÷ Elapsed TimeAverage
Activity of a Session
•Total of average activity across all sessions
•Total DB Time ÷ Elapsed Time Average Active
Sessions
Source: Oracle
![Page 5: Anton Topurov IT Department – DB Group](https://reader036.vdocuments.net/reader036/viewer/2022062410/56816323550346895dd39e80/html5/thumbnails/5.jpg)
Average Active Sessions
How many fully active sessions required to generate observed DB Time?
• Proportional to load on the database• Responds directly to performance problems
Fundamental database performance metric
• Across systems• Across time periods
Time-normalized DB Time and thus comparable
Source: Oracle
![Page 6: Anton Topurov IT Department – DB Group](https://reader036.vdocuments.net/reader036/viewer/2022062410/56816323550346895dd39e80/html5/thumbnails/6.jpg)
6
Performance Tuning in EM 11
![Page 7: Anton Topurov IT Department – DB Group](https://reader036.vdocuments.net/reader036/viewer/2022062410/56816323550346895dd39e80/html5/thumbnails/7.jpg)
Performance Page
7
![Page 8: Anton Topurov IT Department – DB Group](https://reader036.vdocuments.net/reader036/viewer/2022062410/56816323550346895dd39e80/html5/thumbnails/8.jpg)
Drill down to root cause
8
![Page 9: Anton Topurov IT Department – DB Group](https://reader036.vdocuments.net/reader036/viewer/2022062410/56816323550346895dd39e80/html5/thumbnails/9.jpg)
9
Performance Tuning in EM 12
![Page 10: Anton Topurov IT Department – DB Group](https://reader036.vdocuments.net/reader036/viewer/2022062410/56816323550346895dd39e80/html5/thumbnails/10.jpg)
New features EM12c
• ASH Analytics– Active Session History Based– Fine Grained filtering
• Active Reports– Interactive reports without connection to EM– Save or send
• Emergency Monitoring– When database is hanged– Get data directly from the host
10
![Page 11: Anton Topurov IT Department – DB Group](https://reader036.vdocuments.net/reader036/viewer/2022062410/56816323550346895dd39e80/html5/thumbnails/11.jpg)
Case Study # 1: Slow response time due to high I/O
• Sliced the data on RMAN I/O• Drilling down to corresponding wait event and histograms• Slow network speed due to MTU 1500 on OVM
Wait Class
Add Filter
Histogram
Wait Event
11
ASH Analytics
![Page 12: Anton Topurov IT Department – DB Group](https://reader036.vdocuments.net/reader036/viewer/2022062410/56816323550346895dd39e80/html5/thumbnails/12.jpg)
12
![Page 13: Anton Topurov IT Department – DB Group](https://reader036.vdocuments.net/reader036/viewer/2022062410/56816323550346895dd39e80/html5/thumbnails/13.jpg)
13
![Page 14: Anton Topurov IT Department – DB Group](https://reader036.vdocuments.net/reader036/viewer/2022062410/56816323550346895dd39e80/html5/thumbnails/14.jpg)
Emergency Monitoring
• Uses host credentials– Gets info directly from the host
14
![Page 15: Anton Topurov IT Department – DB Group](https://reader036.vdocuments.net/reader036/viewer/2022062410/56816323550346895dd39e80/html5/thumbnails/15.jpg)
Conclusions
• More performance features– Visualization on focus
• Greater level of flexibility– More filtering dimensions– Flexible duration timelines
• Emergency tools– Can be used when nothing else helps
• All user friendly
15
![Page 16: Anton Topurov IT Department – DB Group](https://reader036.vdocuments.net/reader036/viewer/2022062410/56816323550346895dd39e80/html5/thumbnails/16.jpg)
16
Questions?
![Page 17: Anton Topurov IT Department – DB Group](https://reader036.vdocuments.net/reader036/viewer/2022062410/56816323550346895dd39e80/html5/thumbnails/17.jpg)
17
Thank you!
![Page 18: Anton Topurov IT Department – DB Group](https://reader036.vdocuments.net/reader036/viewer/2022062410/56816323550346895dd39e80/html5/thumbnails/18.jpg)
18