Oracle Apps DBA: Keeping E-Business Suite Alive · Module 11 · Performance: finding the actual problem
Finding the expensive SQL
Lesson 117 of 184 · 2 min
NOT THE SLOWEST STATEMENT — the one whose TOTAL COST DOMINATES. THEY ARE USUALLY NOT THE SAME STATEMENT. This distinction decides where tuning effort goes, and getting it wrong is why so much tuning work produces no measurable improvement. THE SLOWEST STATEMENT IS THE ONE SOMEBODY COMPLAINS ABOUT. A report taking four minutes, run twice a day. Total cost: eight minutes of database time a day. THE EXPENSIVE STATEMENT IS OFTEN ONE NOBODY MENTIONS. A query taking two hundred milliseconds, run forty thousand times a day. Total cost: over two hours of database time, and nobody has ever noticed it because individually it is fast. SO FIXING THE FOUR-MINUTE REPORT MAKES ONE PERSON HAPPY AND CHANGES NOTHING ABOUT THE SYSTEM. Halving the two-hundred-millisecond query returns an hour of database capacity a day to everybody — which shows up as the whole system being more responsive, with no single user able…
The full lesson is part of the course
The video, the complete written lesson and the module quiz are included in Oracle Apps DBA: Keeping E-Business Suite Alive, with a certificate on completion and a fourteen-day refund window.
In this module: Module 11 · Performance: finding the actual problem
- 1Measure before you tuneFree preview
- 2"The system is slow": turning that into a question
- 3Where time actually goes
- 4AWR and ASH, used properly
- 5A baseline is what makes a report meaningful
- 6Finding the expensive SQL
- 7Execution plans, enough to act
- 8Statistics: the commonest real cause
- 9Locking and blocking
- 10When it is the application, not the database
- 11What breaks: four performance investigations that went wrong
- 12Lab briefing · Diagnose three slow systems
