1 Source cartography & modeling Source technical objects (DDL, programs, jcl,..) DATABASE MIGRATION The general method Target base re-engineering Data.

Slides:



Advertisements
Similar presentations
Oracle to MySQL Database Migration SQLWays - Migration Software Presentation Copyright (c) Ispirer Systems Ltd. All Rights Reserved.
Advertisements

Introducing DB-123 A New Approach to Database Management Systems Thomas Schneider February 2004.
Copyright 2008 Tieto Corporation Database merge. Copyright 2008 Tieto Corporation Table of contents Please, do not remove this slide if you want to use.
TOOLS FOR DATA GOVERNANCE PASSIONATE BY DATA AND THE PRECISION OF THE RESULTS.
Advantage Data Dictionary. agenda Creating and Managing Data Dictionaries –Tables, Indexes, Fields, and Triggers –Defining Referential Integrity –Defining.
SQL components In Oracle. SQL in Oracle SQL is made up of 4 components: –DDL Data Definition Language CREATE, ALTER, DROP, TRUNCATE. Creates / Alters.
SQL Components DML DDL DAL. Overview u Getting the records onto the disk - mapping u Managing disk space u SQL Modes u Ceating database.
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.
Lecture 4: Introduction to PHP 3 PHP & MySQL
MIS 451 Building Business Intelligence Systems Logical Design (3) – Design Multiple-fact Dimensional Model.
SQL Overview Defining a Schema CPSC 315 – Programming Studio Spring 2008 Project 1, Lecture 3 Slides adapted from those used by Jeffrey Ullman, via Jennifer.
HORIZONT 1 XINFO ® The IT Information System Cobol HORIZONT Software for Datacenters Garmischer Str. 8 D München Tel ++49(0)89 /
1 Source cartography & modeling Source technical objcts (DDL, programs, jcl,..) DATA MIGRATION general method Models compatibility & migration rules definition.
TOOLS FOR DATA GOVERNANCE PASSIONATE BY DATA AND THE PRECISION OF THE RESULTS.
1 Tuning PL/SQL procedures using DBMS_PROFILER 20-August 2009 Tim Gorman Evergreen Database Technologies, Inc. Northern California Oracle.
Adapted from Afyouni, Database Security and Auditing Database Application Auditing – Ch. 8.
1 technical objects functional objects persistent objectsdescriptive objectsprocessing objects files content copybook, programs, DTD, …, directly managed.
Module 3: Table Selection
Database Lecture # 1 By Ubaid Ullah.
Project Implementation for COSC 5050 Distributed Database Applications Lab2.
Introduction –All information systems create, read, update and delete data. This data is stored in files and databases. Files are collections of similar.
Web Application Development. Define ER model in QSEE Generate SQL Create Database mySQL Write Script to use TableEditor class Process to create A simple.
DATA MODELING AND DATABASE DESIGN
Web Application Development. Tools to create a simple web- editable database QSEE MySQL (or PHPMyAdmin) PHP TableEditor.
Copyright  Oracle Corporation, All rights reserved. 5 CMIS Powell Oracle Designer: Design Editor and Building the Database and Table API CMIS.
MS Access Database Connection. Database? A database is a program that stores data and records in a structured and queryable format. The tools that are.
Web Services Week 8 Aims: –Using web services as front ends to databases Objectives: –Review of relational databases –Connecting to and querying databases.
Constraints  Constraints are used to enforce rules at table level.  Constraints prevent the deletion of a table if there is dependencies.  The following.
CS 3630 Database Design and Implementation. Your Oracle Account UserName is the same as your UWP username Followed Not case sensitive Initial.
ABC Insurance Co. Paul Barry Steve Randolph Jing Zhou CSC8490 Database Systems & File Management Dr. Goelman Villanova University August 2, 2004.
Databases and Statistical Databases Session 4 Mark Viney Australian Bureau of Statistics 5 June 2007.
Module 11: Programming Across Multiple Servers. Overview Introducing Distributed Queries Setting Up a Linked Server Environment Working with Linked Servers.
10/17/2012ISC471/HCI571 Isabelle Bichindaritz 1 Technologies Databases.
FEN  Data Definition: CREATE TABLE, ALTER TABLE  Data Manipulation: INSERT, UPDATE, DELETE  Queries: SELECT SQL: Structured Query Language.
FEN Introduction to the database field:  The Relational Model Seminar: Introduction to relational databases.
DataMAPPER - Applied Database Tech. 이화여대 과학기술대학원 석사 3 학기 992COG08 김지혜.
Web Server Administration Chapter 7 Installing and Testing a Programming Environment.
Database Lab Lecture 1. Database Languages Data definition language ( DDL ) Data definition language –defines data types and the relationships among them.
HORIZONT 1 XINFO ® The IT Information System How to use XINFO in Software Development HORIZONT Software for Datacenters Garmischer Str. 8 D München.
HORIZONT 1 XINFO ® The IT Information System Cobol HORIZONT Software for Datacenters Garmischer Str. 8 D München Tel ++49(0)89 /
Distribution of Marks For Second Semester Internal Sessional Evaluation External Evaluation Assignment /Project QuizzesClass Attendance Mid-Term Test Total.
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.
2) Database System Concepts and Architecture. Slide 2- 2 Outline Data Models and Their Categories Schemas, Instances, and States Three-Schema Architecture.
Lecture 4: Logical Database Design and the Relational Model 1.
HORIZONT XINFO – How to use XINFO in Development 1 HORIZONT XINFO – How to use XINFO in Development.
Visual Database Creation with MySQL Workbench 도시정보시스템 설계
CS 440 Database Management Systems Stored procedures & OR mapping 1.
Understand Data Definition Language (DDL) Database Administration Fundamentals LESSON 1.4.
Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke1 The Relational Model Chapter 3.
Copyright © 2016 Ramez Elmasri and Shamkant B. Navathe.
11 Copyright © 2004, Oracle. All rights reserved. Performing a Migration Using Oracle Migration Workbench (Part II)
Preservation Data Services Persistent Archive Research Group Reagan W. Moore October 1, 2003.
A Presentation Presentation On JSP On JSP & Online Shopping Cart Online Shopping Cart.
Fundamental of Database Systems
Databases and DBMSs Todd S. Bacastow January 2005.
XINFO – How to use XINFO in Development
Advanced Accounting Information Systems
MS Access Database Connection
Chapter 2 Database Environment Pearson Education © 2009.
Chapter 2 Database Environment.
בסיסי נתונים - מצגת ההרצאה - 1.
Unit I-2.
Session - 6 Sequence - 1 SQL: The Structured Query Language:
XINFO – Programming Languages zOS – Cobol
Updating Databases With Open SQL
Chapter 2 Database Environment Pearson Education © 2009.
Chapter 2 Database Environment Pearson Education © 2009.
Updating Databases With Open SQL
Presentation transcript:

1 Source cartography & modeling Source technical objects (DDL, programs, jcl,..) DATABASE MIGRATION The general method Target base re-engineering Data migration Programs adaptation Source base model Target base structures Target base loaded Application migrated

2 CARTOGRAPHY & MODELING cartography – Galois connections

3 CARTOGRAPHY & MODELING modeling – logical model

4 CARTOGRAPHY & MODELING modeling – semantic model

# attributes # relations # entity types Semantic model Logical model Physical model MODELING synthesis

6 Source cartography & modeling Source technical objects (DDL, programs, jcl,..) DATABASE MIGRATION The general method Target base re-engineering Data migration Programs adaptation Source base model Target base structures Target base loaded Application migrated

7 Relational model DB design Semantic model  adding a primary ky to each table (good practise)  relations  foreign keys  relations N-N  intermediate table + foreign key  redefines  separate tables + foreign keys  composed attributes  decomposition  multivaluated attributes  separated tables + foreign keys OR attributes list  name treatment : “-”  “_”, reserved words DATA BASE RE-ENGINEERING

8 DATABASE RE-ENGINEERING redefines

9 DATABASE RE-ENGINEERING transformations

10 Standard SQL or  DB2  Oracle  SQL Server  MySQL  PostgreSql  … DATABASE RE_ENGINEERING generation of target base descriptive objects

# attributes 144 (FK)‏ # relations # entity type Relational model Semantic model Logical model Physical model DATABASE RE-ENGINEERING synthesis

12 Source logical modelSource physical modelTarget relational model The DB-MAIN transformation functions are maintaining the links between the models evolution steps DATABASE RE-ENGINEERING mapping

13 Source cartography & modeling Source technical objects (DDL, programs, jcl,..) DATABASE MIGRATION The general method Target base re-engineering Data migration Programs adaptation Source base model Target base structures Target base loaded Application migrated

14 Unloading model creation :  physical model  DB-key  “mvs” meta-properties DATA MIGRATION unloading

15 Processing components generation :  PSB  PSB compilation Jcl  Unloading Cobol program  programs compilation JCL  file creation and execution JCL DATA MIGRATION unloading

16 Data validation and transformations generation :  type of records description (attributes, lenght, format, …)  programs to validate the conformity of the source data to the target model ( null char…)  transcoding programs for EBCDIC to ASCII conversion, add EOL characters, …  execution scripts scheduling the opertions sequence DATA MIGRATION data validation

17 Components generation for loading the target base :  CTL file for the loading utility of DB2, SQL*Loader, …  Shell scripts DATA MIGRATION data loading

18 DATA MIGRATION migration validation – functional counters Generation of checksum onto source and target environments

19 DATA MIGRATIONdation de la migration – data validation – content comparison process

20 DATA MIGRATION migration validation – content comparison Common model

21 DATA MIGRATION migration valiation – content comparison

22 DATA MIGRATION migration validation – content comparison

23 Source cartography & modeling Source technical objects (DDL, programs, jcl,..) DATABASE MIGRATION The general method Target base re-engineering Data migration Programs adaptation Source base model Target base structures Target base loaded Application migrated

24  Modification of the data and files “declarations”  Generated code insert  Replacement of the DML verbs by calls to the acces modules COBOL Program Relational DB IMS DB WRXXX.cob WRYYY.cob WRZZZ.cob COBOL Program’ Transformation FETCH CALL DELETE CALL INSERT UPDATE CALL “CBLTDLI” USING … EXEC DLI … USING … PROGRAMS ADAPTATION access modules generation

25  Access modules generation ( in this case C++)  Language dependant on the target environment (cobol, java, …) PROGRAMS ADAPTATION access modules generation

26 Some DML verbs are not automatically resolved : ex: within IMS SSA not qualified : (GU, GN, GNP without segment name) PROCOPT parameter in the PSB within IDS2 FIND within AREA without record name PROGRAMS ADAPTATION access modules generation

27 FIND FIRST USING ART-KEYB. … FIND NEXT RONTB WITHIN DUMMY-RONTB EVALUATE DB-STATUS WHEN " " GET RONTB... **ReVeR: FIND FIRST USING ART-KEYB MOVE TO REC-CALL-ID OF WR-LOG PERFORM WR-FFXU-ART-KEYB … **ReVeR: FIND NEXT RONTB WITHIN DUMMY-RONTB MOVE TO REC-CALL-ID OF WR-LOG PERFORM WR-FNRW-RONTB-DUMMY-RONTB EVALUATE DB-STATUS WHEN " " **ReVeR: GET RONTB MOVE TO REC-CALL-ID OF WR-LOG PERFORM WR-GR-RONTB... PROGRAMS ADAPTATION programs source code transformation