Hacking Session: Oracle SQL Monitoring - Understanding the Execution Timeline column and CPU usage

2020-05-08

Update: I have uploaded the videos of this hacking session to YouTube.

I will run another hacking session that has been in my mind for a while. It will be a pretty narrow deep-dive into one of the SQL Monitoring report’s columns that is not well explained:

Oracle SQL Monitoring - Understanding the Execution Timeline column

In this hacking session, I will explain how to read the “Execution Timeline” column in the SQL Monitoring reports. There are some gotchas and things that look like inconsistencies to be aware of.

You’ll learn how to read this and why do there seem to be glitches in the row source start times in some cases:

SQL Monitoring Execution Timeline Column

As an additional bonus topic, I will show a few examples where SQL Monitoring numbers don’t always seem to make sense:

  1. The CPU time in the plan “Activity” section is reported much bigger than the CPU time in the report header
  2. Why the (serial) query Duration is shorter than DB Time reported in the SQL Monitoring report

CPU Activity vs CPU Usage in the SQL Monitor report header

SQL Monitoring CPU Activity Overreporting

What’s going on with this huge discrepancy?!

Serial query’s Duration less than DB Time?!

SQL Monitoring Serial Query Duration

For parallel queries, a much shorter Duration (wall-clock time) than DB Time (total time all the PX slaves plus QC have spent actively doing work) is understandable. But sometimes you see Duration shorter than DB Time even for serial queries, what’s going on?!

Date & Time:

Registration:

Preparation:

Thanks for signing up!

Note that this is a follow-up hacking session that goes deeper into more advanced topics of SQL Monitor reading and gotchas. Before attending this webinar, you should ideally review my earlier SQL Monitoring hacking session video:

“See” you soon!


  1. I am finally close to launching the completely rebuilt 2024 versions of my Linux & AOT classes in my Learning Platform! (Updates to SQL Tuning class in H2 2024):
    Advanced Oracle SQL Tuning training. Advanced Oracle Troubleshooting training, Linux Performance & Troubleshooting training. Check them out!
  2. Get randomly timed updates by email or follow Social/RSS