Introducing DB-123 A New Approach to Database Management Systems Thomas Schneider February 2004.

Slides:



Advertisements
Similar presentations
Introduction to ReportSmith and Effective Dated Tables
Advertisements

Organisation Of Data (1) Database Theory
ADABAS to RDBMS UsingNatQuery. The following session will provide a high-level overview of NatQuerys ability to automatically extract ADABAS data from.
By César Urdaneta.  Purpose ◦ Replicate records from different tables (for inserting / updating record), from a source database to a target one, keeping.
Copyright 2008 Tieto Corporation Database merge. Copyright 2008 Tieto Corporation Table of contents Please, do not remove this slide if you want to use.
Advantage Data Dictionary. agenda Creating and Managing Data Dictionaries –Tables, Indexes, Fields, and Triggers –Defining Referential Integrity –Defining.
3/5/2009Computer systems1 Analyzing System Using Data Dictionaries Computer System: 1. Data Dictionary 2. Data Dictionary Categories 3. Creating Data Dictionary.
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
© 2002 by Prentice Hall 1 David M. Kroenke Database Processing Eighth Edition Chapter 10 Database Application Design.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response.
“DOK 322 DBMS” Y.T. Database Design Hacettepe University Department of Information Management DOK 322: Database Management Systems.
Normalization A337. A337 - Reed Smith2 Structure What is a database? ◦ Tables of information  Rows are referred to as records  Columns are referred.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
Database – Part 2a Dr. V.T. Raja Oregon State University.
Data at the Core of the Enterprise. Objectives  Define of database systems  Introduce data modeling and SQL  Discuss emerging requirements of database.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Transforming Data Models into Database Designs
Database Constraints. Database constraints are restrictions on the contents of the database or on database operations Database constraints provide a way.
Chapter 14 & 15 Conceptual & Logical Database Design Methodology
Databases. Objectives Define what a database is. Understand the difference between a flat and relational database Design and create a relational database.
Phil Brewster  One of the first steps – identify the proper data types  Decide how data (in columns) should be stored and used.
Module 3: Table Selection
1 DATABASE TECHNOLOGIES BUS Abdou Illia, Fall 2007 (Week 3, Tuesday 9/4/2007)
Session 5: Working with MySQL iNET Academy Open Source Web Development.
Data at the Core of the Enterprise. Objectives  Define of database systems.  Introduce data modeling and SQL.  Discuss emerging requirements of database.
XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Level 3 Objectives: Identifying and Eliminating Database.
Denise Luther Senior IT Consultant Practical Technology Enablement with Enterprise Integrator.
Copyright © 2003 by Prentice Hall Module 4 Database Management Systems 1.What is a database? Data hierarchy and data organization Field, record, file,
Copyright © 2003 by Prentice Hall Computers: Tools for an Information Age Chapter 13 Database Management Systems: Getting Data Together.
Database testing Prepared by Saurabh sinha. Database testing mainly focus on: Data integrity test Data integrity test Stored procedures test Stored procedures.
CREATE THE DIFFERENCE Normalisation (special thanks to Janet Francis for this presentation)
STORING ORGANIZATIONAL INFORMATION— DATABASES CIS 429—Chapter 7.
Concepts and Terminology Introduction to Database.
Normalization (Codd, 1972) Practical Information For Real World Database Design.
Discovering Computers Fundamentals Fifth Edition Chapter 9 Database Management.
Professor Michael J. Losacco CIS 1110 – Using Computers Database Management Chapter 9.
1 Client/Server Databases and the Oracle Relational Database.
Lecture2: Database Environment Prepared by L. Nouf Almujally & Aisha AlArfaj 1 Ref. Chapter2 College of Computer and Information Sciences - Information.
7 1 Chapter 7 Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
1 Database Concepts 2 Definition of a Database An organized Collection Of related records.
Lecture2: Database Environment Prepared by L. Nouf Almujally 1 Ref. Chapter2 Lecture2.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
DataBase Management System What is DBMS Purpose of DBMS Data Abstraction Data Definition Language Data Manipulation Language Data Models Data Keys Relationships.
Data Driven Designs 99% of enterprise applications operate on database data or at least interface databases. Most common DBMS are Microsoft SQL Server,
Constraints cis 407 Types of Constraints & Naming Key Constraints Unique Constraints Check Constraints Default Constraints Misc Rules and Defaults Triggers.
DBT544. DB2/400 Advanced Features Level Check Considerations Database Constraints File Overrides Object and Record Locks Trigger Programs.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
SYS364 Database Design Continued. Database Design Definitions Initial ERD’s Normalization of data Final ERD’s Database Management Database Models File.
Database and Information Management Chapter 9 – Computers: Understanding Technology, 3 rd edition.
Constraints Lesson 8. Skills Matrix Constraints Domain Integrity: A domain refers to a column in a table. Domain integrity includes data types, rules,
Instructor: Pavlos Pavlikas1 How Data is Stored Chapter 8.
Connecting (relating) Data Tables to get Custom Records (Queries) Database Basics.
Description and exemplification use of a Data Dictionary. A data dictionary is a catalogue of all data items in a system. The data dictionary stores details.
Chapter 3: Relational Databases
Level 1-2 Trigger Data Base development Current status and overview Myron Campbell, Alexei Varganov, Stephen Miller University of Michigan August 17, 2000.
Lecture 4: Logical Database Design and the Relational Model 1.
Welcome: To the fifth learning sequence “ Data Models “ Recap : In the previous learning sequence, we discussed The Database concepts. Present learning:
1 Section 1 - Introduction to SQL u SQL is an abbreviation for Structured Query Language. u It is generally pronounced “Sequel” u SQL is a unified language.
Decision Analysis Fall Term 2015 Marymount University School of Business Administration Professor Suydam Week 10 Access Basics – Tutorial B; Introduction.
Agenda for Today  DATABASE Definition What is DBMS? Types Of Database Most Popular Primary Database  SQL Definition What is SQL Server? Versions Of SQL.
Databases and DBMSs Todd S. Bacastow January
Relational Databases.
Chapter 4 Relational Databases
Introduction to Database Management System
PHPMyAdmin.
Normalization A337.
Database Design Hacettepe University
Data Models.
Relational Database Design
Presentation transcript:

Introducing DB-123 A New Approach to Database Management Systems Thomas Schneider February 2004

Goals Upwards compatible database management ·Minimize costs for migrations ·Maximize security for users ·Do not loose already existing Meta-Information like Hierarchies, Repetitions, …

a practical example – the Donauland Database… consider the following structures … 29DL/I Databases with 75 DL/I Segments and 10 permanent VSAM KSDS Files 6 permanent VSAM ESDS Files 10 SQL-Tables which have to be migrated to a different Operating System and a different Database Management System

a practical example – the Donauland Database… A classical Database-Migration of the described Databases to another System would imply : 55 Download-Programs necessary 95 DB2-LOAD-Files !!! without regarding the problems of Data Integrity as well as 600+ Application Programs to be adapted ….

DL/I --> DB2 Migration A classical Database-Migration to another System would imply : 75 new DB2-Tables necessary only for DL/I Migration (excluding VSAM-Files) !!! all 75 DB2-Tables have to be downloaded from the HOST and uploaded to the new system at once.!

DB123 – the DL/I DB2 Migration-Tool Performs the Database DESIGN automatically manual adaption of DESIGN possible automatic insertion of new fields possible – for instance USER-ID and UPDATE-Date in all new tables

generates DOWNLOAD Programs [COBOL SOURCE and VSE JCL!] for unloading the DL/I databases performs rigorous checks of all values – check NUMERIC fields for valid entries – check all DATE-fields for valid Dates > SQL NULL > SQL NULL – Character-Fields: no imbedded quotes allowed DB123 – the DL/I DB2 Migration-Tool [2]

DB123 – the DL/I DB2 Migration-Tool [3] generates COBOL HOST-Variables for SQL-interface automatic update of the old DL/I record COPY-books …add parent keys, USER-ID, LAST- UPDATE, …

DB123 – the DL/I DB2 Migration-Tool [4] generates COBOL procedures (inline code) for the varios access methods: –xxxGET - for keyed access (unique key given) –xxxNEXT - for SQL Cursor access (alle seq.) –xxxNWP - next within parent [Cursor defined by logical parent] –xxxISRT - for INSERTs –xxxDELE - for DELETEs (with given key) –xxxUPDT - for Updates

DB123: the advantages Take again the Donauland example – for 95 DB2-Tables in the Application There are 95 * 6 = 570 subroutines/procedures which have NOT to be developed manually and tested, but are generated automatically !

DB-123 DESIGN: The DB2-Data-Base Designer for each DL/I Segment and each VSAM KSDS-File a DB2-Table has to be created following the rules of the 3rd Normal Form The rules of the 3rd Normal Form are very simple – read on …

DB-123 DESIGN: The First Normal Form All parent DL/I primary keys must be added to the child records (in front of the existing fields) All unique DL/I primary keys become primary keys of the DB2-table as well.

DB-123 DESIGN: the Second Normal Form If the key is still not unique, a sequence field (trigger) or a so called TIMESTAMP is added Each DB2 table has now a unique key !

Is the DESIGN now complete ? NO ! The DL/I Databases may contain OCCURS-items in the COBOL record structures!

Is the DESIGN now complete ? …continued Cobol-OCCURS-items are NOT supported by DB2! Solution with DB123 : either new, higher level TABLES (DB2DETAIL) or NUMBERING the respective DB2 columns (both Alternatives may be performed automatically, driven by proper clauses in the Data Dictionary).

DB-123 DESIGN: the Third Normal Form All Tables are flat tables (including logical parent keys) Hierarchic relationship retained thru Logical Parent relationships (LPARENT-clause) in data Dictionary.

DB-123 DESIGN: the Third Normal Form Repeated COBOL structures resolved thru DBDETAIL clause in Data Dictionary New Data Dictionary used to GENERATE ACCESS functions and needed COPY- books.

Thank You ! For all inquiries and more information please contact