Course code Title Language Price # Unit Startdate Hour Enddate Location Signup
OR2340 Oracle Database 12c: PL/SQL III – Advanced Programming & Tuning English €1950.00 5 Day(s) 13-11-2017 09u00 17-11-2017 Kontich Subscribe
OR2340 Oracle Database 12c: PL/SQL III – Advanced Programming & Tuning on your request on your request Contact Us

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

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

Overview

Course code: 
OR2340
Duration: 
5
Time Unit: 
Day(s)
Overview: 

The PL/SQL programming language is at the core of most Oracle database applications. This training 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.

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.

Topics

Topics: 

ADVANCED PROGRAMMING: WHY NEEDED & PL/SQL EXECUTION INTERNALS
• WHY ADVANCED PROGRAMMING?
• SQL & PL/SQL EXECUTION INTERNALS
• SQL & PL/SQL PGA INTERNALS

ADVANCED PROGRAMMING: DYNAMIC SQL
• ADVANTAGES OF DYNAMIC SQL
• NATIVE DYNAMIC SQL
• DYNAMIC SQL USING DBMS_SQL()

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

ADVANCED PROGRAMMING: JAVA & C INTERFACE METHODS
• ADVANCED PROGRAM INTERFACES
• CALLING JAVA CLASSES
• CALLING C PROGRAMS

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()

SYSTEM-SUPPLIED PACKAGES: DBMS_METADATA() – PART II
• SET_TRANSFORM_PARAM()
• GET_QUERY()

SYSTEM-SUPPLIED PACKAGES: DBMS_METADATA() – PART III
• FETCH CLOB()
• SET_FILTER() DEPENDENT OBJECTS
• SET_PARSE_ITEM()
• PRIMARY & DEPENDENT OBJECT DDL

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()

SYSTEM-SUPPLIED PACKAGES: DBMS_LOB()
• WORKING WITH EXTERNAL BFILES
• WORKING WITH INTERNAL LOBS
• SUBSTR()
• INSTR()
• DYNAMIC SECUREFILE OPTIONS

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()

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

HIGH PERFORMANCE: INFLUENCING ORACLE PL/SQL COMPILATION
• PL/SQL COMPILER OPTIMIZATION
• PLSQL_OPTIMIZE_LEVEL
• CONTROLLING COMPILATION MESSAGES
• PL/SQL NATIVE EXECUTION
• WRAPPING SOURCE CODE

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

HIGH PERFORMANCE: USING PL/SCOPE FOR CODE ANALYSIS
• CONFIGURING PL/SCOPE
• PLSCOPE_SETTINGS
• USING PL/SCOPE DATA

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

HIGH PERFORMANCE: DEBUGGING WITH DBMS_TRACE()
• USING THE TRACE FACILITY
• DBMS_TRACE() TO MANAGE RUNS
• EXAMINING THE TRACE DATA
• EVENT_KIND Values

APPLICATION SECURITY: SQL INJECTION ATTACKS
• UNDERSTANDING THE THREAT
• APPLYING COUNTERMEASURES

APPLICATION SECURITY: VIRTUAL PRIVATE DATABASES
• UNDERSTANDING VPDS
• PREPARING FOR A VPD
• CONFIGURING A VPD
• MANAGING APPLICATION CONTEXTS
• MANAGING POLICIES & SECURITY RULES

Prerequisites

Prerequisites: 

Specific prerequisites for this course are the following OAK3 trainings, or equivalent experience:

• ORACLE DATABASE 12C: SQL FUNDAMENTALS (LEVELS I & II)
• ORACLE DATABASE 12C: PL/SQL FUNDAMENTALS (LEVELS I & II)

Audience

Audience: 

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.