4 Copyright © 2006, Oracle. All rights reserved. Managing OWB Life-Cycle Changes.

Slides:



Advertisements
Similar presentations
Accounting System Design
Advertisements

Cs3431 Constraints Sections 6.1 – 6.5. cs3431 Example CREATE TABLE Student ( sNum int, sName varchar (20), prof int, CONSTRAINT pk PRIMARY KEY (snum),
Introduction to Structured Query Language (SQL)
SQL components In Oracle. SQL in Oracle SQL is made up of 4 components: –DDL Data Definition Language CREATE, ALTER, DROP, TRUNCATE. Creates / Alters.
7 Copyright © 2004, Oracle. All rights reserved. Working with Text Items.
Murali Mani SQL DDL and Oracle utilities. Murali Mani Datatypes in SQL INT (or) INTEGER FLOAT (or) REAL DECIMAL (n, m) CHAR (n) VARCHAR (n) DATE, TIME.
4 Copyright © 2004, Oracle. All rights reserved. Creating a Basic Form Module.
Introduction to Structured Query Language (SQL)
5 Copyright © 2004, Oracle. All rights reserved. Creating a Master-Detail Form.
5 Copyright © 2009, Oracle. All rights reserved. Defining ETL Mappings for Staging Data.
Advance Computer Programming Java Database Connectivity (JDBC) – In order to connect a Java application to a database, you need to use a JDBC driver. –
2 Copyright © 2009, Oracle. All rights reserved. Getting Started with Warehouse Builder.
6 Copyright © 2004, Oracle. All rights reserved. Working with Data Blocks and Frames.
Web Application Development. Define ER model in QSEE Generate SQL Create Database mySQL Write Script to use TableEditor class Process to create A simple.
C Copyright © 2009, Oracle. All rights reserved. Appendix C: Service-Oriented Architectures.
Jean-Pierre Dijcks Principal Product Manager Oracle Warehouse Builder Oracle Corporation.
Web Application Development. Tools to create a simple web- editable database QSEE MySQL (or PHPMyAdmin) PHP TableEditor.
4 Copyright © 2009, Oracle. All rights reserved. Designing Mappings with the Oracle Data Integration Enterprise Edition License.
8 Copyright © 2009, Oracle. All rights reserved. Using Process Flows.
5 Copyright © 2009, Oracle. All rights reserved. Right-Time Data Warehousing with OWB.
Copyright © 2007, Oracle. All rights reserved. Managing Concurrent Requests.
Copyright  Oracle Corporation, All rights reserved. 4 CMIS Powell Oracle Designer: Creating the Database Design CMIS Powell.
B Copyright © 2009, Oracle. All rights reserved. Creating Experts.
10 Copyright © 2009, Oracle. All rights reserved. Using DDL Statements to Create and Manage Tables.
Life Cycle Management Using Oracle 9i Warehouse Builder Anissa Stevens Avanco International, Inc Mark Van De Wiel Oracle.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
4 Copyright © 2009, Oracle. All rights reserved. Defining Source Metadata.
7 1 Chapter 7 Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
17 Copyright © Oracle Corporation, All rights reserved. Recovery Catalog Creation and Maintenance.
4 Copyright © 2004, Oracle. All rights reserved. Creating a Basic Form Module.
1 NORMA Lab. 5 Duplicating Object Type and Predicate Shapes Finding Displayed Shapes Using the Diagram Spy Using Multiple Windows Using the Context Window.
SQL: DDL. SQL Statements DDL - data definition language –Defining and modifying data structures (metadata): database, tables, views, etc. DML - data manipulation.
5 Copyright © 2004, Oracle. All rights reserved. Creating a Master-Detail Form.
13 Copyright © 2009, Oracle. All rights reserved. Integrating with Oracle Business Intelligence Enterprise Edition (OBI EE)
Database Systems Design, Implementation, and Management Coronel | Morris 11e ©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or.
11-1 Copyright  Oracle Corporation, All rights reserved. What Are Constraints? Constraints enforce rules at the table level. Constraints prevent.
Oracle 11g: SQL Chapter 4 Constraints.
Chapter 4 Constraints Oracle 10g: SQL. Oracle 10g: SQL 2 Objectives Explain the purpose of constraints in a table Distinguish among PRIMARY KEY, FOREIGN.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
Oracle Data Integrator Data Quality (Integrity Control)
6 Copyright © 2009, Oracle. All rights reserved. Using the Data Transformation Operators.
13 Copyright © Oracle Corporation, All rights reserved. Maintaining Data Integrity.
2 Copyright © 2006, Oracle. All rights reserved. Managing Schema Objects.
9 Copyright © 2009, Oracle. All rights reserved. Deploying and Reporting on ETL Jobs.
12 Copyright © 2009, Oracle. All rights reserved. Managing Backups, Development Changes, and Security.
3 Copyright © 2009, Oracle. All rights reserved. Understanding the Warehouse Builder Architecture.
4 Copyright © 2004, Oracle. All rights reserved. Creating a Basic Form Module.
Starting with Oracle SQL Plus. Today in the lab… Connect to SQL Plus – your schema. Set up two tables. Find the tables in the catalog. Insert four rows.
3 Copyright © 2007, Oracle. All rights reserved. Using the RMAN Recovery Catalog.
10 Copyright © 2009, Oracle. All rights reserved. Using the Mapping Debugger.
Oracle Business Intelligence Foundation - Commonly Used Features in Repository.
22 Copyright © 2009, Oracle. All rights reserved. Filtering Requests in Oracle Business Intelligence Answers.
Copyright © 2007, Oracle. All rights reserved. Managing Items and Item Catalogs.
Chapter 3 Table Creation and Management Oracle 10g: SQL.
5 Copyright © 2008, Oracle. All rights reserved. Testing and Validating a Repository.
6 Copyright © 2007, Oracle. All rights reserved. Managing Security and Metadata.
Physical Layer of a Repository. March 6, 2009 Agenda – What is a Repository? –What is meant by Physical Layer? –Data Source, Connection Pool, Tables and.
8 Copyright © 2005, Oracle. All rights reserved. Managing Schema Objects.
Copyright © 2006, Oracle. All rights reserved. Czinkóczki László oktató Using the Oracle Warehouse Builder.
3 Copyright © 2006, Oracle. All rights reserved. Building an Analytic Workspace.
7 Copyright © 2006, Oracle. All rights reserved. Defining a Relational Dimensional Model.
2 Copyright © 2009, Oracle. All rights reserved. Managing Schema Objects.
2 Copyright © 2008, Oracle. All rights reserved. Building the Physical Layer of a Repository.
11 Copyright © 2009, Oracle. All rights reserved. Enhancing ETL Performance.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3 The Relational Data Model and Relational Database Constraints تنبيه.
19 Copyright © 2008, Oracle. All rights reserved. Security.
Creating Oracle Business Intelligence Interactive Dashboards
Working in the Forms Developer Environment
Introduction.
Presentation transcript:

4 Copyright © 2006, Oracle. All rights reserved. Managing OWB Life-Cycle Changes

4-2 Copyright © 2006, Oracle. All rights reserved. Objectives After completing this lesson, you should be able to do the following: Use OWB Change Manager to take “snapshot” versions of metadata, compare them, and restore them if necessary Use Metadata Dependency Manager to perform impact analysis and determine which objects need to be changed Reimport changed sources into the repository and then deploy changes to targets

4-3 Copyright © 2006, Oracle. All rights reserved. Managing OWB Life-Cycle Changes OWB provides tools to resynchronize changes among data sources, the OWB repository, and the target schema Reimport: Update the OWB repository Redeploy: Update the target schema Data source Target warehouse OWB repository Reimport Redeploy

4-4 Copyright © 2006, Oracle. All rights reserved. Manage Life-Cycle Changes in OWB Sources, Metadata Repository, Targets 1. Change Channels. 5. Invoke Impact Analysis Diagram. 2. Take snapshot before change. 7. Take snapshot after change. 4. Reimport Channels metadata. 3. Change source Channels. 6. Synchronize mapping tables. 8. Deploy changes: Replace mapping. 10. Redeploy the original: Replace mapping again. 9. Cancel change!! No problem. Simply restore original snapshot! Sorry…

4-5 Copyright © 2006, Oracle. All rights reserved. 1. Change Channels. 9. Cancel change!! Manage Life-Cycle Changes in OWB Sources, Metadata Repository, Targets 5. Invoke Impact Analysis Diagram. 2. Take snapshot before change. 7. Take snapshot after change. 4. Reimport Channels metadata. 3. Change source Channels. 6. Synchronize mapping tables. 8. Deploy changes: Replace mapping. 10. Redeploy the original: Replace mapping again. No problem. Simply restore original snapshot! Sorry…

4-6 Copyright © 2006, Oracle. All rights reserved. 1. The CHANNELS Table Requires Modification A sales manager wants a Channel_Status column added to the CHANNELS source table. This source table change cascades to: –OWB metadata definitions of the source –OWB ETL mapping definitions using the source –OWB target table definitions based on the source –Already deployed target tables that are populated from the source

4-7 Copyright © 2006, Oracle. All rights reserved. 2. Take Metadata Snapshot Before the Change

4-8 Copyright © 2006, Oracle. All rights reserved. Finish Defining the Snapshot

4-9 Copyright © 2006, Oracle. All rights reserved. Examine the Snapshot

4-10 Copyright © 2006, Oracle. All rights reserved. 3. Add a Column to the Source Table /* Add the Channel_Status column to the CHANNELS table in the source XSALES schema */ ALTER TABLE channels ADD (channel_status varchar2(20)); commit;

4-11 Copyright © 2006, Oracle. All rights reserved. 4. Reimport the Source Table Metadata The same interface is used for importing metadata and reimporting it. Matching of objects is based on the physical name. Reimporting replaces object definitions. Certain object attributes can be protected.

4-12 Copyright © 2006, Oracle. All rights reserved. Reimport Steps A.Within a module, invoke the Import utility. B.Filter objects. C.Select objects. D.Set reconciliation options. E.Run the utility and view the resulting report.

4-13 Copyright © 2006, Oracle. All rights reserved. A. Invoking Import

4-14 Copyright © 2006, Oracle. All rights reserved. B. Filtering Objects

4-15 Copyright © 2006, Oracle. All rights reserved. C. Selecting Objects Previously imported objects are styled in boldface.

4-16 Copyright © 2006, Oracle. All rights reserved. D. Setting Reconciliation Options

4-17 Copyright © 2006, Oracle. All rights reserved. E. Viewing the Import Results Report Revert New column created

4-18 Copyright © 2006, Oracle. All rights reserved. Dangling Reference: Example A foreign key constraint that does not match the referenced primary or unique key constraint. To resolve this problem, do either of the following: –Reimport the table containing invalid keys and the references will be automatically fixed. –Use the editor to manually update the relationships.

4-19 Copyright © 2006, Oracle. All rights reserved. Reimport Limitations There is no provision for deleted objects. However, dependent objects, such as columns or constraints, are processed.

4-20 Copyright © 2006, Oracle. All rights reserved. 5. Run Impact Analysis Diagram Changed source table In XSALES Affected Dimension in SALES_AW Affected mappings XSALES

4-21 Copyright © 2006, Oracle. All rights reserved. 6. Synchronize the Mapping Tables Synchronize into mapping, to add CHANNEL_STATUS to mapping table.

4-22 Copyright © 2006, Oracle. All rights reserved. 7. Take Metadata Snapshot After Change

4-23 Copyright © 2006, Oracle. All rights reserved. Use Change Manager to Compare Snapshots

4-24 Copyright © 2006, Oracle. All rights reserved. Comparison Results = Exists in one snapshot = Exists in both snapshots

4-25 Copyright © 2006, Oracle. All rights reserved. 8. Deploy the Changes REPLACE

4-26 Copyright © 2006, Oracle. All rights reserved. The sales manager informs you that the decision to implement the new Channel_Status column in the CHANNELS source table has been canceled. This is not a problem for OWB. Simply restore the original snapshot and redeploy. 9. Cancel the Change Sorry…

4-27 Copyright © 2006, Oracle. All rights reserved. 10. Redeploy the Original Version

4-28 Copyright © 2006, Oracle. All rights reserved. Cut/Copy/Paste and Recycle Bin Cut/Copy/Paste functionality –Handles all objects in the repository The recycle bin holds all deleted objects (can cross sessions); preference can be set to “empty on exit.” Clipboard holds only the last cut or copied object.

4-29 Copyright © 2006, Oracle. All rights reserved. Summary In this lesson, you should have learned how to: Manage life-cycle changes in Warehouse Builder sources, repository metadata, and target deployments/loads –Use OWB Change Manager to take, compare, and restore “snapshot” versions of metadata –Use Metadata Dependency Manager to perform impact analysis and determine which objects need to be changed –Reimport changed sources into the repository and then deploy changes to targets

4-30 Copyright © 2006, Oracle. All rights reserved. Lab Practice: Applying Metadata Changes This practice covers the following topics: Using reimport to apply source metadata changes to the OWB repository Using the Change Manager to create, compare, and manage snapshots of metadata Using the Control Center Manager to apply OWB repository metadata changes to a target schema