Skip to content

Oracle PL-SQL Performance Tuning Instructor-led Training

Free server access, Class recordings, Certification guidance, Job & Interview assistance, Course Completion Certificate


Uplatz

Summary

Price
£899 inc VAT
Or £74.92/mo. for 12 months...
Study method
Online + live classes
Duration
40 hours · Part-time or full-time
Qualification
No formal qualification
Certificates
  • Uplatz Certificate of Completion - Free
Additional info
  • Tutor is available to students

Add to basket or enquire

Overview

Uplatz offers comprehensive training on Oracle PL-SQL Performance Tuning. This is instructor-led online course.

Oracle PL/SQL Performance Tuning refers to the methodologies and techniques involved in improving the performance of PL/SQL queries.

It is important for every developer to tune the PL/SQL code. PL/SQL performance tuning is very important while adding business logic in oracle. PL/SQL engine uses the PL/SQL optimizer to rearrange the code for better performance. This Oracle PL/SQL Performance Tuning course will provide a deep-dive into PL/SQL performance tuning and what changes programmer needs to do for tuning the performance of PL/SQL code.


As a database developer/architect you may not want to tread the path that leads to the desk of the DBA. There are many things you can do to improve the run-time performance of your statements:

  • Optimize access structures:
    • Database design and normalization.
    • Tables: heap or index-organized tables, and table or indexed clusters.
    • Indexes.
    • Constraints.
    • Materialized views.
    • Partitioning schemes.
    • Statistics, including a comprehensive refresh strategy.
  • Rewrite SQL statements:
    • Exclude projections that are not required.
    • Minimize the amount of work done more than once.
    • Factor subqueries that are used multiple times in the same statement.
    • Use EXISTS instead of IN because the former stops processing once it has found a match.
    • Use CASE and/or DECODE to avoid having to scan the same rows over and over again, especially for aggregation functions that act on different subsets of the same data.
    • Use analytic functions to do multiple or moving/rolling aggregations with a single pass through the data.
    • Avoid scalar subqueries in the SELECT-list.
    • Use joins instead of subqueries, as it gives the optimizer more room to play around in.
    • Say what you mean and pick the right join: if you only need an inner join don’t write an outer join.
    • Add logically superfluous predicates that may still aid in the search for an optimal execution plan, particularly for outer joins.
    • Avoid implicit conversions of data types, especially in the WHERE clause.
    • Write WHERE clause predicates with a close eye on the indexes available, including the leading edge of a composite index.
    • Avoid, whenever possible, comparison operators such as <>, NOT IN, NOT EXISTS, and LIKE without a leading '%' for indexed columns in predicates.
    • Do not apply functions on indexed columns in the WHERE clause when there is no corresponding function-based index.
    • Don’t abuse HAVING to filter rows before aggregating.
    • Avoid unnecessary sorts, including when UNION ALL rather than UNION is applicable.
    • Avoid DISTINCT unless you have to use it.
    • Use PL/SQL, especially packages with stored procedures (and bind variables) and shared cursors to provide a clean interface through which all data requests are handled.
    • Add hints once you have determined that it is right and necessary to do so.

Course media

Resources

  • Course Syllabus - Oracle PL-SQL Performance Tuning - download

Description

Oracle PL/SQL Performance Tuning Course Curriculum

1. Introducing PL/SQL


2. Writing Efficient PL/SQL


3. Arrays and Bulk Binds


4. Caching Session Data


5. PL/SQL Memory Management


6. Cursor Variables and REF CURSOR Type


7. Table Functions and Pipelining


8. Monitoring and Profiling PL/SQL

The advantage of PL/SQL packages to provide all data to users is that there is, when set up properly, exactly one place where a query is written, and that’s the only place where you have to go to to change anything, should you ever wish or need to modify the code. PL/SQL will be in our sights in the next part but suffice to say it is the key to maintainable code on Oracle. Obviously, ad-hoc queries cannot benefit from packages, but at least they profit from having solid access structures, which are of course important to PL/SQL too.

One important thing to keep in mind is that you should always strive to write efficient, legible code, but that premature optimization is not the way to go. Premature optimization involves tinkering with access structures and execution plans; it does not include simplifying, refactoring and rewriting queries in ways that enable Oracle to optimally use the database objects involved.

Rewriting queries with or without hints and studying the corresponding execution plans is tedious and best left for high-impact SQL only: queries that process many rows, have a high number of buffer gets, require many disk reads, consume a lot of memory or CPU time, perform many sorts, and/or are executed frequently. You can identify such queries from the dynamic performance views. Whatever you, the database developer, do, be consistent and document your findings, so that all developers on your team may benefit from your experiences.

Requirements

Passion and determination to achieve your goals!

Career path

Oracle Developer

PL-SQL Performance Tuning

Questions and answers

Currently there are no Q&As for this course. Be the first to ask a question.

Certificates

Uplatz Certificate of Completion

Digital certificate - Included

Course Completion Certificate by Uplatz

Reviews

Currently there are no reviews for this course. Be the first to leave a review.

FAQs

Study method describes the format in which the course will be delivered. At Reed Courses, courses are delivered in a number of ways, including online courses, where the course content can be accessed online remotely, and classroom courses, where courses are delivered in person at a classroom venue.

CPD stands for Continuing Professional Development. If you work in certain professions or for certain companies, your employer may require you to complete a number of CPD hours or points, per year. You can find a range of CPD courses on Reed Courses, many of which can be completed online.

A regulated qualification is delivered by a learning institution which is regulated by a government body. In England, the government body which regulates courses is Ofqual. Ofqual regulated qualifications sit on the Regulated Qualifications Framework (RQF), which can help students understand how different qualifications in different fields compare to each other. The framework also helps students to understand what qualifications they need to progress towards a higher learning goal, such as a university degree or equivalent higher education award.

An endorsed course is a skills based course which has been checked over and approved by an independent awarding body. Endorsed courses are not regulated so do not result in a qualification - however, the student can usually purchase a certificate showing the awarding body's logo if they wish. Certain awarding bodies - such as Quality Licence Scheme and TQUK - have developed endorsement schemes as a way to help students select the best skills based courses for them.