Oracle Database 12c - PL/SQL III - Advanced Programming & Tuning

Price
$2,695.00 USD

Duration
5 Days

 

Delivery Methods
Virtual Instructor Led
Private Group

Course Overview

The PL/SQL programming language is at the core of most Oracle database applications. This course will give attention to three fundamental pillars of effective implementation of PL/SQL applications. First, we will explore the advanced features of the language that allow powerful and adaptable database applications to be built. Next, we will discuss performance tuning techniques that allow these applications to run efficiently. Finally, we will consider critical security measures which should be implemented to counter hacker attacks and other security threats.

Course Objectives

Among the specific topics contained within these training materials are: Invoking external procedures and integrating these into PL/SQL applications. These include external Java classes using the JDBC interface and external C programs contained within DLL libraries. Using dynamic SQL to extend the functionality and flexibility of database programs, including the DBMS_SQL() system-supplied package for maximum flexibility. Identifying SQL injection attack vulnerabilities within an application and applying countermeasures to address security risks and protect against hacking. Incorporating collections and other advanced types into application logic to increase efficiency and execution speed. Working with LOBs, including piece-wise data manipulation and dynamic modification of SecureFiles storage options. Expanding database application functionality with advanced system-supplied database utility packages, integrating ones applications with external mail systems, database internals and other facilities. Tuning with the DBMS_PROFILER() system-supplied package and debugging with the DBMS_TRACE() system-supplied package. Writing efficient PL/SQL code and avoiding common coding mistakes. Enabling native compilation and execution of all database-resident program units. Controlling and managing PL/SQL compilation for high-efficiency execution. Analyze PL/SQL code structure by means of the PL/Scope facility. Analyze PL/SQL application performance and tune bottlenecks using the PL/SQL Hierarchical Profiler. Implementing fine-grained security mechanisms as part of an advanced security model using application contexts and the Oracle virtual private database (VPD). Dynamic partitioning and DML parallelization using the system-supplied package DBMS_PARALLEL_EXECUTE(). Using the wrap utility to hide the source code of database-resident programs, even from the owner or authorized users of the programs.

Who Should Attend?

Senior application developers. Developers who will be building, debugging and tuning PL/SQL program units.
  • Top-rated instructors: Our crew of subject matter experts have an average instructor rating of 4.8 out of 5 across thousands of reviews.
  • Authorized content: We maintain more than 35 Authorized Training Partnerships with the top players in tech, ensuring your course materials contain the most relevant and up-to date information.
  • Interactive classroom participation: Our virtual training includes live lectures, demonstrations and virtual labs that allow you to participate in discussions with your instructor and fellow classmates to get real-time feedback.
  • Post Class Resources: Review your class content, catch up on any material you may have missed or perfect your new skills with access to resources after your course is complete.
  • Private Group Training: Let our world-class instructors deliver exclusive training courses just for your employees. Our private group training is designed to promote your team’s shared growth and skill development.
  • Tailored Training Solutions: Our subject matter experts can customize the class to specifically address the unique goals of your team.

Course Prerequisites

There are no prerequisites for this course.

Agenda

1 - ADVANCED PROGRAMMING: WHY NEEDED & PL/SQL EXECUTION INTERNALS

  • Why Advanced Programming?
  • SQL & PL/SQL Execution Internals
  • SQL & PL/SQL PGA Internals

2 - ADVANCED PROGRAMMING: DYNAMIC SQL

  • Advantages Of Dynamic SQL
  • Native Dynamic SQL
  • Dynamic SQL Using DBMS_SQL()

3 - ADVANCED PROGRAMMING: USING COLLECTIONS

  • About Collections
  • Bulk Bind Using Collections
  • About SQL%BULK_ROWCOUNT()
  • About SQL%BULK_EXCEPTIONS()
  • Collection Methods
  • More About RETURNING Clause
  • Advanced Collection Features
  • IN INDICES OF Clause
  • IN VALUES OF Clause

4 - ADVANCED PROGRAMMING: JAVA & C INTERFACE METHODS

  • Advanced Program Interfaces
  • Calling Java Classes
  • Calling C Programs

5 - SYSTEM-SUPPLIED PACKAGES: DBMS_METADATA() – PART I

  • Why Retrieve Object Definitions?
  • Retrieving Default Metadata
  • Retrieving Customized Metadata
  • Using SET_COUNT()
  • Using ADD_TRANSFORM()
  • Using FETCH DDL()
  • Calling FETCH_DDL()

6 - SYSTEM-SUPPLIED PACKAGES: DBMS_METADATA() – PART II

  • SET_TRANSFORM_PARAM()
  • GET_QUERY()

7 - SYSTEM-SUPPLIED PACKAGES: DBMS_METADATA() – PART III

  • FETCH CLOB()
  • SET_FILTER() Dependent Objects
  • SET_PARSE_ITEM()
  • Primary & Dependent Object DDL

8 - SYSTEM-SUPPLIED PACKAGES: DBMS_REDEFINITION()

  • About Table Redefinition
  • Using DBMS_REDEFINITION()
  • DBA_REDEFINITION_ERRORS
  • CAN_REDEF_TABLE()
  • START_REDEF_TABLE()
  • FINISH_REDEF_TABLE()
  • ABORT_REDEF_TABLE()
  • COPY_TABLE_DEPENDENTS()
  • SYNC_INTERIM_TABLE()

9 - SYSTEM-SUPPLIED PACKAGES: DBMS_LOB()

  • Working With External BFILES
  • Working With Internal LOBS
  • SUBSTR()
  • INSTR()
  • Dynamic SECUREFILE Options

10 - HIGH-PERFORMANCE: ADVANCED SYSTEM-SUPPLIED PACKAGES

  • COMPRESSION & UTL_COMPRESS()
  • LZ_COMPRESS()
  • LZ_UNCOMPRESS()
  • DBMS_DESCRIBE()
  • UTL_MAIL()
  • DBMS_UTILITY()
  • COMPILE_SCHEMA()
  • DB_VERSION()
  • GET_PARAMETER_VALUE()
  • WAIT_ON_PENDING_DML()
  • GET_TIME()
  • GET_ENDIANNESS()
  • DBMS_FILE_TRANSFER()

11 - HIGH PERFORMANCE: PROGRAMMING & CODING TECHNIQUES

  • Autonomous Transactions
  • Using NOCOPY FOR Parameters
  • Choosing The Optimum Data Type
  • About NOT NULL
  • Useful PL/SQL Coding Techniques
  • Handling String Literals
  • User-Defined SQL Functions

12 - HIGH PERFORMANCE: INFLUENCING ORACLE PL/SQL COMPILATION

  • PL/SQL Compiler Optimization
  • PLSQL_OPTIMIZE_LEVEL
  • Controlling Compilation Messages
  • PL/SQL Native Execution
  • Wrapping Source Code

13 - HIGH PERFORMANCE: DYNAMIC PARTITIONING & PARALLELIZATION

  • Dynamic Partitioning (Chunks)
  • Creating & Processing Chunks
  • CREATE_TASK()
  • CREATE_CHUNKS_BY_ROWID()
  • CREATE_CHUNKS_BY_NUMBER_COL()
  • EXECUTE_RUN_TASK()
  • TASK_STATUS()
  • DROP_TASK()
  • Monitoring Chunk Processing

14 - HIGH PERFORMANCE: USING PL/SCOPE FOR CODE ANALYSIS

  • Configuring PL/SCOPE
  • PLSCOPE_SETTINGS
  • Using PL/SCOPE Data

15 - HIGH PERFORMANCE: TUNING WITH THE HIERARCHICAL PROFILER

  • What Is The Hierarchical Profiler?
  • Configuring The Profiler
  • Managing Profiler Runs
  • Analyzing Profiler Data
  • Interpreting The Results
  • DBMSHP_RUNS
  • DBMSHP_FUNCTION_INFO
  • DBMSHP_PARENT_CHILD_INFO

16 - HIGH PERFORMANCE: DEBUGGING WITH DBMS_TRACE()

  • Using The Trace Facility
  • DBMS_TRACE() To Manage Runs
  • Examining The Trace Data
  • EVENT_KIND Values

17 - APPLICATION SECURITY: SQL INJECTION ATTACKS

  • Understanding The Threat
  • Applying Countermeasures

18 - APPLICATION SECURITY: VIRTUAL PRIVATE DATABASES

  • Understanding VPDS
  • Preparing For A VPD
  • Configuring A VPD
  • Managing Application Contexts
  • Managing Policies & Security Rules
 

Get in touch to schedule training for your team
We can enroll multiple students in an upcoming class or schedule a dedicated private training event designed to meet your organization’s needs.

 



Do You Have Additional Questions? Please Contact Us Below.

contact us contact us 
 
Contact Us about Starting Your Business Training Strategy with New Horizons