Performance and Tuning. 2010, Oracle and/or its affiliates. All rights reserved.
|
|
- Corey Reeves
- 6 years ago
- Views:
Transcription
1 Performance and Tuning
2 Objectives After completing this lesson, you should be able to do the following: Understand and influence the compiler Tune PL/SQL code Enable intraunit inlining 7-2
3 Lesson Agenda Using native and interpreted compilation methods Tuning PL/SQL code Enabling intraunit inlining 7-3
4 Native and Interpreted Compilation Two compilation methods: Interpreted compilation Default compilation method Interpreted at run time Native compilation Compiles into native code Stored in the SYSTEM tablespace 7-4
5 Deciding on a Compilation Method Use the interpreted mode when (typically during development): You are using a debugging tool, such as SQL Developer You need the code compiled quickly Use the native mode when (typically post development): Your code is heavily PL/SQL based You are looking for increased performance in production Native Interpreted 7-5
6 Setting the Compilation Method PLSQL_CODE_TYPE: Specifies the compilation mode for the PL/SQL library units PLSQL_CODE_TYPE = { INTERPRETED NATIVE } PLSQL_OPTIMIZE_LEVEL: Specifies the optimization level to be used to compile the PL/SQL library units PLSQL_OPTIMIZE_LEVEL = { } In general, for fastest performance, use the following setting: PLSQL_CODE_TYPE = NATIVE PLSQL_OPTIMIZE_LEVEL = 2 7-6
7 Viewing the Compilation Settings Use the USER ALL DBA_PLSQL_OBJECT_SETTINGS data dictionary views to display the settings for a PL/SQL object: DESCRIBE ALL_PLSQL_OBJECT_SETTINGS Name Null? Type OWNER NOT NULL VARCHAR2(30) NAME NOT NULL VARCHAR2(30) TYPE VARCHAR2(12) PLSQL_OPTIMIZE_LEVEL NUMBER PLSQL_CODE_TYPE VARCHAR2(4000) PLSQL_DEBUG VARCHAR2(4000) PLSQL_WARNINGS VARCHAR2(4000) NLS_LENGTH_SEMANTICS VARCHAR2(4000) PLSQL_CCFLAGS VARCHAR2(4000) PLSCOPE_SETTINGS VARCHAR2(4000) 7-8
8 Viewing the Compilation Settings SELECT name, plsql_code_type, plsql_optimize_level FROM user_plsql_object_settings; NAME PLSQL_CODE_TYP PLSQL_OPTIMIZE_LEVEL ACTIONS_T INTERPRETED 2 ACTION_T INTERPRETED 2 ACTION_V INTERPRETED 2 ADD_ORDER_ITEMS INTERPRETED 2 CATALOG_TYP INTERPRETED 2 CATALOG_TYP INTERPRETED 2 CATALOG_TYP INTERPRETED 2 CATEGORY_TYP INTERPRETED 2 CATEGORY_TYP INTERPRETED 2 COMPOSITE_CATEGORY_TYP INTERPRETED
9 Setting Up a Database for Native Compilation This requires DBA privileges. The PLSQL_CODE_TYPE compilation parameter must be set to NATIVE. The benefits apply to all the built-in PL/SQL packages that are used for many database operations. ALTER SYSTEM SET PLSQL_CODE_TYPE = NATIVE; 7-10
10 Compiling a Program Unit for Native Compilation SELECT name, plsql_code_type, plsql_optimize_level FROM user_plsql_object_settings WHERE name = 'ADD_ORDER_ITEMS'; 1 NAME PLSQL_CODE_T PLSQL_OPTIMIZE_LEVEL ADD_ORDER_ITEMS INTERPRETED 2 ALTER SESSION SET PLSQL_CODE_TYPE = 'NATIVE'; ALTER PROCEDURE add_order_items COMPILE; 2 3 SELECT name, plsql_code_type, plsql_optimize_level FROM user_plsql_object_settings WHERE name = 'ADD_ORDER_ITEMS'; 4 NAME PLSQL_CODE_T PLSQL_OPTIMIZE_LEVEL ADD_ORDER_ITEMS NATIVE
11 Lesson Agenda Using native and interpreted compilation methods Tuning PL/SQL code Enabling intraunit inlining 7-12
12 Tuning PL/SQL Code You can tune your PL/SQL code by: Identifying the data type and constraint issues Data type conversion The NOT NULL constraint PLS_INTEGER SIMPLE_INTEGER Writing smaller executable sections of code Comparing SQL with PL/SQL Understanding how bulk binds can improve performance Using the FORALL support with bulk binding Handling and saving exceptions with the SAVE EXCEPTIONS syntax Rephrasing conditional statements 7-13
13 Avoiding Implicit Data Type Conversion PL/SQL performs implicit conversions between structurally different data types. Example: When assigning a PLS_INTEGER variable to a NUMBER variable DECLARE n NUMBER; BEGIN n := n + 15; -- converted n := n ; -- not converted... END; numbers strings dates 7-14
14 Understanding the NOT NULL Constraint PROCEDURE calc_m IS m NUMBER NOT NULL:=0; a NUMBER; b NUMBER; BEGIN m := a + b; END; PROCEDURE calc_m IS m NUMBER; --no constraint... BEGIN m := a + b; IF m IS NULL THEN -- raise error END IF; END; The value of the expression a + b is assigned to a temporary variable, which is then tested for nullity. A better way to check nullity; no performance overhead 7-15
15 Using the PLS_INTEGER Data Type for Integers Use PLS_INTEGER when dealing with integer data. It is an efficient data type for integer variables. It requires less storage than INTEGER or NUMBER. Its operations use machine arithmetic, which is faster than library arithmetic. 7-16
16 Using the SIMPLE_INTEGER Data Type Definition: Is a predefined subtype Has the range Does not include a null value Is allowed anywhere in PL/SQL where the PLS_INTEGER data type is allowed Benefits: Eliminates the overhead of overflow checking Is estimated to be 2 10 times faster when compared with the PLS_INTEGER type with native PL/SQL compilation 7-17
17 Modularizing Your Code Limit the number of lines of code between a BEGIN and END to about a page or 60 lines of code. Use packaged programs to keep each executable section small. Use local procedures and functions to hide logic. Use a function interface to hide formulas and business rules. 7-18
18 Comparing SQL with PL/SQL Each has its own benefits: SQL: Accesses data in the database Treats data as sets PL/SQL: Provides procedural capabilities Has more flexibility built into the language 7-19
19 Comparing SQL with PL/SQL Some simple set processing is markedly faster than the equivalent PL/SQL. BEGIN INSERT INTO inventories2 SELECT product_id, warehouse_id FROM main_inventories; END; Avoid using procedural code when it may be better to use SQL....FOR I IN LOOP counter := counter + 1; SELECT product_id, warehouse_id INTO v_p_id, v_wh_id FROM big_inventories WHERE v_p_id = counter; INSERT INTO inventories2 VALUES(v_p_id, v_wh_id); END LOOP;
20 Comparing SQL with PL/SQL Instead of:... INSERT INTO order_items (order_id, line_item_id, product_id, unit_price, quantity) VALUES (... Create a stand-alone procedure: insert_order_item ( 2458, 6, 3515, 2.00, 4); Or a packaged procedure: orderitems.ins ( 2458, 6, 3515, 2.00, 4); 7-21
21 Using Bulk Binding Use bulk binds to reduce context switches between the PL/SQL engine and the SQL engine. PL/SQL run-time engine SQL engine PL/SQL block FORALL j IN INSERT (OrderId(j), OrderDate(j), ); Procedural statement executor SQL statement executor 7-22
22 Using Bulk Binding Bind whole arrays of values simultaneously, rather than looping to perform fetch, insert, update, and delete on multiple rows. Instead of:... FOR i IN LOOP INSERT INTO bulk_bind_example_tbl VALUES(...); END LOOP;... Use:... FORALL i IN INSERT INTO bulk_bind_example_tbl VALUES(...);
23 Using Bulk Binding Use BULK COLLECT to improve performance: CREATE OR REPLACE PROCEDURE process_customers (p_account_mgr customers.account_mgr_id%type) IS TYPE typ_numtab IS TABLE OF customers.customer_id%type; TYPE typ_chartab IS TABLE OF customers.cust_last_name%type; TYPE typ_ tab IS TABLE OF customers.cust_ %type; v_custnos typ_numtab; v_last_names typ_chartab; v_ s typ_ tab; BEGIN SELECT customer_id, cust_last_name, cust_ BULK COLLECT INTO v_custnos, v_last_names, v_ s FROM customers WHERE account_mgr_id = p_account_mgr;... END process_customers; 7-25
24 Using Bulk Binding Use the RETURNING clause to retrieve information about the rows that are being modified: DECLARE TYPE typ_replist IS VARRAY(100) OF NUMBER; TYPE typ_numlist IS TABLE OF orders.order_total%type; repids typ_replist := typ_replist(153, 155, 156, 161); totlist typ_numlist; c_big_total CONSTANT NUMBER := 60000; BEGIN FORALL i IN repids.first..repids.last UPDATE orders SET order_total =.95 * order_total WHERE sales_rep_id = repids(i) AND order_total > c_big_total RETURNING order_total BULK COLLECT INTO Totlist; END; 7-26
25 Using SAVE EXCEPTIONS You can use the SAVE EXCEPTIONS keyword in your FORALL statements: FORALL index IN lower_bound..upper_bound SAVE EXCEPTIONS {insert_stmt update_stmt delete_stmt} Exceptions raised during execution are saved in the %BULK_EXCEPTIONS cursor attribute. The attribute is a collection of records with two fields: Field ERROR_INDEX Definition Holds the iteration of the FORALL statement where the exception was raised ERROR_CODE Holds the corresponding Oracle error code Note that the values always refer to the most recently executed FORALL statement. 7-28
26 Handling FORALL Exceptions DECLARE TYPE NumList IS TABLE OF NUMBER; num_tab NumList := NumList(100,0,110,300,0,199,200,0,400); bulk_errors EXCEPTION; PRAGMA EXCEPTION_INIT (bulk_errors, ); BEGIN FORALL i IN num_tab.first..num_tab.last SAVE EXCEPTIONS DELETE FROM orders WHERE order_total < /num_tab(i); EXCEPTION WHEN bulk_errors THEN DBMS_OUTPUT.PUT_LINE('Number of errors is: ' SQL%BULK_EXCEPTIONS.COUNT); FOR j in 1..SQL%BULK_EXCEPTIONS.COUNT LOOP DBMS_OUTPUT.PUT_LINE ( TO_CHAR(SQL%BULK_EXCEPTIONS(j).error_index) ' / ' SQLERRM(-SQL%BULK_EXCEPTIONS(j).error_code) ); END LOOP; END; / 7-29
27 Rephrasing Conditional Control Statements In logical expressions, PL/SQL stops evaluating the expression as soon as the result is determined. Scenario 1: IF TRUE FALSE OR (v_sales_rep_id IS NULL) THEN END IF; Scenario 2: IF credit_ok(cust_id) AND (v_order_total < 5000) THEN... END IF; 7-30
28 Rephrasing Conditional Control Statements If your business logic results in one condition being true, use the ELSIF syntax for mutually exclusive clauses: IF v_acct_mgr = 145 THEN process_acct_145; END IF; IF v_acct_mgr = 147 THEN process_acct_147; END IF; IF v_acct_mgr = 148 THEN process_acct_148; END IF; IF v_acct_mgr = 149 THEN process_acct_149; END IF; IF v_acct_mgr = 145 THEN process_acct_145; ELSIF v_acct_mgr = 147 THEN process_acct_147; ELSIF v_acct_mgr = 148 THEN process_acct_148; ELSIF v_acct_mgr = 149 THEN process_acct_149; END IF; 7-31
29 Passing Data Between PL/SQL Programs The flexibility built into PL/SQL enables you to pass: Simple scalar variables Complex data structures You can use the NOCOPY hint to improve performance with the IN OUT parameters. 7-32
30 Passing Data Between PL/SQL Programs Pass records as parameters to encapsulate data, and write and maintain less code: DECLARE TYPE CustRec IS RECORD ( customer_id customers.customer_id%type, cust_last_name VARCHAR2(20), cust_ VARCHAR2(30), credit_limit NUMBER(9,2));... PROCEDURE raise_credit (cust_info CustRec); 7-33
31 Passing Data Between PL/SQL Programs Use collections as arguments: PACKAGE cust_actions IS TYPE NameTabTyp IS TABLE OF customer.cust_last_name%type INDEX BY PLS_INTEGER; TYPE CreditTabTyp IS TABLE OF customers.credit_limit%type INDEX BY PLS_INTEGER;... PROCEDURE credit_batch( name_tab IN NameTabTyp, credit_tab IN CreditTabTyp,...); PROCEDURE log_names ( name_tab IN NameTabTyp ); END cust_actions; 7-34
32 Lesson Agenda Using native and interpreted compilation methods Tuning PL/SQL code Enabling intraunit inlining 7-35
33 Introducing Intraunit Inlining Definition: Inlining is the replacement of a call to a subroutine with a copy of the body of the subroutine that is called. The copied procedure generally runs faster than the original. The PL/SQL compiler can automatically find the calls that should be inlined. Benefits: When applied judiciously, inlining can provide large performance gains (by a factor of 2 10). 7-36
34 Using Inlining Influence implementing inlining via two methods: Oracle parameter PLSQL_OPTIMIZE_LEVEL PRAGMA INLINE It is recommended that you: Inline small programs Inline programs that are frequently executed Use performance tools to identify the hotspots that are suitable for inline applications: plstimer 7-37
35 Inlining Concepts Noninlined program: CREATE OR REPLACE PROCEDURE small_pgm IS a NUMBER; b NUMBER; PROCEDURE touch(x IN OUT NUMBER, y NUMBER) IS BEGIN IF y > 0 THEN x := x*x; END IF; END; BEGIN a := b; FOR I IN LOOP touch(a, -17); a := a*b; END LOOP; END small_pgm; 7-38
36 Inlining Concepts Examine the loop after inlining:... BEGIN a := b; FOR i IN LOOP IF 17 > 0 THEN a := a*a; END IF; a := a*b; END LOOP; END small_pgm;
37 Inlining Concepts The loop is transformed in several steps: a := b; FOR i IN LOOP... IF false THEN a := a*a; END IF; a := a*b; END LOOP; a := b; FOR i IN LOOP... a := a*b; END LOOP; a := b; a := a*b; FOR i IN LOOP... END LOOP; a := b*b; FOR i IN LOOP... END LOOP; 7-40
38 Inlining: Example Set the PLSQL_OPTIMIZE_LEVEL session-level parameter to a value of 2 or 3: ALTER PROCEDURE small_pgm COMPILE PLSQL_OPTIMIZE_LEVEL = 3 REUSE SETTINGS; Setting it to 2 means no automatic inlining is attempted. Setting it to 3 means automatic inlining is attempted but no pragmas are necessary. Within a PL/SQL subroutine, use PRAGMA INLINE: NO means no inlining occurs regardless of the level and regardless of the YES pragmas. YES means inline at level 2 of a particular call and increase the priority of inlining at level 3 for the call. 7-41
39 Inlining: Example After setting the PLSQL_OPTIMIZE_LEVEL parameter, use a pragma: CREATE OR REPLACE PROCEDURE small_pgm IS a PLS_INTEGER; FUNCTION add_it(a PLS_INTEGER, b PLS_INTEGER) RETURN PLS_INTEGER IS BEGIN RETURN a + b; END; BEGIN pragma INLINE (add_it, 'YES'); a := add_it(3, 4) + 6; END small_pgm; 7-42
40 Inlining: Guidelines Pragmas apply only to calls in the next statement following the pragma. Programs that make use of smaller helper subroutines are good candidates for inlining. Only local subroutines can be inlined. You cannot inline an external subroutine. Inlining can increase the size of a unit. Be careful about suggesting to inline functions that are deterministic. 7-43
41 Quiz Which of the following statements are true? a. Use the native mode during development. b. Because the native code does not have to be interpreted at run time, it runs faster. c. The interpreted compilation is the default compilation method. d. To change a compiled PL/SQL object from interpreted code type to native code type, you must set the PLSQL_CODE_TYPE parameter to NATIVE, and then recompile the program 7-44
42 Quiz You can tune your PL/SQL code by: a. Writing longer executable sections of code b. Avoiding bulk binds c. Using the FORALL support with bulk binding d. Handling and saving exceptions with the SAVE EXCEPTIONS syntax e. Rephrasing conditional statements 7-45
43 Quiz Which of the following statements are true with reference to inlining? a. Pragmas apply only to calls in the next statement following the pragma. b. Programs that make use of smaller helper subroutines are bad candidates for inlining. c. Only local subroutines can be inlined. d. You cannot inline an external subroutine. e. Inlining can decrease the size of a unit. 7-46
44 Summary In this lesson, you should have learned how to: Decide when to use native or interpreted compilation Tune your PL/SQL application. Tuning involves: Using the RETURNING clause and bulk binds when appropriate Rephrasing conditional statements Identifying data type and constraint issues Understanding when to use SQL and PL/SQL Identify opportunities for inlining PL/QL code Use native compilation for faster PL/SQL execution 7-47
45 Practice 7: Overview This practice covers the following topics: Tuning PL/SQL code to improve performance Coding with bulk binds to improve performance 7-48
Oracle Database 11g: Program with PL/SQL Release 2
Oracle University Contact Us: +41- (0) 56 483 31 31 Oracle Database 11g: Program with PL/SQL Release 2 Duration: 5 Days What you will learn This course introduces students to PL/SQL and helps them understand
More informationIntroduction to Computer Science and Business
Introduction to Computer Science and Business The Database Programming with PL/SQL course introduces students to the procedural language used to extend SQL in a programatic manner. This course outline
More informationOracle PLSQL Training Syllabus
Oracle PLSQL Training Syllabus Introduction Course Objectives Course Agenda Human Resources (HR) Schema Introduction to SQL Developer Introduction to PL/SQL PL/SQL Overview Benefits of PL/SQL Subprograms
More informationIZ0-144Oracle 11g PL/SQL Certification (OCA) training
IZ0-144Oracle 11g PL/SQL Certification (OCA) training Advanced topics covered in this course: Managing Dependencies of PL/SQL Objects Direct and Indirect Dependencies Using the PL/SQL Compiler Conditional
More informationOracle Database 11g: Program with PL/SQL
Oracle University Contact: +31 (0)30 669 9244 Oracle Database 11g: Program with PL/SQL Duration: 5 Dagen What you will learn This course introduces students to PL/SQL and helps them understand the benefits
More informationOracle Database 12c: Program with PL/SQL Duration: 5 Days Method: Instructor-Led
Oracle Database 12c: Program with PL/SQL Duration: 5 Days Method: Instructor-Led Course Description This training starts with an introduction to PL/SQL and then explores the benefits of this powerful programming
More informationORACLE: PL/SQL Programming
%ROWTYPE Attribute... 4:23 %ROWTYPE... 2:6 %TYPE... 2:6 %TYPE Attribute... 4:22 A Actual Parameters... 9:7 Actual versus Formal Parameters... 9:7 Aliases... 8:10 Anonymous Blocks... 3:1 Assigning Collection
More informationOracle Database: Program with PL/SQL
Oracle University Contact Us: + 420 2 2143 8459 Oracle Database: Program with PL/SQL Duration: 5 Days What you will learn This Oracle Database: Program with PL/SQL training starts with an introduction
More informationOracle Database: Program with PL/SQL Ed 2
Oracle University Contact Us: +38 61 5888 820 Oracle Database: Program with PL/SQL Ed 2 Duration: 5 Days What you will learn This Oracle Database: Program with PL/SQL training starts with an introduction
More informationOracle Database 12c R2: Program with PL/SQL Ed 2 Duration: 5 Days
Oracle Database 12c R2: Program with PL/SQL Ed 2 Duration: 5 Days This Database Program with PL/SQL training shows you how to develop stored procedures, functions, packages and database triggers. You'll
More informationConditionally control code flow (loops, control structures). Create stored procedures and functions.
TEMARIO Oracle Database: Program with PL/SQL Ed 2 Duration: 5 Days What you will learn This Oracle Database: Program with PL/SQL training starts with an introduction to PL/SQL and then explores the benefits
More informationOracle. Exam Questions 1Z Oracle 11g: Advanced PL/SQL. Version:Demo. 1Z0-146 Exam Questions Demo https://www.passcertsure.
Oracle Exam Questions 1Z0-146 Oracle 11g: Advanced PL/SQL Version:Demo 1. Identify two strategies against SQL injection. (Choose two.) A. Using parameterized queries with bind arguments. B. Use subprograms
More informationContents I Introduction 1 Introduction to PL/SQL iii
Contents I Introduction Lesson Objectives I-2 Course Objectives I-3 Human Resources (HR) Schema for This Course I-4 Course Agenda I-5 Class Account Information I-6 Appendixes Used in This Course I-7 PL/SQL
More informationDeveloper. 1 enterprise. Professional Guide. Oracle Advanced PL/SQL. example questions for 1Z0-146 examination
Oracle Advanced PL/SQL Developer Professional Guide Master advanced PL/SQL concepts along with plenty of example questions for 1Z0-146 examination Saurabh K. Gupta [ 1 enterprise I professional expertise
More informationOracle PL/SQL - 12c & 11g [Basic PL/SQL & Advanced PL/SQL]
Chapter Overview of PL/SQL Programs Control Statements Using Loops within PLSQL Oracle PL/SQL - 12c & 11g [Basic PL/SQL & Advanced PL/SQL] Table of Contents Describe a PL/SQL program construct List the
More informationOracle Developer Track Course Contents. Mr. Sandeep M Shinde. Oracle Application Techno-Functional Consultant
Oracle Developer Track Course Contents Sandeep M Shinde Oracle Application Techno-Functional Consultant 16 Years MNC Experience in India and USA Trainer Experience Summary:- Sandeep M Shinde is having
More informationOracle - Oracle Database: Program with PL/SQL Ed 2
Oracle - Oracle Database: Program with PL/SQL Ed 2 Code: Lengt h: URL: DB-PLSQL 5 days View Online This Oracle Database: Program with PL/SQL training starts with an introduction to PL/SQL and then explores
More informationORACLE TRAINING. ORACLE Training Course syllabus ORACLE SQL ORACLE PLSQL. Oracle SQL Training Syllabus
ORACLE TRAINING ORACLE Training Course syllabus ORACLE SQL ORACLE PLSQL Oracle SQL Training Syllabus Introduction to Oracle Database List the features of Oracle Database 11g Discuss the basic design, theoretical,
More information1Z Oracle Database 11g - Program with PL/SQL Exam Summary Syllabus Questions
1Z0-144 Oracle Database 11g - Program with PL/SQL Exam Summary Syllabus Questions Table of Contents Introduction to 1Z0-144 Exam on Oracle Database 11g - Program with PL/SQL... 2 Oracle 1Z0-144 Certification
More informationCO Oracle Database 12c: Advanced PL/SQL
CO-80343 Oracle Database 12c: Advanced PL/SQL Summary Duration 3 Days Audience Application Developers and Database Administrators Level Professional Technology Oracle Database 12c Delivery Method Instructor-led
More informationIntroduction. 2010, Oracle and/or its affiliates. All rights reserved.
Introduction Course Objectives After completing this course, you should be able to do the following: Design PL/SQL packages and program units that execute efficiently Write code to interface with external
More informationOracle Database 10g: Advanced PL/SQL
Oracle Database 10g: Advanced PL/SQL Student Guide D17220GC10 Edition 1.0 June 2004 D39598 Authors Nancy Greenberg Aniket Raut Technical Contributors and Reviewers Andrew Brannigan Christoph Burandt Dairy
More informationOracle Database: Program with PL/SQL
Oracle University Contact Us: Local: 1800 425 8877 Intl: +91 80 4108 4700 Oracle Database: Program with PL/SQL Duration: 50 Hours What you will learn This course introduces students to PL/SQL and helps
More information5. Single-row function
1. 2. Introduction Oracle 11g Oracle 11g Application Server Oracle database Relational and Object Relational Database Management system Oracle internet platform System Development Life cycle 3. Writing
More informationOracle 1Z Oracle Database 11g: Advanced PL/SQL.
Oracle 1Z0-146 Oracle Database 11g: Advanced PL/SQL http://killexams.com/exam-detail/1z0-146 Question: 153 Which two statements correctly describe the features of SecureFiles? (Choose two.) A. Compression
More informationDatabase Programming with PL/SQL
Database Programming with PL/SQL Trapping Oracle Server Exceptions 1 Copyright 2013, Oracle and/or its affiliates. All rights Objectives This lesson covers the following objectives: Describe and provide
More informationPART I Core Ideas and Elements of PL/SQL Performance Tuning
Contents at a Glance PART I Core Ideas and Elements of PL/SQL Performance Tuning 1 The Role of PL/SQL in Contemporary Development... 3 2 DBA/Developer Borderline: Tools and Features... 17 3 Code Instrumentation
More informationOracle12c Release 1 PL/SQL (3 Days)
Oracle12c Release 1 PL/SQL (3 Days) www.peaklearningllc.com Course Description This course provides a complete, hands-on, comprehensive introduction to PL/SQL including the use of both SQL Developer and
More informationVendor: Oracle. Exam Code: 1Z Exam Name: Oracle database 11g:advanced pl/sql. Version: Demo
Vendor: Oracle Exam Code: 1Z0-146 Exam Name: Oracle database 11g:advanced pl/sql Version: Demo QUESTION 1 Which two types of metadata can be retrieved by using the various procedures in the DBMS_METADATA
More information1Z Z0-146-Oracle Database 11g: Advanced PL/SQL Exam Summary Syllabus Questions
1Z0-146 1Z0-146-Oracle Database 11g: Advanced PLSQL Exam Summary Syllabus Questions Table of Contents Introduction to 1Z0-146 Exam on Oracle Database 11g: Advanced PLSQL... 2 Oracle 1Z0-146 Certification
More informationITDUMPS QUESTION & ANSWER. Accurate study guides, High passing rate! IT dumps provides update free of charge in one year!
ITDUMPS QUESTION & ANSWER Accurate study guides, High passing rate! IT dumps provides update free of charge in one year! HTTP://WWW.ITDUMPS.COM Exam : 1Z0-144 Title : Oracle Database 11g: Program with
More informationITBraindumps. Latest IT Braindumps study guide
ITBraindumps http://www.itbraindumps.com Latest IT Braindumps study guide Exam : 1z0-148 Title : Oracle Database 12c: Advanced Pl/SQL Vendor : Oracle Version : DEMO Get Latest & Valid 1z0-148 Exam's Question
More informationVendor: Oracle. Exam Code: 1Z Exam Name: Oracle Database 11g: Program with PL/ SQL. Version: Demo
Vendor: Oracle Exam Code: 1Z0-144 Exam Name: Oracle Database 11g: Program with PL/ SQL Version: Demo QUESTION NO: 1 View the Exhibit to examine the PL/SQL code: SREVROUPUT is on for the session. Which
More informationPROCEDURAL DATABASE PROGRAMMING ( PL/SQL AND T-SQL)
Technology & Information Management Instructor: Michael Kremer, Ph.D. Class 4 Database Programming PROCEDURAL DATABASE PROGRAMMING ( PL/SQL AND T-SQL) AGENDA 6. Stored Functions Procedural Database Programming
More informationImplement a virtual private database with fine-grained access control. Write code to interface with external C and Java applications.
TEMARIO Oracle Database 11g: Advanced PL/SQL Duration: 3 Days What you will learn In this Oracle Database 11G Advanced PL/SQL training, expert Oracle University instructors will help you explore the advanced
More informationOracle Database: Introduction to SQL/PLSQL Accelerated
Oracle University Contact Us: Landline: +91 80 67863899 Toll Free: 0008004401672 Oracle Database: Introduction to SQL/PLSQL Accelerated Duration: 5 Days What you will learn This Introduction to SQL/PLSQL
More informationDatabase Programming with PL/SQL
Database Programming with PL/SQL 12-2 Objectives This lesson covers the following objectives: Identify the benefits of the NOCOPY hint and the DETERMINISTIC clause Create subprograms which use the NOCOPY
More informationProcedural Language Structured Query Language (PL/SQL)
The Islamic University of Gaza Faculty of Engineering Dept. of Computer Engineering Database Lab (ECOM 4113) Lab 7 Procedural Language Structured Query Language (PL/SQL) Eng. Ibraheem Lubbad Structured
More informationOracle PLSQL. Course Summary. Duration. Objectives
Oracle PLSQL Course Summary Use conditional compilation to customize the functionality in a PL/SQL application without removing any source code Design PL/SQL packages to group related constructs Create
More informationto use this Student Guide
Oracle Database 10g: Advanced PL/SQL Student Guide D17220GC10 Edition 1.0 June 2004 D39598 Authors Nancy Greenberg Aniket Raut Technical Contributors and Reviewers Andrew Brannigan Christoph Burandt Dairy
More informationTopics Fundamentals of PL/SQL, Integration with PROIV SuperLayer and use within Glovia
Topics Fundamentals of PL/SQL, Integration with PROIV SuperLayer and use within Glovia 1. Creating a Database Alias 2. Introduction to SQL Relational Database Concept Definition of Relational Database
More informationOracle 1z z0-146 Oracle Database 11g: Advanced PL/SQL. Practice Test. Version QQ:
Oracle 1z0-146 1z0-146 Oracle Database 11g: Advanced PL/SQL Practice Test Version 1.1 QUESTION NO: 1 Which two types of metadata can be retrieved by using the various procedures in the DBMS_METADATA PL/SQL
More informationPL / SQL Basics. Chapter 3
PL / SQL Basics Chapter 3 PL / SQL Basics PL / SQL block Lexical units Variable declarations PL / SQL types Expressions and operators PL / SQL control structures PL / SQL style guide 2 PL / SQL Block Basic
More informationIntroduction to SQL/PLSQL Accelerated Ed 2
Oracle University Contact Us: Local: 1800 103 4775 Intl: +91 80 67863102 Introduction to SQL/PLSQL Accelerated Ed 2 Duration: 5 Days What you will learn This Introduction to SQL/PLSQL Accelerated course
More informationThe perfect 12c PLSQL error handler. www. syntegris.de
The perfect c PLSQL error handler www. syntegris.de www. syntegris.de Twitter: @SvenWOracle Blog: svenweller.wordpress.com the perfect c error handler TOPICS Callstack Errorstack optimization levels Error
More informationCOWLEY COLLEGE & Area Vocational Technical School
COWLEY COLLEGE & Area Vocational Technical School COURSE PROCEDURE FOR Student Level: This course is open to students on the college level in either the freshman or sophomore year. Catalog Description:
More informationLesson B Objectives IF/THEN. Chapter 4B: More Advanced PL/SQL Programming
Chapter 4B: More Advanced PL/SQL Programming Monday 2/23/2015 Abdou Illia MIS 4200 - Spring 2015 Lesson B Objectives After completing this lesson, you should be able to: Create PL/SQL decision control
More informationIT Certification Exams Provider! Weofferfreeupdateserviceforoneyear! h ps://
IT Certification Exams Provider! Weofferfreeupdateserviceforoneyear! h ps://www.certqueen.com Exam : 1Z0-146 Title : Oracle database 11g:advanced pl/sql Version : Demo 1 / 9 1.The database instance was
More informationSQL+PL/SQL. Introduction to SQL
SQL+PL/SQL CURRICULUM Introduction to SQL Introduction to Oracle Database List the features of Oracle Database 12c Discuss the basic design, theoretical, and physical aspects of a relational database Categorize
More informationOracle Class VI. Exception Block Cursors For Loops
Oracle Class VI Exception Block Cursors For Loops Pl/sql some more basics Loop through records, manipulating them one at a time. Keep code secure by offering encryption, and storing code permanently on
More informationOracle PL/SQL Best Practices Part 1. John Mullins
Oracle PLSQL Best Practices Part 1 John Mullins jmullins@themisinc.com www.themisinc.com www.themisinc.comwebinars Presenter John Mullins Themis Inc. (jmullins@themisinc.com) 30+ years of Oracle experience
More informationDatabase Programming with PL/SQL
Database Programming with PL/SQL 15-2 Objectives This lesson covers the following objectives: Explain the similarities and differences between a warning and an error Compare and contrast the warning levels
More informationSection I : Section II : Question 1. Question 2. Question 3.
Computer Science, 60-415 Midterm Examiner: Ritu Chaturvedi Date: Oct. 27 th, 2011 Student Name: Student Number: INSTRUCTIONS (Please Read Carefully) Examination Period is 1 hour and 15 minutes Answer all
More information2 PL/SQL - fundamentals Variables and Constants Operators SQL in PL/SQL Control structures... 7
Table of Contents Spis treści 1 Introduction 1 2 PLSQL - fundamentals 1 2.1 Variables and Constants............................ 2 2.2 Operators.................................... 5 2.3 SQL in PLSQL.................................
More informationDatabase Programming with PL/SQL
Database Programming with PL/SQL 12-1 Objectives This lesson covers the following objectives: Recall the stages through which all SQL statements pass Describe the reasons for using dynamic SQL to create
More information20 Essential Oracle SQL and PL/SQL Tuning Tips. John Mullins
20 Essential Oracle SQL and PL/SQL Tuning Tips John Mullins jmullins@themisinc.com www.themisinc.com www.themisinc.com/webinars Presenter John Mullins Themis Inc. (jmullins@themisinc.com) 30+ years of
More informationOracle Database: Program with PL/SQL Ed 2 Erlernen Sie diese leistungsstarken Programmiersprache
Oracle Database: Program with PL/SQL Ed 2 Erlernen Sie diese leistungsstarken Programmiersprache Preis: This Oracle Database: Program with PL/SQL training starts with an introduction to PL/SQL and then
More informationAppendix A Practices and Solutions
Appendix A Practices and Solutions Table of Contents Practices for Lesson 1... 3 Practice 1-1: Introduction... 4 Practice Solutions 1-1: Introduction... 7 Practices for Lesson 2... 19 Practice 2-1: PLSQL
More informationQuestion: Which statement would you use to invoke a stored procedure in isql*plus?
What are the two types of subprograms? procedure and function Which statement would you use to invoke a stored procedure in isql*plus? EXECUTE Which SQL statement allows a privileged user to assign privileges
More informationOracle Database 11g: SQL and PL/SQL Fundamentals
Oracle University Contact Us: +33 (0) 1 57 60 20 81 Oracle Database 11g: SQL and PL/SQL Fundamentals Duration: 5 Days What you will learn In this course, students learn the fundamentals of SQL and PL/SQL
More informationPassguide.1z questions
Passguide.1z0-146.167 questions Number: 1z0-146 Passing Score: 800 Time Limit: 120 min File Version: 4.5 http://www.gratisexam.com/ Oracle 1z0-146 1z0-146 Oracle Database 11g: Advanced PL/SQL The best
More informationIntroduction p. 1 The Logical and Physical View of Tables p. 1 Database Types p. 4 NULLs p. 6 DDL and DML Statements p. 7 Column and Table Constraint
Preface p. xv Introduction p. 1 The Logical and Physical View of Tables p. 1 Database Types p. 4 NULLs p. 6 DDL and DML Statements p. 7 Column and Table Constraint Clauses p. 7 Sample Database p. 9 A Quick
More informationOracle Database: SQL and PL/SQL Fundamentals NEW
Oracle University Contact Us: 001-855-844-3881 & 001-800-514-06-97 Oracle Database: SQL and PL/SQL Fundamentals NEW Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals
More informationFull file at
ch02 True/False Indicate whether the statement is true or false. 1. The term anonymous blocks refers to blocks of code that are not stored for reuse and do not exist after being executed. 2. The only required
More informationORACLE TRAINING CURRICULUM. Relational Databases and Relational Database Management Systems
ORACLE TRAINING CURRICULUM Relational Database Fundamentals Overview of Relational Database Concepts Relational Databases and Relational Database Management Systems Normalization Oracle Introduction to
More informationOracle 1Z Oracle Database 12c: Advanced PL/SQL.
Oracle 1Z0-148 Oracle Database 12c: Advanced PL/SQL https://killexams.com/pass4sure/exam-detail/1z0-148 QUESTION: 67 Examine this Java method in class Employee, loaded into the Oracle database: Public
More informationC. Use the TO_CHAR function around SYSDATE, that is, 1_date := TO_CHAR (SYSDATE).
Volume: 75 Questions Question: 1 Examine this code: Users of this function may set different date formats in their sessions. Which two modifications must be made to allow the use of your session s date
More informationQuestion Bank PL/SQL Fundamentals-I
Question Bank PL/SQL Fundamentals-I UNIT-I Fundamentals of PL SQL Introduction to SQL Developer, Introduction to PL/SQL, PL/SQL Overview, Benefits of PL/SQL, Subprograms, Overview of the Types of PL/SQL
More informationOracle Database 11g & PL/SQL
Oracle Database 11g & PL/SQL 2 Day Developer's Guide Overview and Examples Marcelo Vinícius Cysneiros Aragão marcelovca90@inatel.br Topics 1. Topics 2. Connecting to Oracle Database and Exploring It 3.
More informationThree Simple Steps to Improving PL/SQL Code Quality
Three Simple Steps to Improving PL/SQL Code Quality Steven Feuerstein Oracle Developer Advocate for PL/SQL Oracle Corporation Email: steven.feuerstein@oracle.com Twitter: @sfonplsql Blog: stevenfeuersteinonplsql.blogspot.com
More informationPLSQL 9i Index. Section Title Page
One PLSQL Introduction 2 Procedural Language for SQL 3 Two PLSQL Structure 5 Basic Structure of PLSQL 6 The Declaration Section in PLSQL 7 Local Variables in PLSQL 8 Naming Local Variables in PLSQL 10
More informationOracle Database: SQL and PL/SQL Fundamentals NEW
Oracle Database: SQL and PL/SQL Fundamentals NEW Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals training delivers the fundamentals of SQL and PL/SQL along with the
More informationQuestion: 1 Which two types of metadata can be retrieved by using the various procedures in the DBMS_METADATA PL/SQL package? (Choose two.
Question: 1 Which two types of metadata can be retrieved by using the various procedures in the DBMS_METADATA PL/SQL package? (Choose two.) A. report of invalidated objects in a schema B. report of statistics
More informationUNIT II PL / SQL AND TRIGGERS
UNIT II PL / SQL AND 1 TRIGGERS TOPIC TO BE COVERED.. 2.1 Basics of PL / SQL 2.2 Datatypes 2.3 Advantages 2.4 Control Structures : Conditional, Iterative, Sequential 2.5 Exceptions: Predefined Exceptions,User
More informationOracle EXAM 1Z0-144 Oracle Database 11g: Program with PL/SQL
Oracle EXAM 1Z0-144 Oracle Database 11g: Program with PL/SQL Total Questions: 80 Question: 1 View the Exhibit to examine the PL/SQL code: SREVROUPUT is on for the session. Which statement Is true about
More information1Z0-144.v Number: 1Z0-144 Passing Score: 800 Time Limit: 120 min File Version:
1Z0-144.v12.39 Number: 1Z0-144 Passing Score: 800 Time Limit: 120 min File Version: 12.39 http://www.gratisexam.com/ Vendor: Oracle Exam Code: 1Z0-144 Exam Name: Oracle Database 11g: Program with PL/SQL
More informationPROCEDURAL DATABASE PROGRAMMING ( PL/SQL AND T-SQL)
Technology & Information Management Instructor: Michael Kremer, Ph.D. Class 5 Database Programming PROCEDURAL DATABASE PROGRAMMING ( PL/SQL AND T-SQL) AGENDA 7. Stored Procedures 7.1 Introduction to Stored
More informationOracle Database: SQL and PL/SQL Fundamentals Ed 2
Oracle University Contact Us: Local: 1800 103 4775 Intl: +91 80 67863102 Oracle Database: SQL and PL/SQL Fundamentals Ed 2 Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals
More informationTable of Contents. Oracle SQL PL/SQL Training Courses
Table of Contents Overview... 7 About DBA University, Inc.... 7 Eligibility... 8 Pricing... 8 Course Topics... 8 Relational database design... 8 1.1. Computer Database Concepts... 9 1.2. Relational Database
More informationExam Name: Oracle Database 11g: Program with PL/SQL
Vendor: Oracle Exam Code: 1Z0-144 Exam Name: Oracle Database 11g: Program with PL/SQL Version: DEMO 1.View the Exhibit to examine the PL/SQL code: SREVROUPUT is on for the session. Which statement Is true
More informationJPexam. 最新の IT 認定試験資料のプロバイダ IT 認証であなたのキャリアを進めます
JPexam 最新の IT 認定試験資料のプロバイダ http://www.jpexam.com IT 認証であなたのキャリアを進めます Exam : 1Z0-146 Title : Oracle database 11g:advanced pl/sql Vendors : Oracle Version : DEMO 1 / 5 Get Latest & Valid 1Z0-146 Exam's Question
More information"Charting the Course... Oracle 18c PL/SQL (5 Day) Course Summary
Course Summary Description This course provides a complete, hands-on, comprehensive introduction to PL/SQL including the use of both SQL Developer and SQL*Plus. This coverage is appropriate for both Oracle11g
More informationThe PL/SQL Engine: PL/SQL. A PL/SQL Block: Declaration Section. Execution Section. Declaration Section 3/24/2014
PL/SQL The PL/SQL Engine: PL/SQL stands for Procedural Language extension of SQL. PL/SQL is a combination of SQL along with the procedural features of programming languages. It was developed by Oracle
More informationOracle 9i Application Development and Tuning
Index 2NF, NOT 3NF or BCNF... 2:17 A Anomalies Present in this Relation... 2:18 Anomalies (Specific) in this Relation... 2:4 Application Design... 1:28 Application Environment... 1:1 Application-Specific
More informationCreating and Managing Tables Schedule: Timing Topic
9 Creating and Managing Tables Schedule: Timing Topic 30 minutes Lecture 20 minutes Practice 50 minutes Total Objectives After completing this lesson, you should be able to do the following: Describe the
More informationBraindumps.1z QA
Braindumps.1z0-146.116.QA Number: 1z0-146 Passing Score: 800 Time Limit: 120 min File Version: 7.4 http://www.gratisexam.com/ Passed!!!!!! I did it! The credit of my success however actually goes to this
More informationOracle Database: SQL and PL/SQL Fundamentals
Oracle University Contact Us: 001-855-844-3881 & 001-800-514-06-9 7 Oracle Database: SQL and PL/SQL Fundamentals Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals training
More informationORACLE DATABASE 12C INTRODUCTION
SECTOR / IT NON-TECHNICAL & CERTIFIED TRAINING COURSE In this training course, you gain the skills to unleash the power and flexibility of Oracle Database 12c, while gaining a solid foundation of database
More informationTable of Contents. PDF created with FinePrint pdffactory Pro trial version
Table of Contents Course Description The SQL Course covers relational database principles and Oracle concepts, writing basic SQL statements, restricting and sorting data, and using single-row functions.
More informationExam Actual. Higher Quality. Better Service! QUESTION & ANSWER
Higher Quality Better Service! Exam Actual QUESTION & ANSWER Accurate study guides, High passing rate! Exam Actual provides update free of charge in one year! http://www.examactual.com Exam : 1Z0-047 Title
More informationSisteme Informatice şi Standarde Deschise (SISD) Curs 7 Standarde pentru programarea bazelor de date (1)
Administrarea Bazelor de Date Managementul în Tehnologia Informaţiei Sisteme Informatice şi Standarde Deschise (SISD) 2009-2010 Curs 7 Standarde pentru programarea bazelor de date (1) 23.11.2009 Sisteme
More information1z Oracle Database SQL Expert
1z0-047 Oracle Database SQL Expert Version 1.6 QUESTION NO: 1 Which three possible values can be set for the TIME_ZONE session parameter by using the ALTER SESSION command? (Choose three.) E. 'os' local
More informationPL/SQL Block structure
PL/SQL Introduction Disadvantage of SQL: 1. SQL does t have any procedural capabilities. SQL does t provide the programming technique of conditional checking, looping and branching that is vital for data
More informationWhen a database trigger routine does not have to take place before the triggering event, which timing should you assign to the trigger?
Page 1 of 80 Item: 1 (Ref:1z0-147e.9.2.4) When a database trigger routine does not have to take place before the triggering event, which timing should you assign to the trigger? nmlkj ON nmlkj OFF nmlkj
More informationOracle EXAM - 1Z Oracle Database 11g: Program with PL/SQL. Buy Full Product.
Oracle EXAM - 1Z0-144 Oracle Database 11g: Program with PL/SQL Buy Full Product http://www.examskey.com/1z0-144.html Examskey Oracle 1Z0-144 exam demo product is here for you to test the quality of the
More informationORACLE DEV 11G CURRICULUM. Introduction to SQL
ORACLE DEV 11G CURRICULUM Introduction to SQL Introduction to Oracle Database List the features of Oracle Database 12c Discuss the basic design, theoretical, and physical aspects of a relational database
More informationOracle Database: Introduction to SQL Ed 2
Oracle University Contact Us: +40 21 3678820 Oracle Database: Introduction to SQL Ed 2 Duration: 5 Days What you will learn This Oracle Database 12c: Introduction to SQL training helps you write subqueries,
More informationOracle 1Z Oracle Database SQL Expert. Download Full Version :
Oracle 1Z0-047 Oracle Database SQL Expert Download Full Version : http://killexams.com/pass4sure/exam-detail/1z0-047 QUESTION: 270 View the Exhibit and examine the structure for the ORDERS and ORDER_ITEMS
More informationSlides by: Ms. Shree Jaswal
Slides by: Ms. Shree Jaswal A trigger is a statement that is executed automatically by the system as a side effect of a modification to the database. To design a trigger mechanism, we must: Specify the
More informationOracle 1Z Develop PL/SQL Program Units. Download Full Version :
Oracle 1Z0-101 Develop PLSQL Program Units Download Full Version : http:killexams.compass4sureexam-detail1z0-101 QUESTION: 105 Examine this package: CREATE OR REPLACE PACKAGE BB_PACK V_MAX_TEAM_SALARY
More information