Server Design Arcs and Sub Entities.

Slides:



Advertisements
Similar presentations
Excel 2007 Graphs & Charts. TYPES OF CHARTS Column Bar Pie Line.
Advertisements

Database Lecture Notes Mapping ER Diagrams to Tables 2 Dr. Meg Murray
Advanced Data Modeling
Database Processing: Fundamentals, Design, and Implementation, 9/e by David M. KroenkeChapter 5/1 Copyright © 2004 Please……. No Food Or Drink in the class.
Operations Research Assignment Problem.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 6 Advanced Data Modeling.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 5-1 COS 346 Day 6.
Fundamentals, Design, and Implementation, 9/e COS 346 Day 8.
Fundamentals, Design, and Implementation, 9/e Chapter 5 Database Design.
Chapter 6  Chart Terminology  Chart Wizard  Moving Resizing Charts  Editing Charts  Formatting Charts.
DATABASE DESIGN AND DEVELOPMENT: A VISUAL APPROACH
Chapter Five Data Modeling with the Entity-Relationship Model.
Entity Relationship Diagrams
Mapping from E-R Model to Relational Model Yong Choi School of Business CSUB.
CS424 PK, FK, FD Normalization Primary and Foreign Keys Primary and foreign keys are the most basic components on which relational theory is based. Primary.
Chapter Five Data Modeling with the Entity-Relationship Model.
CSCI 242 Relational Data Modeling Copyright 2011, David C. Roberts, all rights reserved.
Michael F. Price College of Business Chapter 6: Logical database design and the relational model.
Using ER/Studio.
Chapter 3: The Enhanced E-R Model
© 2007 by Prentice Hall (Hoffer, Prescott & McFadden) 1 The Relational Model (Advanced)
Advanced Entity Relationship Concepts. Advanced Concepts UIDs Intersection Entities Recursive Relationships Roles Subtypes Exclusivity Historical Fan.
Chapter 5 1 © Prentice Hall, 2002 Chapter 5: Transforming EER Diagrams into Relations Mapping Regular Entities to Relations 1. Simple attributes: E-R attributes.
CASE*Method: Entity Relationship Modeling
Entity Relationship Diagrams
Mapping from Data Model (ERD) to Relational Model Yong Choi School of Business CSUB.
Web Application Development. Tools to create a simple web- editable database QSEE MySQL (or PHPMyAdmin) PHP TableEditor.
 The BPEL Module project is a group of source files which includes BPEL files, WSDL files, and XML schema files. Within a BPEL Module project, you can.
Entity Relationship Diagrams Objectives s Learn the Elements of the E-R model (entities, attributes, and relationships) s Show how to apply the E-R model.
1 ER Modeling BUAD/American University Entity Relationship (ER) Modeling.
Switch off your Mobiles Phones or Change Profile to Silent Mode.
Copyright  Oracle Corporation, All rights reserved. 4 CMIS Powell Oracle Designer: Creating the Database Design CMIS Powell.
Mapping from Data Model (ERD) to Relational Model
Database Design Using Entity-Relationship Models Transformation of Entity-Relationship Models into Relational Database Design Trees, Networks, and Bills.
Chapter 4 Database Processing Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-1.
Overview of Database Development Data Modeling and Relational Database Design.
Chapter 9: Logical Database Design and the Relational Model (ERD Mapping)
Copyright 2006 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Third Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter.
Using the Table API. Standard Uses of API Populate Columns via Sequences Insert Default Values instead of nulls Populate Autogen Columns –Date Created,
1 © Prentice Hall, 2002 Chapter 5: Logical Database Design and the Relational Model Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B.
Database Design Sections 11 Database relationship, Integrity, keys, mapping conceptual model to logical/physical model Previous Section 12 – DDLesson11Fa12.ppt.
An Entity Relationship (ER) Diagram is a graphic that shows the interrelationship between entities in a database.
In this session, you will learn to: Map an ER diagram to a table Objectives.
Section 04 Lesson 01 Introduction to the Database
Category 1 Category 5 Category 4 Category 3 Category
Subtype Mapping. 2 home back first prev next last What Will I Learn? In this lesson, you will learn to: –State and apply the table, column, identifiers,
Slide #1 Boston, Jan 5 – 6, 2005XCON WG Interim draft-levin-xcon-cccp-01.txt By Orit Levin
Entity-Relation Model. E-R Model The Entity-Relationship (ER) model was originally proposed by Peter in 1976 ER model is a conceptual data model that.
Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall Chapter 9 Designing Databases 9.1.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall, modified by Dr. Lyn Mathis 5-1 David M. Kroenke’s, 10 th ed. Chapter.
1 © Prentice Hall, 2002 ITD1312 Database Principles Chapter 4B: Logical Design for Relational Systems -- Transforming ER Diagrams into Relations Modern.
Step by Step Process
Excel Part 4 Working with Charts and Graphics. XP Objectives Create an embedded chart Work with chart titles and legends Create and format a pie chart.
Ch 05. Basic Symbols ( manino ). Cardinalities Cardinality Notation.
Chapter 5 Understanding Entity Relationship Diagrams.
1 Reference Scheme Reduction on Subtypes in ORM Andy Carver and Terry Halpin INTI International University, Malaysia
IT 5433 LM2 ER & EER Model. Learning Objectives: Explain importance of data modeling Define and use the entity-relationship model Define E/R terms Describe.
Lecture # 14 Chapter # 5 The Relational Data Model and Relational Database Constraints Database Systems.
ERwin.
Chapter 5 Database Design
Chapter 4: Part B Logical Database Design and the Relational Model
ER example : movie & category
Developing approaches to learning skills Step 1Objective strand: Approaches to learning skill: Step 2Explicit learning experience: Step 3Implicit learning.
COS 346 Day 8.
Super Entity & Sub Entity
Signature: Microsoft Word 2003
Constraints.
Step 1 Click on VM icon.
CHAPTER 4: LOGICAL DATABASE DESIGN AND THE RELATIONAL MODEL
Business Template World Map
Presentation transcript:

Server Design Arcs and Sub Entities

ER Diagram

Transformation Options for Exclusivity Supertype and subtypes TITLE Supertype Explicit subtypes Implicit subtypes Arcs MOVIE GAME

The Supertype Option Supertype TITLE # PRODUCT CODE * TITLE TITLES * TI_TYPE * TITLE . . . o CATEGORY o AUDIO o CATEGORY_CATEGORY o MINIMUM_MEMORY MOVIE * CATEGORY . . . o AUDIO Supertype GAME * CATEGORY . . . o MINIMUM MEMORY

Supertype Option

Result of Supertype Option Discriminator Column

The Explicit Subtype Option GAMES # * PRODUCT_CODE * TITLE * CATEGORY o MINIMUM_MEMORY . . . MOVIES # * PRODUCT_CODE * TITLE * CATEGORY o AUDIO . . . TITLE # PRODUCT CODE * TITLE MOVIE * CATEGORY . . . o AUDIO Explicit Subtype GAME * CATEGORY . . . o MINIMUM MEMORY

Implementing Explicit Subtypes Select the In Set check box for the subtypes only MOVIES GAMES Table Mappings In Set TITLE No Mapping --GAME Included --MOVIE Included

The Implicit Subtype Option (rare and not recommended) TITLE # PRODUCT CODE * TITLE TITLES # * PRODUCT_CODE * TITLE MOVIE * CATEGORY . . . o AUDIO MOVIES # * PRODUCT_CODE * TITLE * CATEGORY o AUDIO . . . Implicit Subtype GAMES # * PRODUCT_CODE * TITLE * CATEGORY o MINIMUM_MEMORY . . . GAME * CATEGORY . . . o MINIMUM MEMORY

Implementing Implicit Subtypes Select the In Set check box for the supertype and the subtypes TITLES GAMES Table Mappings TITLE No Mapping Included --GAME --MOVIE In Set MOVIES

The Ordinary Arc

The Result

The Arc Option (rarely applicable) TITLE # PRODUCT CODE * TITLE MOVIES # * MO_ID * CATEGORY . . . o AUDIO MOVIE * CATEGORY . . . o AUDIO TITLES # * PRODUCT_CODE * TITLE . . . o MO_MO_ID o GA_GA_ID Arc GAMES # * GA_ID * CATEGORY . . . o MINIMUM_MEMORY GAME * CATEGORY . . . o MINIMUM MEMORY

Implementing Arcs—First Run Include supertypes and subtypes Table Mappings TITLE Included --GAME --MOVIE In Set No Mapping Choose tables only Run Options Types of elements that you want to create Tables Columns Keys

Implementing Arcs—Second Run Map the arc Table Mappings TITLE Mapped --GAME --MOVIE Arc Table TITLES MOVIES GAMES Entity In Set Select tables, columns, and keys Run Options Types of elements that you want to create Tables Columns Keys

Choosing Implementation