The objectives for this course are as follows:
- 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.
The target audience for this course is senior application developers. Developers who will be building, debugging and tuning PL/SQL program units will benefit from this course.
Specific prerequisites for this course are the following titles, or equivalent experience:
- ORACLE DATABASE 12C: SQL FUNDAMENTALS (LEVELS I & II)
- ORACLE DATABASE 12C: PL/SQL FUNDAMENTALS (LEVELS I & II)
Outline for Oracle Database 12c: PL/SQL III - Advanced Programming & Tuning Training
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
7. System-Supplied Packages: DBMS_METADATA() – Part III
- FETCH CLOB()
- SET_FILTER() Dependent Objects
- Primary & Dependent Object DDL
8. System-Supplied Packages: DBMS_REDEFINITION()
- About Table Redefinition
- Using DBMS_REDEFINITION()
9. System-Supplied Packages: DBMS_LOB()
- Working With External BFILES
- Working With Internal LOBS
- Dynamic SECUREFILE Options
10. High-Performance: Advanced System-‐Supplied Packages
- COMPRESSION & UTL_COMPRESS()
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
- Controlling Compilation Messages
- PL/SQL Native Execution
- Wrapping Source Code
13. High Performance: Dynamic Partitioning & Parallelization
- Dynamic Partitioning (Chunks)
- Creating & Processing Chunks
- Monitoring Chunk Processing
14. High Performance: Using PL/SCOPE For Code Analysis
- Configuring PL/SCOPE
- 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
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
18. Applying Countermeasures Application Security: Virtual Private Databases
- Understanding VPDS
- Preparing For A VPD
- Configuring A VPD
- Managing Application Contexts
- Managing Policies & Security Rules