Edition-Based Redefinition

Size: px
Start display at page:

Download "Edition-Based Redefinition"

Transcription

1 Edition-Based Redefinition Janina Patolla Trivadis AG, Basel Basel Baden Bern Brugg Lausanne Zurich Düsseldorf Frankfurt/M. Freiburg i. Br. Hamburg Munich Stuttgart Vienna

2 Introduction Upgrading critical applications can be very difficult. Problems: long downtimes cannot be scheduled periodically For such applications we'd prefer online upgrades. Up to Oracle 11g Release 1 no real support With Oracle 11g Release 2 and Edition-based Redefinition, real support for implementing online upgrades. Oracle Database New Features 11g for Developers Edition Based Redefinition 2

3 Agenda Editions Editioned Objects Editioning Views Data are always part of the game. Crossedition Triggers Limitations Oracle Database New Features 11g for Developers Edition Based Redefinition 3

4 Concept As of Oracle Database 11g Release 2 an object is identified by: its name the user (schema) it belongs to nothing new so far its EDITION The aim of the edition support several copies (editions) of a given object Objects with several copies editioned objects. Objects that cannot have several copies noneditioned objects, have no edition. In data dictionary, edition is set to NULL. Oracle Database New Features 11g for Developers Edition Based Redefinition 4

5 @ Online Upgrade Using Editions RECIPIENT May.Ling Tom.Kerr Ina.Ries DOMAIN xx.com xx.com ght.de PERSONS_TAB HR_PKG PERSONS Ora$Base PERS_PKG HR_PKG PERS_PKG PERSONS FCT RCT Edi_1 Oracle Database New Features 11g for Developers Edition Based Redefinition 5

6 Editionable Object Types Editionable object types FUNCTION LIBRARY PACKAGE and PACKAGE BODY PROCEDURE SYNONYM TRIGGER TYPE and TYPE BODY VIEW Noneditionable object types do not support editions TABLE PUBLIC SYNONYM Oracle Database New Features 11g for Developers Edition Based Redefinition 6

7 Enabling Editions for a User Editioned objects can only be owned by users that have been explicitly enabled to do so. SQL> ALTER USER cha ENABLE EDITIONS; The operation of enabling a user to create editioned objects is irreversible! Oracle Database New Features 11g for Developers Edition Based Redefinition 7

8 Creating Editions (1) Every database must have at least one edition. A database supports several editions organized as a "hierarchy" with one root edition (by default ORA$BASE) and a parent-child relationship between every other edition. ORA$BASE REL1 REL2 REL3 The CREATE EDITION statement is used to create an edition. It requires the CREATE ANY EDITION system privilege. SQL> CREATE EDITION rel1 AS CHILD OF ora$base; SQL> CREATE EDITION rel2 AS CHILD OF rel1; SQL> CREATE EDITION rel3 AS CHILD OF rel2; Oracle Database New Features 11g for Developers Edition Based Redefinition 8

9 Creating Editions (2) Default: new edition can only be used by the user who created it by SYS. Grant USE ON EDITION privilege for other users SQL> GRANT USE ON EDITION rel2 TO cha; SQL> GRANT USE ON EDITION rel3 TO PUBLIC; Oracle Database New Features 11g for Developers Edition Based Redefinition 9

10 Selecting Editions Specify session edition when connection is created, APIs (e.g. OCI and JDBC) tools (e.g. SQL*Plus and Data Pump) Property DEFAULT_EDITION specifies session default By default, the property is set to ORA$BASE. Session edition can also be modified ALTER SESSION statement SQL> ALTER SESSION SET EDITION = rel1; May be used with ON-LOGON Triggers Oracle Database New Features 11g for Developers Edition Based Redefinition 10

11 Dropping Editions The DROP EDITION is used to drop an edition. It requires the DROP ANY EDITION system privilege. In addition, the following conditions must be met: The edition is not the latest database edition. The edition is not the default database edition. The edition is not in use as session edition. The edition is either the root or the leaf of the hierarchy. If the edition is the leaf of the hierarchy and it still has associated objects, the CASCADE option must be specified. If the edition is the root of the hierarchy, the child edition must not inherit objects from the root edition. Dropping an edition that is no longer used is optional. Oracle Database New Features 11g for Developers Edition Based Redefinition 11

12 Agenda Editions Editioned Objects Editioning Views Data are always part of the game. Crossedition Triggers Limitations Oracle Database New Features 11g for Developers Edition Based Redefinition 12

13 Creating Editioned Objects Editioned objects are created like any other object. Set edition before creating object SQL> ALTER SESSION SET EDITION = rel1; SQL> CREATE OR REPLACE PROCEDURE hello IS 2 BEGIN 3 dbms_output.put_line('hello from REL1'); 4 END; 5 / Enabling editions for a user with existing object: objects are associated with the root edition Oracle Database New Features 11g for Developers Edition Based Redefinition 13

14 Redefining Editioned Objects (1) The typical steps that are carried out to redefine editioned objects are the following. Create a new edition and set it as session edition. Redefine the editioned objects and ensure that all objects are valid. Check whether the application works as expected with the new edition. Permanently switch to the new edition. Oracle Database New Features 11g for Developers Edition Based Redefinition 14

15 Redefining Editioned Objects (2) When a new edition is created, all objects that are associated with the parent edition are inherited by the child edition. objects not associated with the child edition only made visible to the child edition. To redefine editioned objects, select the new edition alter, add, drop or recompile editioned object (DDL statements) SQL> ALTER SESSION SET EDITION = rel2; SQL> CREATE OR REPLACE PROCEDURE hello IS 2 BEGIN 3 dbms_output.put_line('hello from REL2'); 4 END; 5 / Oracle Database New Features 11g for Developers Edition Based Redefinition 15

16 Agenda Editions Editioned Objects Editioning Views Data are always part of the game. Crossedition Triggers Limitations Oracle Database New Features 11g for Developers Edition Based Redefinition 16

17 Editioning Views (1) Tables are not editionable. If data is part of revisioning, every table should be covered with an editioning view in the application all references to tables are replaced with references to editioning views. An editioning views is a regular view with a few special characteristics: It only supports projections (no restrictions, joins, aggregations, ). It supports DML triggers. It does not support INSTEAD OF triggers. Oracle Database New Features 11g for Developers Edition Based Redefinition 17

18 Editioning Views (2) To create an editioning view, use EDITIONING keyword in the CREATE VIEW statement. SQL> DESCRIBE persons Name Null? Type ID NOT NULL NUMBER(10) FIRST_NAME NOT NULL VARCHAR2(100) LAST_NAME NOT NULL VARCHAR2(100) NOT NULL VARCHAR2(100) SQL> RENAME persons TO persons_tab; SQL> CREATE EDITIONING VIEW persons AS 2 SELECT id, first_name AS firstname, 3 last_name AS lastname, 4 FROM persons_tab; Oracle Database New Features 11g for Developers Edition Based Redefinition 18

19 Agenda Editions Editioned Objects Editioning Views Data are always part of the game. Crossedition Triggers Limitations Oracle Database New Features 11g for Developers Edition Based Redefinition 19

20 Crossedition Triggers (1) During upgrade, editioning views may be set in read-only editioned views based on tables that have to be redefined should be set in read-only mode. Whenever possible If setting editioned views to read-only is not an option, crossedition triggers have to be used Oracle Database New Features 11g for Developers Edition Based Redefinition 20

21 Forward Crossedition Triggers (1) Forward crossedition trigger transform a row from the old structure into the new structure Forward crossedition trigger is created in the new edition The old one should never be modified Fires when a DML statement is executed by a session using an ancestor edition of the trigger edition Forward crossedition trigger are explicitly defined specifying the FORWARD CROSSEDITION clause Oracle Database New Features 11g for Developers Edition Based Redefinition 21

22 Forward Crossedition Triggers (2) SQL> ALTER TABLE persons_tab ADD ( 2 _recipient VARCHAR2(100), 3 _domain VARCHAR2(100) 4 ); SQL> CREATE TRIGGER persons_fc_trg 2 BEFORE INSERT OR UPDATE ON persons_tab FOR EACH ROW 3 FORWARD CROSSEDITION 4 DISABLE 5 BEGIN 6 :new. _recipient := 7 regexp_substr(:new. ,'(.*)@',1,1,null,1); 8 :new. _domain := 9 regexp_substr(:new. ,'@(.*)',1,1,null,1); 10 END; 11 / Oracle Database New Features 11g for Developers Edition Based Redefinition 22

23 Forward Crossedition Triggers (3) Data Migration The data already stored in the redefined table has to be converted in the new structure as well. Idea: fire the trigger for every row already stored in the table Reuse logic Performance? DBMS_SQL.PARSE function for trigger application To avoid an inconsistent state: Enable the forward edition trigger. Wait for every transaction on the redefined table to be committed or rolled back (use DBMS_UTILITY.WAIT_ON_PENDING_DML). Start a PL/SQL block that fires the trigger for every row. Oracle Database New Features 11g for Developers Edition Based Redefinition 23

24 Forward Crossedition Triggers (4) Data Migration SQL> DECLARE 2 c INTEGER; 3 r INTEGER; 4 BEGIN 5 c := dbms_sql.open_cursor; 6 dbms_sql.parse( 7 c => c, 8 statement => 'UPDATE persons' 9 'SET _domain = _domain', 10 language_flag => dbms_sql.native, 11 apply_crossedition_trigger => 'persons_fc_trg' 12 ); 13 r := dbms_sql.execute(c); 14 dbms_sql.close_cursor(c); 15 COMMIT; 16 END; 17 / Oracle Database New Features 11g for Developers Edition Based Redefinition 24

25 Reverse Crossedition Triggers (1) Reverse crossedition trigger are used when old and new edition are used concurrently Reverse crossedition trigger transforms a row from new structure to old structure. Reverse crossedition trigger is created in new edition and fires when a DML statement is executed by a session using the trigger edition(or a descendent) Reverse crossedition trigger are explicitly defined specifying the REVERSE CROSSEDITION clause. Oracle Database New Features 11g for Developers Edition Based Redefinition 25

26 Reverse Crossedition Triggers (2) SQL> CREATE TRIGGER persons_rc_trg 2 BEFORE INSERT OR UPDATE ON persons_tab FOR EACH ROW 3 REVERSE CROSSEDITION 4 DISABLE 5 BEGIN 6 :new. = :new. _recipient 7 '@' 8 :new. _domain; 9 END; 10 / Oracle Database New Features 11g for Developers Edition Based Redefinition 26

27 @ Online Upgrade Final Steps RECIPIENT May.Ling Tom.Kerr Ina.Ries DOMAIN xx.com xx.com ght.de PERSONS_TAB HR_PKG PERSONS Ora$Base PERS_PKG HR_PKG PERS_PKG PERSONS FCT RCT Edi_1 Oracle Database New Features 11g for Developers Edition Based Redefinition 27

28 Agenda Editions Editioned Objects Editioning Views Data are always part of the game. Crossedition Triggers Limitations Oracle Database New Features 11g for Developers Edition Based Redefinition 28

29 Limitations There are two important implementation limitations related to the hierarchies that can be built with editions: Every edition can have at most one child. Every database has one, and only one, root edition. VER11 CRM10 CRM11 CRM12 ORA$BASE VER10 VER20 HR1 HR2 HR3 The possibility of tying the default edition to a database service is not available. Indexes and constraints can only be created on tables. Hence, there is no way to take advantage of editions with them. Oracle Database New Features 11g for Developers Edition Based Redefinition 29

30 Edition-Based Redefinition Core Messages Data are always part of the game. Edition-based redefinition provides completely new features that make online upgrades possible. The complexity of such upgrades should not be underestimated. Oracle Database New Features 11g for Developers Edition Based Redefinition 30

Exploring Edition-Based Redefinition

Exploring Edition-Based Redefinition Exploring Edition-Based Redefinition Presented by: John Jay King King Training Resources - john@kingtraining.com Download this paper from: http://www.kingtraining.com 1 Session Objectives Understand the

More information

<Insert Picture Here> Edition-based redefinition: the key to online application upgrade

<Insert Picture Here> Edition-based redefinition: the key to online application upgrade Edition-based redefinition: the key to online application upgrade Bryn Llewellyn Distinguished Product Manager, Database Division, Oracle HQ The following is intended to outline our

More information

Oracle In-Memory & Data Warehouse: The Perfect Combination?

Oracle In-Memory & Data Warehouse: The Perfect Combination? : The Perfect Combination? UKOUG Tech17, 6 December 2017 Dani Schnider, Trivadis AG @dani_schnider danischnider.wordpress.com BASEL BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN

More information

Scripting OBIEE Is UDML and XML all you need?

Scripting OBIEE Is UDML and XML all you need? Scripting OBIEE Is UDML and XML all you need? Andreas Nobbmann Consultant Business Intelligence Andreas.Nobbmann@trivadis.com Brighton, May 14th, 2009 Basel Baden Bern Lausanne Zürich Düsseldorf Frankfurt/M.

More information

Online Operations in Oracle 12.2

Online Operations in Oracle 12.2 Online Operations in Oracle 12.2 New Features and Enhancements Christian Gohmann BASEL BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN LAUSANNE MUNICH STUTTGART VIENNA ZURICH

More information

Creating and Managing Tables Schedule: Timing Topic

Creating 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 information

Application Containers an Introduction

Application Containers an Introduction Application Containers an Introduction Oracle Database 12c Release 2 - Multitenancy for Applications Markus Flechtner BASLE BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN

More information

Oracle Database 10g: Introduction to SQL

Oracle Database 10g: Introduction to SQL ORACLE UNIVERSITY CONTACT US: 00 9714 390 9000 Oracle Database 10g: Introduction to SQL Duration: 5 Days What you will learn This course offers students an introduction to Oracle Database 10g database

More information

Application Containers an Introduction

Application Containers an Introduction Application Containers an Introduction Oracle Database 12c Release 2 Multitenancy for Applications Markus Flechtner BASLE BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN LAUSANNE

More information

Query Optimizer MySQL vs. PostgreSQL

Query Optimizer MySQL vs. PostgreSQL Percona Live, Frankfurt (DE), 7 November 2018 Christian Antognini @ChrisAntognini antognini.ch/blog BASEL BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN LAUSANNE MUNICH STUTTGART

More information

Query Optimizer MySQL vs. PostgreSQL

Query Optimizer MySQL vs. PostgreSQL Percona Live, Santa Clara (USA), 24 April 2018 Christian Antognini @ChrisAntognini antognini.ch/blog BASEL BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN LAUSANNE MUNICH

More information

Oracle Database New Performance Features

Oracle Database New Performance Features Oracle Database 12.1.0.2 New Performance Features DOAG 2014, Nürnberg (DE) Christian Antognini BASEL BERN BRUGG LAUSANNE ZUERICH DUESSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG MUNICH STUTTGART VIENNA

More information

Application Containers an Introduction

Application Containers an Introduction Application Containers an Introduction Oracle Database 12c Release 2 Multitenancy for Applications Markus Flechtner @markusdba doag2017 Our company. Trivadis is a market leader in IT consulting, system

More information

5. Single-row function

5. 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 information

Oracle PLSQL Training Syllabus

Oracle 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 information

PROCEDURAL DATABASE PROGRAMMING ( PL/SQL AND T-SQL)

PROCEDURAL DATABASE PROGRAMMING ( PL/SQL AND T-SQL) Technology & Information Management Instructor: Michael Kremer, Ph.D. Class 6 Database Programming PROCEDURAL DATABASE PROGRAMMING ( PL/SQL AND T-SQL) AGENDA 8. Using Declarative SQL in Procedural SQL

More information

ORACLE 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 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 information

Chapter 1 SQL and Data

Chapter 1 SQL and Data Chapter 1 SQL and Data What is SQL? Structured Query Language An industry-standard language used to access & manipulate data stored in a relational database E. F. Codd, 1970 s IBM 2 What is Oracle? A relational

More information

You'll even like your Data Guard more with Flashback

You'll even like your Data Guard more with Flashback You'll even like your Data Guard more with Flashback Hervé Schweitzer Mathias Zarick München, 26.01.2010 Baden Basel Bern Brugg Lausanne Zürich Düsseldorf Frankfurt/M. Freiburg i. Br. Hamburg München Stuttgart

More information

Database Programming with PL/SQL

Database 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 information

Oracle 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 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 information

Proje D2K. CMM (Capability Maturity Model) level Project Standard:- Corporate Trainer s Profile

Proje D2K. CMM (Capability Maturity Model) level Project Standard:- Corporate Trainer s Profile D2K Corporate Trainer s Profile Corporate Trainers are having the experience of 4 to 12 years in development, working with TOP CMM level 5 comapnies (Project Leader /Project Manager ) qualified from NIT/IIT/IIM

More information

UNIT-IV (Relational Database Language, PL/SQL)

UNIT-IV (Relational Database Language, PL/SQL) UNIT-IV (Relational Database Language, PL/SQL) Section-A (2 Marks) Important questions 1. Define (i) Primary Key (ii) Foreign Key (iii) unique key. (i)primary key:a primary key can consist of one or more

More information

Identifying Performance Problems in a Multitenant Environment

Identifying Performance Problems in a Multitenant Environment Identifying Performance Problems in a Multitenant Environment Christian Antognini @ChrisAntognini antognini.ch/blog BASEL BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN LAUSANNE

More information

Oracle User Administration

Oracle User Administration Oracle User Administration Creating user accounts User accounts consist of two components. These are: 1. User name - The name of the account. 2. Password - The password associated with the user account.

More information

ORACLE 12C NEW FEATURE. A Resource Guide NOV 1, 2016 TECHGOEASY.COM

ORACLE 12C NEW FEATURE. A Resource Guide NOV 1, 2016 TECHGOEASY.COM ORACLE 12C NEW FEATURE A Resource Guide NOV 1, 2016 TECHGOEASY.COM 1 Oracle 12c New Feature MULTITENANT ARCHITECTURE AND PLUGGABLE DATABASE Why Multitenant Architecture introduced with 12c? Many Oracle

More information

Question: Which statement would you use to invoke a stored procedure in isql*plus?

Question: 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 information

Vendor: Oracle. Exam Code: 1Z Exam Name: Oracle Database 11g: Program with PL/ SQL. Version: Demo

Vendor: 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 information

SQL Interview Questions

SQL Interview Questions SQL Interview Questions SQL stands for Structured Query Language. It is used as a programming language for querying Relational Database Management Systems. In this tutorial, we shall go through the basic

More information

Oracle Database: Program with PL/SQL

Oracle 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 information

Designing for Performance: Database Related Worst Practices ITOUG Tech Day, 11 November 2016, Milano (I) Christian Antognini

Designing for Performance: Database Related Worst Practices ITOUG Tech Day, 11 November 2016, Milano (I) Christian Antognini Designing for Performance: Database Related Worst Practices ITOUG Tech Day, 11 November 2016, Milano (I) Christian Antognini BASLE BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN

More information

Oracle Database: Introduction to SQL Ed 2

Oracle 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 information

Oracle Developer Track Course Contents. Mr. Sandeep M Shinde. Oracle Application Techno-Functional Consultant

Oracle 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 information

Oracle Database: Program with PL/SQL Ed 2

Oracle 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 information

Oracle 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 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 information

Oracle Database: SQL and PL/SQL Fundamentals NEW

Oracle 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 information

Conditionally control code flow (loops, control structures). Create stored procedures and functions.

Conditionally 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 information

Oracle Database: SQL and PL/SQL Fundamentals

Oracle 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 information

Oracle Database 11g: Program with PL/SQL

Oracle 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 information

Die Wundertüte DBMS_STATS: Überraschungen in der Praxis

Die Wundertüte DBMS_STATS: Überraschungen in der Praxis Die Wundertüte DBMS_STATS: Überraschungen in der Praxis, 14. Mai 2018 Dani Schnider, Trivadis AG @dani_schnider danischnider.wordpress.com BASEL BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA

More information

Oracle Database: SQL and PL/SQL Fundamentals Ed 2

Oracle 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 information

Oracle Exam 1z0-144 Oracle Database 11g: Program with PL/SQL Version: 8.5 [ Total Questions: 103 ]

Oracle Exam 1z0-144 Oracle Database 11g: Program with PL/SQL Version: 8.5 [ Total Questions: 103 ] s@lm@n Oracle Exam 1z0-144 Oracle Database 11g: Program with PL/SQL Version: 8.5 [ Total Questions: 103 ] Question No : 1 What is the correct definition of the persistent state of a packaged variable?

More information

Introduction to Computer Science and Business

Introduction 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 information

Pitfalls & Surprises with DBMS_STATS: How to Solve Them

Pitfalls & Surprises with DBMS_STATS: How to Solve Them Pitfalls & Surprises with DBMS_STATS: How to Solve Them Dani Schnider, Trivadis AG @dani_schnider danischnider.wordpress.com BASEL BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN

More information

CS6302 DBMS 2MARK & 16 MARK UNIT II SQL & QUERY ORTIMIZATION 1. Define Aggregate Functions in SQL? Aggregate function are functions that take a collection of values as input and return a single value.

More information

Oracle Database 18c New Performance Features

Oracle Database 18c New Performance Features Oracle Database 18c New Performance Features Christian Antognini @ChrisAntognini antognini.ch/blog BASEL BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN LAUSANNE MUNICH STUTTGART

More information

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

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 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 information

Oracle Database 11g: SQL and PL/SQL Fundamentals

Oracle 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 information

A Unit of SequelGate Innovative Technologies Pvt. Ltd. All Training Sessions are Completely Practical & Real-time

A Unit of SequelGate Innovative Technologies Pvt. Ltd. All Training Sessions are Completely Practical & Real-time SQL Basics & PL-SQL Complete Practical & Real-time Training Sessions A Unit of SequelGate Innovative Technologies Pvt. Ltd. ISO Certified Training Institute Microsoft Certified Partner Training Highlights

More information

Oracle Database 11g: Program with PL/SQL Release 2

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 information

Oracle 1z z0-146 Oracle Database 11g: Advanced PL/SQL. Practice Test. Version QQ:

Oracle 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 information

R12.2 Development and Deployment of Customizations

R12.2 Development and Deployment of Customizations R12.2 Development and Deployment of Customizations Session ID#: 10309, Wed 4/15/2015, 9:15-10:15, South Seas H Prepared by: John Peters Principal Consultant JRPJR, Inc john.peters@jrpjr.com Revision 2.1

More information

Oracle Database: Introduction to SQL

Oracle Database: Introduction to SQL Oracle University Contact Us: (+202) 35 35 02 54 Oracle Database: Introduction to SQL Duration: 5 Days What you will learn View a newer version of this course This Oracle Database: Introduction to SQL

More information

1Z0-144 Q&As Oracle Database 11g: Program with PL/ SQL

1Z0-144 Q&As Oracle Database 11g: Program with PL/ SQL CertBus.com 1Z0-144 Q&As Oracle Database 11g: Program with PL/ SQL Pass Oracle 1Z0-144 Exam with 100% Guarantee Free Download Real Questions & Answers PDF and VCE file from: 100% Passing Guarantee 100%

More information

Object-Relational Mapping Tools let s talk to each other!

Object-Relational Mapping Tools let s talk to each other! Object-Relational Mapping Tools let s talk to each other! BASEL BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN LAUSANNE MUNICH STUTTGART VIENNA ZURICH Agenda O/R Mappers

More information

Oracle Database: Introduction to SQL

Oracle Database: Introduction to SQL Oracle University Contact Us: +27 (0)11 319-4111 Oracle Database: Introduction to SQL Duration: 5 Days What you will learn This Oracle Database: Introduction to SQL training helps you write subqueries,

More information

Lab # 2. Data Definition Language (DDL) Eng. Alaa O Shama

Lab # 2. Data Definition Language (DDL) Eng. Alaa O Shama The Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM 4113: Database Lab Lab # 2 Data Definition Language (DDL) Eng. Alaa O Shama October, 2015 Objective To be familiar

More information

Real Application Security Administration

Real Application Security Administration Oracle Database Real Application Security Administration Console (RASADM) User s Guide 12c Release 2 (12.2) E85615-01 June 2017 Real Application Security Administration Oracle Database Real Application

More information

Database Rolling Upgrade with Transient Logical Standby Database DOAG Day High Availability Robert Bialek Principal Consultant

Database Rolling Upgrade with Transient Logical Standby Database DOAG Day High Availability Robert Bialek Principal Consultant Database Rolling Upgrade with Transient Logical Standby Database DOAG Day High Availability Robert Bialek Principal Consultant BASEL BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENF HAMBURG KOPENHAGEN

More information

Oracle - Oracle Database: Program with PL/SQL Ed 2

Oracle - 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 information

Oracle Syllabus Course code-r10605 SQL

Oracle Syllabus Course code-r10605 SQL Oracle Syllabus Course code-r10605 SQL Writing Basic SQL SELECT Statements Basic SELECT Statement Selecting All Columns Selecting Specific Columns Writing SQL Statements Column Heading Defaults Arithmetic

More information

IT Certification Exams Provider! Weofferfreeupdateserviceforoneyear! h ps://

IT 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 information

Lecture 08. Spring 2018 Borough of Manhattan Community College

Lecture 08. Spring 2018 Borough of Manhattan Community College Lecture 08 Spring 2018 Borough of Manhattan Community College 1 The SQL Programming Language Recent versions of the SQL standard allow SQL to be embedded in high-level programming languages to help develop

More information

Introduction to Oracle Objects

Introduction to Oracle Objects This lab describes the advantages and key features of the Oracle object-relational model. The lab contains these topics: About Oracle Objects Advantages of Objects About Oracle Objects Oracle object types

More information

Misc. Triggers Views Roles Sequences - Synonyms. Eng. Mohammed Alokshiya. Islamic University of Gaza. Faculty of Engineering

Misc. Triggers Views Roles Sequences - Synonyms. Eng. Mohammed Alokshiya. Islamic University of Gaza. Faculty of Engineering Islamic University of Gaza Faculty of Engineering Computer Engineering Dept. Database Lab (ECOM 4113) Lab 9 Misc. Triggers Views Roles Sequences - Synonyms Eng. Mohammed Alokshiya December 7, 2014 Views

More information

ORACLE VIEWS ORACLE VIEWS. Techgoeasy.com

ORACLE VIEWS ORACLE VIEWS. Techgoeasy.com ORACLE VIEWS ORACLE VIEWS Techgoeasy.com 1 Oracle VIEWS WHAT IS ORACLE VIEWS? -A view is a representation of data from one or more tables or views. -A view is a named and validated SQL query which is stored

More information

Oracle 1Z Oracle9i: Program with PL/SQL. Download Full Version :

Oracle 1Z Oracle9i: Program with PL/SQL. Download Full Version : Oracle 1Z0-147 Oracle9i: Program with PL/SQL Download Full Version : https://killexams.com/pass4sure/exam-detail/1z0-147 Answer: C QUESTION: 118 Which two describe a stored procedure? (Choose two.) A.

More information

ORACLE APPLICATIONS R12.2, EBR, ONLINE PATCHING - MEANS LOT OF WORK FOR DEVELOPERS. Ajith Narayanan 25 th Feb 2015, Bangalore, India

ORACLE APPLICATIONS R12.2, EBR, ONLINE PATCHING - MEANS LOT OF WORK FOR DEVELOPERS. Ajith Narayanan 25 th Feb 2015, Bangalore, India ORACLE APPLICATIONS R12.2, EBR, ONLINE PATCHING - MEANS LOT OF WORK FOR DEVELOPERS Ajith Narayanan 25 th Feb 2015, Bangalore, India Who Am I? Ajith Narayanan Oracle ACE Associate 11 years of Oracle [APPS]

More information

ORACLE DATABASE 12C INTRODUCTION

ORACLE 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 information

DATA AND SCHEMA MODIFICATIONS CHAPTERS 4,5 (6/E) CHAPTER 8 (5/E)

DATA AND SCHEMA MODIFICATIONS CHAPTERS 4,5 (6/E) CHAPTER 8 (5/E) 1 DATA AND SCHEMA MODIFICATIONS CHAPTERS 4,5 (6/E) CHAPTER 8 (5/E) 2 LECTURE OUTLINE Updating Databases Using SQL Specifying Constraints as Assertions and Actions as Triggers Schema Change Statements in

More information

Oracle Database: Introduction to SQL

Oracle Database: Introduction to SQL Oracle Database: Introduction to SQL What you will learn Understanding the basic concepts of relational databases ensure refined code by developers. This course helps the participants to write subqueries,

More information

Sqlplus To Create The Plan_table In Your Schema

Sqlplus To Create The Plan_table In Your Schema Sqlplus To Create The Plan_table In Your Schema It provides an example of how to create a SQL Plan Baseline for a query with auto capture, and it demonstrates how You can use sqlplus on the commandline

More information

Analytic Views: Use Cases in Data Warehouse. Dani Schnider, Trivadis AG DOAG Conference, 21 November 2017

Analytic Views: Use Cases in Data Warehouse. Dani Schnider, Trivadis AG DOAG Conference, 21 November 2017 Analytic Views: Use Cases in Data Warehouse Dani Schnider, Trivadis AG DOAG Conference, 21 November 2017 @dani_schnider DOAG2017 Our company. Trivadis is a market leader in IT consulting, system integration,

More information

Review -Chapter 4. Review -Chapter 5

Review -Chapter 4. Review -Chapter 5 Review -Chapter 4 Entity relationship (ER) model Steps for building a formal ERD Uses ER diagrams to represent conceptual database as viewed by the end user Three main components Entities Relationships

More information

Oracle Database 12c: New Features for Administrators Duration: 5 Days

Oracle Database 12c: New Features for Administrators Duration: 5 Days Oracle Database 12c: New Features for Administrators Duration: 5 Days What you will learn In the Oracle Database 12c: New Features for Administrators course, you ll learn about the new and enhanced features

More information

Oracle Database 12c SQL Fundamentals

Oracle Database 12c SQL Fundamentals Course Overview This course takes a unique approach to SQL training in that it incorporates data modeling theory, relational database theory, graphical depictions of theoretical concepts and numerous examples

More information

Oracle PL SQL Training & Certification

Oracle PL SQL Training & Certification About Intellipaat Intellipaat is a fast-growing professional training provider that is offering training in over 150 most sought-after tools and technologies. We have a learner base of 600,000 in over

More information

SQL is an English like language consisting of commands to store, retrieve, maintain & regulate access to your database.

SQL is an English like language consisting of commands to store, retrieve, maintain & regulate access to your database. SQL SQL is an English like language consisting of commands to store, retrieve, maintain & regulate access to your database. SQL*Plus SQL*Plus is an application that recognizes & executes SQL commands &

More information

Lab # 4. Data Definition Language (DDL)

Lab # 4. Data Definition Language (DDL) Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM 4113: Lab # 4 Data Definition Language (DDL) Eng. Haneen El-Masry November, 2014 2 Objective To be familiar with

More information

PL/SQL MOCK TEST PL/SQL MOCK TEST IV

PL/SQL MOCK TEST PL/SQL MOCK TEST IV http://www.tutorialspoint.com PL/SQL MOCK TEST Copyright tutorialspoint.com This section presents you various set of Mock Tests related to PL/SQL. You can download these sample mock tests at your local

More information

Get Groovy with ODI Trivadis

Get Groovy with ODI Trivadis BASEL 1 BERN BRUGG LAUSANNE ZUERICH DUESSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG MUNICH STUTTGART VIENNA AGENDA 1 What is Groovy? 2 Groovy in ODI 3 What I want to reach 4 Live Demo 5 Helpful documentation

More information

Oracle Database 11g & PL/SQL

Oracle Database 11g & PL/SQL Oracle Database 11g & PL/SQL Tips and Tricks Marcelo Vinícius Cysneiros Aragão marcelovca90@inatel.br Data Manipulation DB Link Insert as Select Cursor Associative Array Exception Handling The usual way

More information

Chapter 2. DB2 concepts

Chapter 2. DB2 concepts 4960ch02qxd 10/6/2000 7:20 AM Page 37 DB2 concepts Chapter 2 Structured query language 38 DB2 data structures 40 Enforcing business rules 49 DB2 system structures 52 Application processes and transactions

More information

Oracle Database: Introduction to SQL/PLSQL Accelerated

Oracle 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 information

PROCEDURAL DATABASE PROGRAMMING ( PL/SQL AND T-SQL)

PROCEDURAL 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 information

Edition-Based Redefinition

Edition-Based Redefinition Edition-Based Redefinition Zero Downtime Application Patching and Upgrades presentation for: UKOUG Conference Series Technology & E-Business 2010 Disclaimer This room is an unsafe harbour No one from Oracle

More information

Database Sharding with Oracle RDBMS

Database Sharding with Oracle RDBMS Database Sharding with Oracle RDBMS First Impressions Robert Bialek Principal Consultant BASEL BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN LAUSANNE MUNICH STUTTGART VIENNA

More information

1 Prepared By Heena Patel (Asst. Prof)

1 Prepared By Heena Patel (Asst. Prof) Topic 1 1. What is difference between Physical and logical data 3 independence? 2. Define the term RDBMS. List out codd s law. Explain any three in detail. ( times) 3. What is RDBMS? Explain any tow Codd

More information

DumpsKing. Latest exam dumps & reliable dumps VCE & valid certification king

DumpsKing.   Latest exam dumps & reliable dumps VCE & valid certification king DumpsKing http://www.dumpsking.com Latest exam dumps & reliable dumps VCE & valid certification king Exam : 1z1-062 Title : Oracle Database 12c: Installation and Administration Vendor : Oracle Version

More information

ADVANTAGES. Via PL/SQL, all sorts of calculations can be done quickly and efficiently without use of Oracle engine.

ADVANTAGES. Via PL/SQL, all sorts of calculations can be done quickly and efficiently without use of Oracle engine. 1 PL/SQL INTRODUCTION SQL does not have procedural capabilities. SQL does not provide the programming techniques of condition checking, looping and branching that is required for data before permanent

More information

Domain Services Clusters Centralized Management & Storage for an Oracle Cluster Environment Markus Flechtner

Domain Services Clusters Centralized Management & Storage for an Oracle Cluster Environment Markus Flechtner s Centralized Management & Storage for an Oracle Cluster Environment Markus Flechtner BASLE BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN LAUSANNE MUNICH STUTTGART VIENNA

More information

ASSIGNMENT NO 2. Objectives: To understand and demonstrate DDL statements on various SQL objects

ASSIGNMENT NO 2. Objectives: To understand and demonstrate DDL statements on various SQL objects ASSIGNMENT NO 2 Title: Design and Develop SQL DDL statements which demonstrate the use of SQL objects such as Table, View, Index, Sequence, Synonym Objectives: To understand and demonstrate DDL statements

More information

SQL+PL/SQL. Introduction to SQL

SQL+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 information

Where are we? Week -4: Data definition (Creation of the schema) Week -3: Data definition (Triggers) Week -1: Transactions and concurrency in ORACLE.

Where are we? Week -4: Data definition (Creation of the schema) Week -3: Data definition (Triggers) Week -1: Transactions and concurrency in ORACLE. Where are we? Week -4: Data definition (Creation of the schema) Week -3: Data definition (Triggers) Week -2: More SQL queries Week -1: Transactions and concurrency in ORACLE. But don t forget to work on

More information

Installation Guide. Version Last updated: November. tryfoexnow.com 1 of 3

Installation Guide. Version Last updated: November. tryfoexnow.com 1 of 3 Installation Guide Version 3.1.0 @FOEXplugins Last updated: November tryfoexnow.com 1 of 3 FOEX Installation Guide, version 3.1.0 Copyright 2017, FOEX GmbH. All rights reserved. Authors: Peter Raganitsch,

More information

Overview. Data Integrity. Three basic types of data integrity. Integrity implementation and enforcement. Database constraints Transaction Trigger

Overview. Data Integrity. Three basic types of data integrity. Integrity implementation and enforcement. Database constraints Transaction Trigger Data Integrity IT 4153 Advanced Database J.G. Zheng Spring 2012 Overview Three basic types of data integrity Integrity implementation and enforcement Database constraints Transaction Trigger 2 1 Data Integrity

More information

Basant Group of Institution

Basant Group of Institution Basant Group of Institution Visual Basic 6.0 Objective Question Q.1 In the relational modes, cardinality is termed as: (A) Number of tuples. (B) Number of attributes. (C) Number of tables. (D) Number of

More information

Security Benefits of Implementing Database Vault. -Arpita Ghatak

Security Benefits of Implementing Database Vault. -Arpita Ghatak Security Benefits of Implementing Database Vault -Arpita Ghatak Topics to be covered Why Do we need Database Vault? The Benefits Components of Database Vault Oracle Database access control Components Other

More information

Actual4Test. Actual4test - actual test exam dumps-pass for IT exams

Actual4Test.   Actual4test - actual test exam dumps-pass for IT exams Actual4Test http://www.actual4test.com Actual4test - actual test exam dumps-pass for IT exams Exam : 1z0-144 Title : Oracle Database 11g: Program with PL/SQL Vendor : Oracle Version : DEMO Get Latest &

More information

IZ0-144Oracle 11g PL/SQL Certification (OCA) training

IZ0-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 information