ORACLE DATABASE 11G R2: ADVANCED PL/SQL PROGRAMMING AND TUNING– GTD5

Course Description

This Oracle 11g course will give attention to three fundamental pillars of effective implementation of PL/SQL applications. The PL/SQL programming language is at the core of most Oracle database applications.

First, we will explore the advanced features of the language which allow powerful and effective database applications to be built. Next, we will discuss performance tuning techniques which allows these applications to run efficiently.

Finally, we will consider critical security measures which should be implemented to counter hacker attacks and other security threats.

^^

Duration

4 days

^^

Target 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.

^^

Course Prerequisites

Those who wish to attend this course require attendance of the courses below, similar courses, or have the equivalent experience.

If you have any questions or doubts as to whether you meet the pre-requisites for this course, or indeed are wondering which course best suits you, please consult with us to discuss your suitability for course attendance.

^^

Suggested Follow on Courses

^^

Course Content

DYNAMIC SQL

• ADVANTAGES & DISADVANTAGES

• NATIVE DYNAMIC SQL

• Dynamic UPDATE…RETURNING

• DYNAMIC SQL USING DBMS_SQL()

USING COLLECTIONS

• ABOUT COLLECTIONS

• BULK BIND USING COLLECTIONS

• COLLECTION METHODS

• MORE ABOUT THE RETURNING CLAUSE

• ADVANCED COLLECTION FEATURES

• Collection MULTISET Operations

• IN INDICES OF Clause

• IN VALUES OF Clause

SYSTEM-SUPPLIED PACKAGES: DBMS_METADATA() – PART I

• WHY RETRIEVE OBJECT DEFINITIONS?

• RETRIEVING DEFAULT METADATA

• RETRIEVING CUSTOMIZED METADATA

• Using OPEN() & CLOSE()

• Using SET_FILTER()

• Using SET_COUNT()

• Using ADD_TRANSFORM()

• Using FETCH DDL()

• About SYS.KU$_DDL

• About SYS.KU$_DDLS

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

• LoadBLOBFromFile(), LoadCLOBFromFile()

• Compare()

• GetLength()

• Append()

• Copy()

• Erase()

• Trim()

• Read()

• SUBSTR()

• INSTR()

• Write()

• DYNAMIC SECUREFILE OPTIONS

• GetOptions()

• SetOptions()

SYSTEM-SUPPLIED PACKAGES: OTHERS

• COMPRESSION WITH UTL_COMPRESS()

• LZ_COMPRESS()

• LZ_UNCOMPRESS()

• DBMS_DESCRIBE()

• UTL_MAIL()

• Set SMTP_OUT_SERVER

• Calling The Send() Procedure

• Calling The Send_Attach_xxx() Procedures

• DBMS_UTILITY()

• COMPILE_SCHEMA()

• DB_VERSION()

• WAIT_ON_PENDING_DML()

ADVANCED INTERFACE METHODS

• ABOUT EXTERNAL PROCEDURES

• CALLING JAVA CLASSES

• CALLING C PROGRAMS

PL/SQL ADVANCED PROGRAMMING & CODING TECHNIQUES

• AUTONOMOUS TRANSACTIONS

• USING NOCOPY FOR PARAMETERS

• CHOOSING THE OPTIMUM DATA TYPE

• Avoiding Implicit Data type Conversion

• Choosing Between NUMBER And PLS_INTEGER

• About PLS_INTEGER

• Using SIMPLE_INTEGER

• CHAR Variables Of Different Lengths

• VARCHAR2 Variables Of Different Lengths

• CHAR Vs. VARCHAR2

• CHAR Vs. VARCHAR2 With An Equality Comparison

• USEFUL PL/SQL CODING TECHNIQUES

• HANDLING STRING LITERALS

INFLUENCING ORACLE PL/SQL COMPILATION

• PL/SQL COMPILER OPTIMIZATION

• PLSQL_OPTIMIZE_LEVEL

• CONTROLLING COMPILATION MESSAGES

• PL/SQL NATIVE EXECUTION

DYNAMIC PARTITIONING & PARALLELIZATION

• ABOUT 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

APPLICATION TUNING WITH THE PL/SQL HIERARCHICAL PROFILER

• WHAT IS THE HIERARCHICAL PROFILER?

• CONFIGURING THE PROFILER

• MANAGING PROFILER RUNS

• ANALYZING PROFILER

• INTERPRETING THE RESULTS

• DBMSHP_RUNS

• DBMSHP_FUNCTION_INFO

• DBMSHP_PARENT_CHILD_INFO

PL/SQL DEBUGGING WITH DBMS_TRACE()

• USING THE TRACE FACILITY

• DBMS_TRACE() TO MANAGE RUNS

• EXAMINING THE TRACE DATA

• EVENT_KIND Values

PROTECTING AGAINST SQL INJECTION ATTACKS

• UNDERSTANDING THE THREAT

• APPLYING COUNTERMEASURES

 

IMPLEMENTING VIRTUAL PRIVATE DATABASES

• UNDERSTANDING VPDS

• PREPARING FOR A VPD

• CONFIGURING A VPD

• MANAGING APPLICATION CONTEXTS

• Using SYS_CONTEXT()

• MANAGING POLICIES & SECURITY RULES

© 2011 Sideris Courseware Corporation

^^

See more Database Technologies courses