DATABASE REVERSE ENGINEERING



Similar documents
<Insert Picture Here> Introducing Data Modeling and Design with Oracle SQL Developer Data Modeler

What's New with SQL Developer Data Modeler. Heli Helskyaho HrOUG 2015

Toad Data Modeler - Features Matrix

Managing Third Party Databases and Building Your Data Warehouse

Enabling Better Business Intelligence and Information Architecture With SAP PowerDesigner Software

An Oracle White Paper June An Introduction to Oracle SQL Developer Data Modeler

Rose Data Modeler (logical)

Enabling Better Business Intelligence and Information Architecture With SAP Sybase PowerDesigner Software

Chapter 10 Practical Database Design Methodology and Use of UML Diagrams

Relational Database Basics Review

Relational Database Concepts

Metadata Application Understanding Software Migration

Oracle Designer RIP? A First Look At Oracle Data Modeler

A Comparative Study of Database Design Tools

Database Design and Database Programming with SQL - 5 Day In Class Event Day 1 Activity Start Time Length

Databases What the Specification Says

Business Database Systems

Talend Metadata Manager. Reduce Risk and Friction in your Information Supply Chain

Chapter 2 Database System Concepts and Architecture

Database Systems. Lecture 1: Introduction

php tek 2006 in Orlando Florida Lukas Kahwe Smith

Data Modeling Basics

DATABASE MANAGEMENT SYSTEMS. Question Bank:

Chapter 10 Practical Database Design Methodology and Use of UML Diagrams

Data Warehouse Center Administration Guide

Paul Zenden Sioux Technische Software Ontwikkeling Science Park Eindhoven EP Son Tel: +31 (0)

How To Write A Diagram

Information Management Metamodel

Data Discovery & Documentation PROCEDURE

Database Systems. Session 1 Main Theme Introduction to Database Systems Dr. Jean-Claude Franchitti

OWB Users, Enter The New ODI World

CS2Bh: Current Technologies. Introduction to XML and Relational Databases. Introduction to Databases. Why databases? Why not use XML?

Introduction to Triggers using SQL

SQL Server Training Course Content

A WHITE PAPER By Silwood Technology Limited

Using Entity-Relationship Diagrams To Count Data Functions Ian Brown, CFPS Booz Allen Hamilton 8283 Greensboro Dr. McLean, VA USA

How To Import And Re-Import Data From An Infosphere Data Model To An Infosplash Server On A Pc Or Macbook

ER/Studio Data Architect

Database Design Overview. Conceptual Design ER Model. Entities and Entity Sets. Entity Set Representation. Keys

The Evolution of an Advanced Database Course in an Information Systems Curriculum

Exporting from WebSphere Business Modeler Unit 23

Database System. Session 1 Main Theme Introduction to Database Systems Dr. Jean-Claude Franchitti

COURSE NAME: Database Management. TOPIC: Database Design LECTURE 3. The Database System Life Cycle (DBLC) The database life cycle contains six phases;

ECS 165A: Introduction to Database Systems

Contents. Introduction... 1

Database Design Process

Concepts of Database Management Seventh Edition. Chapter 9 Database Management Approaches

Embarcadero DataU Conference. Data Governance. Francis McWilliams. Solutions Architect. Master Your Data

ER/Studio 8.0 New Features Guide

DBMS / Business Intelligence, SQL Server

Meta Data Management for Business Intelligence Solutions. IBM s Strategy. Data Management Solutions White Paper

Database Design Process

Fundamentals of Database Design

DB2 Application Development and Migration Tools

Database Schema Deployment. Lukas Smith - lukas@liip.ch CodeWorks PHP on the ROAD

PeopleTools Tables: The Application Repository in the Database

CSE 233. Database System Overview

CA ERwin Data Modeler

Database Systems. S. Adams. Dilbert. Available: Hans-Petter Halvorsen, M.Sc.

Oracle FLEXCUBE Universal Banking 12.0

ER/Studio 8.0 User Guide

Introduction to Glossary Business

David M. Kroenke and David J. Auer Database Processing 11 th Edition Fundamentals, Design, and Implementation. Chapter Objectives

Concepts of Database Management Eighth Edition. Chapter 1 Introduction to Database Management

Oracle Database Development Standards For DNR Staff and Contractors. Table of Contents

not necessarily strictly sequential feedback loops exist, i.e. may need to revisit earlier stages during a later stage

TIM 50 - Business Information Systems

System Development and Life-Cycle Management (SDLCM) Methodology. Approval CISSCO Program Director

A Database Re-engineering Workbench

What is Enterprise Architect? Enterprise Architect is a visual platform for designing and constructing software systems, for business process

CSE 132A. Database Systems Principles

Application Development With Data Studio

Visual Paradigm product adoption roadmap

Luncheon Webinar Series July 29, 2010

Concepts of Database Management Seventh Edition. Chapter 6 Database Design 2: Design Method

WHITE PAPER DATA GOVERNANCE ENTERPRISE MODEL MANAGEMENT

IBM DB2 XML support. How to Configure the IBM DB2 Support in oxygen

SOLUTION BRIEF CA ERwin Modeling. How can I understand, manage and govern complex data assets and improve business agility?

Business Systems Analysis Certificate Program. Millennium Communications & Training Inc. 2013, All rights reserved

Designing a Semantic Repository

A Rational Software Whitepaper

ER/Studio Enterprise Portal User Guide

Introduction to Database Development

Net Developer Role Description Responsibilities Qualifications

Exam Name: IBM InfoSphere MDM Server v9.0

The Entity-Relationship Model

Chapter 8 The Enhanced Entity- Relationship (EER) Model

Cúram Business Intelligence Reporting Developer Guide

Using UML to Construct a Model Driven Solution for Unified Access to Disparate Data

<Insert Picture Here> Application Change Management and Data Masking

Facilitating Efficient Data Management by Craig S. Mullins

Establish and maintain Center of Excellence (CoE) around Data Architecture

An Oracle White Paper February Oracle Data Integrator 12c Architecture Overview

Transcription:

DATABASE REVERSE ENGINEERING DBTech_EXT Workshop in Thessaloniki 2009-09-10 Kari Silpiö HAAGA-HELIA University of Applied Sciences

Database Reverse Engineering 2 OUTLINE What is Database Reverse Engineering? Why / where Database Reverse Engineering is needed? What are the main steps in the Database Reverse Engineering process? What are the main Reverse Engineering features in Database Design tools? How Reverse Engineering can be utilized in a process where a database structure is ported from one DBMS to another? Note: The focus of this presentation and lab is on relational databases only. Multidimensional databases and other types of databases (ODBMS etc.) are not covered.

Why / Where? 3 E.g., in the industry Database Reverse Engineering is being used for Creating documentation on existing database structures To create a representation of the database structure at a higher level of abstraction (visualizing the existing DB structure, redrawing the DB structure after changes,...) To reduce manual work end errors, increase productivity To generate very detailed documentation of the DB structure Database built in-house, but lacking up-to-date documentation Database in a system that is purchased from elsewhere with no documentation for further application development Porting existing database structures between different DBMS environments (e.g., DB2 SQL Server) Integration: Reverse Engineering from Repository (general data dictionary)

Database Reverse Engineering Process 4 Bottom-up Modeling => Build a database design based on either one of the following: By importing metadata directly from an existing database By importing a DDL script that reflects an existing database implementation 1. Reverse Engineer from a database or DDL script =>The resulting database is represented as a Relational Schema and definitions for Physical & Relational Schema objects 2. Reverse Engineer from the Relational Schema to a higher-level schema =>The resulting schema is represented as an ER Diagram (or Class Diagram) and definitions for ER model objects

Modeling Levels in Common DB Design Tools 5 "Conceptual Schema" Created in the Conceptual Data Modeling stage Typically consists of a Data Dictionary and an ER diagram (or UML Class Diagram) with entities, attributes, relationships, etc. Different diagramming conventions exist in DB Design tools. Create manually in the tool "Relational Schema" (in Database Design Tools) Tables, columns, constraints,... Generate (1st version of) the Relational Schema in either of the following ways: Manually in the tool Forward engineering from the "Conceptual Schema" Reverse Engineering By importing metadata directly from an existing database By importing a DDL script By importing metadata from another modeling tool / repository

Modeling Levels in Common DB Design Tools 6 "Physical Schema" (in Database Design Tools) Add target DBMS-specific definitions for storage structures, data security, triggers etc. Relational objects will be genreated based on the Relational Schema and definitions for relational objects A typical tool allows several DBMS-specific Physical Models/Schemas to be defined for a single relational schema

Some Limitations Methodology and notation limitations Latest DBMS versions may not be supported Level of support for different DBMS's may vary a lot in the tool Latest SQL development may be missing... IBM Rational Rose Data Modeler 7.0.0 Oracle SQL Developer Data Modeler 1.5.1 IBM InfoSphere Data Architect 7.5.1

Terminology Issues 8 The language for data modeling? Academic vs. Practitioners Vendors, DBMS-specific? Methodologies vs. Data modeling tools Stages & models in database design? Number and names of stages and models Definition of stages (activities per stage) and models Example: Terminology used in some data modeling tools Level Oracle Data Modeler Rational Rose 1 Logical Model User s guide: ER Model Analysis ("logical") Object Model 2 Relational Model 3 Physical Model Design ("physical") Logical Data Model "Physical Data Model

Oracle SQL Developer Data Modeler 9 Version 1.5.1 (free) released in 2009. Current version: 2.0 (priced product) Standalone single-user product with data and database modeling tools Modeling for Entity-Relationship Diagrams Barker (crow's feet) or Bachman notation, Supertypes & subtypes Relational (database design) RDBMS-specific "physical models" Forward and Reverse Engineering and DDL code generation E.g., imports from and exports to DB2, Oracle, and SQL Server Promises to create, compare and synchronize changes Import from Oracle Designer repository Other Data Type modeling, Multi-dimensional modeling, Data Flow diagrams,... Saves model definitions locally as XML files For more details, see the product home page...

DRE_LAB 10 USING ORACLE DATA MODELER 1. Reverse Engineer Import database structure directly from an existing DB2 database Generate diagrams for visualizing the database structure Create a subview for viewing a part of the DB structure at one time 2. Modify the design 3. Forward engineer Create the SQL Server specific DDL script 4. Realize the design Create the database structure in SQL Server by running the DDL script DB2 Import Export... Run Oracle Data... Modeler... Diagrams DDL Script SQL Server

DRE_LAB 11 LAB ENVIRONMENT Software Version Oracle Data Modeling Tool 1.5.1 IBM DB2 Express-C 9.5 IBM DB2 Control Center SQL Server Express 2008 SQL Server Management Studio WMvare Player 2.0.5

References 12 Oracle SQL Developer Data Modeler www.oracle.com/technology/products/database/datamodeler Getting started with Oracle Data Modeler download.oracle.com/docs/cd/e15276_01/doc.20/e13677/data_modeling.htm Some other products ER/Studio www.embarcadero.com/products/er-studio ERwin www.ca.com/us/database-design.aspx Power Designer www.sybase.com/products/modelingdevelopment/powerdesigner Toad www.quest.com/toad-data-modeler A study on data modeling concepts and terminology Simsion, G. 2007. Data Modeling Theory and Practice. New Jersey: Technics Publications.