Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Scripts for Oracle Performance Analysis and Tuning
Rating: 4.2 out of 5(22 ratings)
517 students

Scripts for Oracle Performance Analysis and Tuning

Health check script, Wait Events based Performance Analysis, the History of SQL executions, Run time explain plan etc.
Created byAlex Iving
Last updated 9/2026
English
English [Auto],

What you'll learn

  • My students will get enough confidence and tools to face critical production problems and resolve them in minutes.
  • Identify and optimize the poorly performing SQL.
  • Learn different performance tuning methods.
  • Learn major concepts and terminology for Performance Tuning
  • Understand special cases in Performance Tuning
  • Learn various techniques to influence Optimizer decision.
  • How to resolve critical performance problem using the scripts and step by step approach.
  • How to use provided scripts for performance analysis and tuning
  • How to analyze Oracle database/application performance.
  • Identify potential performance bottlenecks by examining run-time execution plan.
  • To get comprehensive list of possible causes of database performance problems.
  • Learn how to import sql profiles
  • How to resolve performance problems in RAC environment, for OGG, Exadata.
  • How to identify performance bottleneck by using Wait events approach.
  • How to produce comprehensive health check report in Multitenant RAC environment ( Linux, Unix) in minutes.
  • How to analyze the history of SQL execution statistics to understand the possible cause of the degradation.

Course content

8 sections • 34 lectures • 4h 35m total length
  • Introduction8:34

    This is the introduction to the course, answering the obvious question : "Why you might need old dba scripts with OEM, AWR reports, ADDM, Chat GPT available for Performance Analysis and Tuning.

  • About myself and the course.6:40

    Learn practical Oracle performance tuning via a library of 70+ scripts, including health checks, wait events analysis, and FindSQL history to optimize SQL and storage.

  • Performance Troubleshooting scenarios8:01

    Master performance troubleshooting by gathering user details and using Oracle Enterprise Manager, Performance Hub, Ash Analytics, and Grafana to identify degraded SQL and plan hash value changes.

  • The last word before you start learning4:13
  • Performance Troubleshooting Scenarios

Requirements

  • Understanding of Oracle Fundamentals
  • Oracle Performance Tuning Academical knowledge
  • Knowledge of important historical views, like DBA_HIST_SQLSTAT, DBA_HIST_ACTIVE_SESS_HISTORY etc.

Description

•The scripts, you are going to download, test and use are result of my over 24 years career as Oracle dba. The scripts which helped me to resolved thousands of performance issues.


•From my experience OEM, STA, AI are a great help in performance analysis and tuning, but you still need good old scripts. In very complex performance problem, STA usually is useless. The same true about ChatGPT.


•You need the scripts to quickly check the services status, the roles and the nodes (preferred and where the services are running) in RAC environment which is a standard nowadays) .


•You need the script to find mismatched sequences and identity columns and quickly fix them.


•You should know how to produce explain plan with a run time statistics and how to find bind variable values in the past executions.


•You should know how to get quickly the parameters changing history and the wait events history.


•In this course you will download the health check shell script to run over 70 individual health checks quickly ( up to 2 minutes).


•The top wait events script will let you create the performance graphs to identify critical spikes, based on various wait classes.


•The Find Sql script helps you to find the problem SQL in the past or all the history of specific session. The Temp Usage history and PGA Usage History could be very useful to the SQL statements responsible for ORA-1652 and ORA-4036 in the past.


•Top N SQL script will help you to find the top SQL in the past by elapsed time or buffer gets value or number of executions.


•The History of SQL executions could be very helpful in your performance analysis. The root cause analysis can start here with analyzing the dynamics of SQL statistics: PHV, elapsed time, buffer gets, rows returned, total waits etc.


•The other scripts will help you in special situations, such as there is no recommendations from STA and you need to get the run time statistics in explain plan, you need to import sql profile from another database with optimal performance, to get the bind variables values history, to identify the stale or locked statistics, to identify fragmented table or index storage, to deal with ORA-1555, to get parameters change history, to fix the sequences mismatch, to apply Sql Patch and sql profile ( including custom by Carlos Sierra), to deal with logon storm, with excessive cluster related waits and more.

Who this course is for:

  • The course is intended for senior Oracle dba, who want to improve the tuning skills.
  • With the scripts you download and test in your environment you will become the best Oracle specialist in Performance Tuning. Just work hard and trust my scripts and yourself.