Code24Lab
Databases & SQL Advanced

Oracle SQL Mastery: Tuning, PL/SQL Essentials & Advanced Features

Calculate cardinalities and plan costs like the optimizer, use bind variables well, and write PL/SQL with cursors, exceptions, BULK COLLECT, FORALL, packages and Flashback, with every answer checked as you go.

21 lessons 21 labs Certificate

  • One-time payment
  • Instant access right after payment
  • Secure checkout with Stripe

About this course

Oracle SQL Mastery is an advanced, hands-on course for developers who already write Oracle SQL. You calculate row estimates the way the optimizer does, from num_distinct, histograms and join statistics, compare them with actual rows, and cost index scans, full scans, nested loops and hash joins. You measure what hard parsing and bind peeking cost, then write and trace PL/SQL: blocks, loops, explicit cursors, SQL%ROWCOUNT, exception handling, savepoints, BULK COLLECT with LIMIT, FORALL with SAVE EXCEPTIONS and package state. Flashback Query, undo sizing and a full tuning case finish the course. Every answer is checked instantly, and the first lesson is free.

Lessons

  1. Reading a Plan: Estimated vs Actual RowsLabFree
  2. Selectivity for Ranges, NULLs and Combined PredicatesLab Locked
  3. Histograms: Estimates for Skewed DataLab Locked
  4. Join Cardinality: How Many Rows a Join ReturnsLab Locked
  5. Nested Loops vs Hash Join: Counting the WorkLab Locked
  6. Index Access Cost and the Clustering FactorLab Locked
  7. Bind Variables and the Cost of Hard ParsingLab Locked
  8. Bind Peeking and Adaptive Cursor SharingLab Locked
  9. PL/SQL Blocks, Variables and IF LogicLab Locked
  10. Loops: WHILE, FOR, EXIT and CONTINUELab Locked
  11. Explicit Cursors and the %NOTFOUND TrapLab Locked
  12. SQL%ROWCOUNT and SELECT INTO RulesLab Locked
  13. Exceptions: Where the Handler Sits MattersLab Locked
  14. Transactions, Savepoints and Statement-Level RollbackLab Locked
  15. Row by Row vs Set-Based: Counting Context SwitchesLab Locked
  16. BULK COLLECT with LIMIT and the Lost Last BatchLab Locked
  17. FORALL and SAVE EXCEPTIONSLab Locked
  18. Packages and Per-Session StateLab Locked
  19. Flashback Query: Reading the PastLab Locked
  20. Undo Retention, Sizing and ORA-01555Lab Locked
  21. Capstone: Tuning a Nightly PL/SQL JobLab Locked