Oracle Database 11g R2: Advanced PL/SQL Programming and Tuning

Customized Onsite Training

5
Days
  • Customized Content
  • For Groups of 5+
  • Online or On-location
  • Expert Instructors

Live Online Training

$2,625.00
or 0 vouchers
  • Live Online Training
  • Expert Instructors
  • Guaranteed to Run
  • 100% Free Re-take Option
  • 1-minute Video

Upcoming Classes

  • See More Classes

Please select a class.
Overview

This Oracle Database 11g R2: Advanced PL/SQL Programming and Tuning training class covers three fundamental pillars of effective implementation of PL/SQL applications. First, we will explore the advanced features of the language that allow powerful and effective database applications to be built. Next, we will discuss performance tuning techniques which allows these applications to run efficiently. Third, we will consider critical security measures which should be implemented to counter hacker attacks and other security threats.

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.

Goals
  1. Integrate external processes into PL/SQL applications.
  2. Use dynamic SQL to extend the functionality and flexibility of database programs,
  3. Identify SQL injection attack vulnerabilities within an application and applying countermeasures to address security risks and protect against hacking.
  4. Incorporating collections and other advanced types into application logic to increase efficiency and execution speed.
  5. Work with LOBs, including piece-wise data manipulation and dynamic modification of SecureFile storage options.
  6. Expand functionality with system-supplied database utility packages.
  7. Tune with the DBMS_PROFILER() system-supplied package and debugging with the DBMS_TRACE() system-supplied package.
  8. Write efficient PL/SQL code and avoid common coding mistakes.
  9. Enable native compilation and execution of all database-resident program units.
  10. Control and manage PL/SQL compilation for high-efficiency execution.
  11. Analyze PL/SQL code structure by means of the PL/Scope facility.
  12. Analyze PL/SQL application performance and tune bottlenecks using the PL/SQL Hierarachical Profiler.
  13. Recognize the dangers of SQL injection attacks against PL/SQL applications and applying countermeasures to this potential security threat from hackers.
  14. Implement fine-grained security mechanisms as part of an advanced security model using application contexts and the Oracle virtual private database (VPD).
Outline
  1. Dynamic SQL
    1. Advantages and Disadvantages
    2. Native Dynamic SQL
    3. Dynamic UPDATE...RETURNING
    4. Dynamic SQL Using DBMS_SQL()
  2. Using Collections
    1. About Collections
    2. Bulk Bind Using Collections
    3. Collection Methods
    4. More about the Returning Clause
    5. Advanced Collection Features
    6. Collection MULTISET Operations
    7. In Indices of Clause
    8. In Values of Clause
  3. System-supplied Packages: DBMS_METADATA() – Part I
    1. Why Retrieve Object Definitions?
    2. Retrieving Default Metadata
    3. Retrieving Customized Metadata
    4. Using OPEN() and CLOSE()
    5. Using SET_FILTER()
    6. Using SET_COUNT()
    7. Using ADD_TRANSFORM()
    8. Using FETCH DDL()
    9. About SYS.KU$_DDL
    10. About SYS.KU$_DDLS
    11. Calling FETCH_DDL()
  4. System-supplied Packages: DBMS_METADATA() – Part II
    1. SET_TRANSFORM_PARAM()
    2. GET_QUERY()
  5. System-supplied Packages: DBMS_METADATA() – Part III
    1. FETCH CLOB()
    2. SET_FILTER() for Dependent Objects
    3. SET_PARSE_ITEM()
    4. Primary and Dependent Object DDL
  6. System-supplied Packages: DBMS_REDEFINITION()
    1. About Table Redefinition
    2. Using DBMS_REDEFINITION()
    3. DBA_REDEFINITION_ERRORS
    4. CAN_REDEF_TABLE()
    5. START_REDEF_TABLE()
    6. FINISH_REDEF_TABLE()
    7. ABORT_REDEF_TABLE()
    8. COPY_TABLE_DEPENDENTS()
    9. SYNC_INTERIM_TABLE()
  7. System-supplied Packages: DBMS_LOB()
    1. Working with External BFILES
    2. Working with Internal LOBS
    3. LoadBLOBFromFile(), LoadCLOBFromFile()
    4. Compare()
    5. GetLength()
    6. Append()
    7. Copy()
    8. Erase()
    9. Trim()
    10. Read()
  8. SUBSTR()
    1. INSTR()
    2. Write()
    3. DYNAMIC SECUREFILE OPTIONS
    4. GetOptions()
    5. SetOptions()
  9. System-supplied Packages: Others
    1. Compression with UTL_COMPRESS()
    2. LZ_COMPRESS()
    3. LZ_UNCOMPRESS()
    4. DBMS_DESCRIBE()
    5. UTL_MAIL()
    6. Set SMTP_OUT_SERVER
    7. Calling The Send() Procedure
    8. Calling The Send_Attach_xxx() Procedures
    9. DBMS_UTILITY()
    10. COMPILE_SCHEMA()
    11. DB_VERSION()
    12. WAIT_ON_PENDING_DML()
  10. Advanced Interface Methods
    1. About External Procedures
    2. Calling Java Classes
    3. Calling C Programs
  11. PL/SQL Advanced Programming and Coding Techniques
    1. Autonomous Transactions
    2. Using NOCOPY for Parameters
    3. Choosing the Optimum Data Type
    4. Avoiding Implicit Data Type Conversion
    5. Choosing between NUMBER and PLS_INTEGER
    6. About PLS_INTEGER
    7. Using SIMPLE_INTEGER
    8. CHAR Variables of Different Lengths
    9. VARCHAR2 Variables of Different Lengths
    10. CHAR Vs. VARCHAR2
    11. CHAR Vs. VARCHAR2 with an Equality
    12. Useful PL/SQL Coding Techniques
    13. Handling String Literals
  12. Influencing Oracle PL/SQL Compilation
    1. PL/SQL Compiler Optimization
    2. PLSQL_OPTIMIZE_LEVEL
    3. Controlling Compilation Messages
    4. PL/SQL Native Execution
  13. Dynamic Partitioning and Parallelization
    1. About Dynamic Partitioning (Chunks)
    2. Creating and Processing Chunks
    3. CREATE_TASK()
    4. CREATE_CHUNKS_BY_ROWID()
    5. CREATE_CHUNKS_BY_NUMBER_COL()
    6. EXECUTE_RUN_TASK()
    7. TASK_STATUS()
    8. DROP_TASK()
    9. Monitoring Chunk Processing
  14. Application Tuning with the PL/SQL Hierarchical Comparison
    1. What Is the Hierarchical Profiler?
    2. Configuring the Profiler
    3. Managing Profiler Runs
    4. Analyzing Profiler Data
    5. Interpreting the Results
    6. DBMSHP_RUNS
    7. DBMSHP_FUNCTION_INFO
    8. DBMSHP_PARENT_CHILD_INFO
  15. PL/SQL Debugging with DBMS_TRACE()
    1. Using the Trace Facility
    2. DBMS_TRACE() to Manage Runs
    3. Examining the Trace Data
    4. EVENT_KIND Values
  16. Protecting against SQL Injection Attacks
    1. Understanding the Threat
    2. Applying Countermeasures
  17. Implementing Virtual Private Databases
    1. Understanding VPDS
    2. Preparing for a VPD
    3. Configuring a VPD
    4. Managing Application Contexts
    5. Using SYS_CONTEXT()
    6. Managing Policies and Security Rules
Class Materials

Each student in our Live Online and our Onsite classes receives a comprehensive set of materials, including course notes and all the class examples.

Class Prerequisites

Experience in the following is required for this Oracle class:

  • Introductory experience with SQL.
  • Experience with Oracle PL/SQL queries.
Prerequisite Courses

Courses that can help you meet these prerequisites:

Preparing for Class

No cancelation for low enrollment

Certified Microsoft Partner

Registered Education Provider (R.E.P.)

GSA schedule pricing

74,839

Students who have taken Live Online Training

15,233

Organizations who trust Webucator for their training needs

100%

Satisfaction guarantee and retake option

9.41

Students rated our trainers 9.41 out of 10 based on 5,189 reviews

Contact Us or call 1-877-932-8228