Oracle Advanced PL/SQL

Oracle Advanced PL/SQL

25 Years - The IT Training specialist

3 days @ £1,195.00 exc. VAT 
Course Code: OAP


S7

Oracle Advanced PL/SQL Course Overview

This course, designed for Oracle database administrators and software development personnel who need to gain practical experience of the advanced features of PL/SQL such as program design, packages, cursors, large objects and collections.

It also introduces some of the Oracle-supplied packages.

This Oracle Advanced PL/SQL course is suitable for users of Oracle Database 11g R2 and Oracle Database 12c.

Skills Gained

The delegates will practise:

  • Writing code to interface with external applications and the operating system
  • Creating PL/SQL applications that use collections
  • Implementing a virtual private database with fine-grained access control
  • Manipulating large objects
  • Administering SecureFile LOBs
  • Designing PL/SQL packages and program units for execution efficiency
  • Tuning PL/SQL Code for Performance
  • Improving memory usage with SQL and PL/SQL Result Caching
  • Analyzing PL/SQL Code
  • Profiling and Tracing PL/SQL Code
  • Safeguarding SQL code
  • Miscellaneous New 12c Features

Who will the Course Benefit?

Software development personnel and Oracle database administrators who need to take advantage of the advanced features of PL/SQL in Oracle Database 11g R2 and Oracle Database 12c.

Practical experience of Oracle SQL or SQL Developer and a good working knowledge of the fundamentals of the PL/SQL programming language are required.

Course Objectives

By the end of this Oracle Advanced PL/SQL course delegates will be able to effectively tune PL/SQL code; create subtypes; create and use collections; execute external C programs and Java programs from PL/SQL; use fine-grained access control; use LOB data types and the DBMS_LOB package; use SecureFile LOBs; effectively design cursors; improve memory usage with PL/SQL result caching and SQL result sets and apply coding standards to avoid SQL injection attacks.

Examinations

This Oracle Advanced PL/SQL course will teach the major topics required for the delegate to work towards achieving the following Oracle examinations:

  • Oracle Database 12c: Advanced PL/SQL 1Z0-148
  • Oracle Database 11g: Advanced PL/SQL 1Z0-146

Exams are not included as part of the course.

Before taking any exam, ensure you have the recommended experience. The Oracle website lists all exam requirements and these are updated regularly.

Requirements

Practical experience of Oracle SQL and the PL/SQL programming language is required. This can be gained by attendance on the pre-requisite courses. Familiarity with the Oracle Database is also required.


Oracle Advanced PL/SQL Training Course

Course Introduction

  • Administration and Course Materials
  • Course Structure and Agenda
  • Delegate and Trainer Introductions

Session 1: DESIGNING PL/SQL CODE FOR PERFORMANCE

  • Oracle Predefined Data Types
  • Create Subtypes Based on Existing Types for an Application
  • Guidelines for Cursor Design
  • Use Cursor Variables
  • Pass Cursor Variables as Program Parameters
  • Compare Cursor Variables to Static Cursors
  • DBMS_SQL Functions and New 12c Security Features
  • Specify a White List of PL/SQL Units to Access a Package
  • PL/SQL Bind Types

Session 2: USE COLLECTIONS

  • Overview of Collections
  • Associative Arrays
  • Nested Tables
  • Varrays
  • Create PL/SQL Programs that use Collections
  • Use Collections Effectively

Session 3: ADVANCED INTERFACE METHODS

  • The Benefits of External Routines
  • External Routine Components
  • Call an OS Supplied DLL
  • Call C from PL/SQL
  • Call Java from PL/SQL

Session 4: VPD AND FINE-GRAINED ACCESS CONTROL

  • Overview of Fine-Grained Access Control
  • The Features of Fine-Grained Access Control
  • Overview of an Application Context
  • Create an Application Context
  • Set an Application Context
  • Describe the Package DBMS_RLS
  • Implement a Policy
  • Query the Data Dictionary for Fine-Grained Access Control Information

Oracle Advanced PL/SQL Training Course

Session 5: MANIPULATE LARGE OBJECTS

  • Overview of a LOB Object
  • Manage Internal LOBs
  • Character Large Objects
  • Binary Large Objects
  • External Large Objects - BFILEs
  • Create and Use the DIRECTORY Object to Access and Use BFILEs
  • The DBMS_LOB Package
  • Delete LOBs
  • Create a Temporary LOB using the Package DBMS_LOB

Session 6: ADMINISTER SECUREFILE LOBS

  • Overview of SecureFile LOBs
  • Configure the Environment for SecureFile LOBs
  • Store Documents using SecureFile LOBs
  • Convert BasicFile LOBS to SecureFile LOBs
  • Evaluate the Performance of SecureFile LOBs
  • Establish Space Utilization of a LOB File
  • Set up Encryption
  • Enable Compression and Deduplication

Session 7: TUNING PL/SQL CODE FOR PERFORMANCE

  • Understand the PL/SQL Compiler
  • Influence the Compiler
  • Tuning PL/SQL Programs
  • The DBMS_UTILITY.GET_TIME Function
  • Tuning SQL
  • Reduce the Number of SQL Calls
  • PL/SQL Tuning
  • The FETCH FIRST Clause
  • The DBMS_EXECUTE_PARALLEL Package
  • PL/SQL Functions that Run Faster in SQL
  • PL/SQL Native Compilation

Session 8: USE SQL AND PL/SQL CACHING TO IMPROVE PERFORMANCE

  • The Importance of the Shared Pool
  • Library Cache
  • The Data Dictionary Cache
  • Pinning Code in the Shared Pool
  • SQL and PL/SQL Caching
  • PL/SQL Function Cache
  • Invoker’s Right Function Result Caching
  • The Invalidation of Cache Results
  • The DBMS_RESULTS_CACHE Package

Oracle Advanced PL/SQL Training Course

Session 9: ANALYZE PL/SQL CODE

  • Use Data Dictionary Views to View Coding Information
  • Use Supplied Packages to View Coding Information
  • Use the DBMS_METADATA Package to View Metadata as XML
  • Use the DBMS_METADATA Package to Create DDL that can be used to Re-create Objects
  • Determine Identifier Types and Usages with PL/Scope
  • The UTL_CALL_STACK Package
  • Compile Time Warnings
  • Conditional Compilation

Session 10: PROFILE AND TRACE PL/SQL CODE

  • Trace PL/SQL Program Execution
  • Profile PL/SQL Applications
  • Access the Trace Data
  • DBMS_PROFILER

Session 11: SAFEGUARD CODE

  • Overview of SQL Injections
  • Detecting Attacks
  • Review of Dynamic SQL
  • The Attack Surface
  • Typical SQL Attacks
  • Reduce Attack Surfaces
  • Use the DBMS_ASSERT Package
  • Design Immune Code
  • Test Code for SQL Injection Flaws

Session 12: MISCELLANEOUS NEW 12c NEW FEATURES

  • Grant Roles to Standalone Programs and PL/SQL Packages
  • BEQUEATH CURRENT_USER Views
  • Enable INHERENT PRIVILEGES and INHERIT ANY PRIVILEGES Privileges
  • Edition Based Redefinition
  • Invisible Columns and the %ROWTYPE Attribute
Home Let Us Call You Enquiry

Place A booking




StayAhead Promo 1


Oracle User Group - Membership Benefits

Oracle User Group - Membership Benefits

Course Certification

Our independent Oracle, Solaris & Red Hat Linux curriculums helps prepare delegates for official certification.

SQL & No SQL

Programming, Java, Web Development, MySQL & MariadDB

UNIX, Solaris, AIX & HP-UX

UNIX 
AIX 
HP-UX 

Linux, Red Hat, Oracle Linux, SUSE & LPI

Business Analysis, ITIL & Prince2

See what our clients say . . .

A very enjoyable course with a very knowledgeable instructor. This is a great course for anyone dipping their toes into Linux administration. The balance between the theory and practical is perfect and allows time to digest the course material without r

Gareth - Senior Data Manager - Manufacturing - August 2017

More Reviews

+44 (0)20 7600 6116
Copyright © 2017 StayAhead Training Ltd
sales@stayahead.com