McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 12 View Design and Integration.

Slides:



Advertisements
Similar presentations
Numbers Treasure Hunt Following each question, click on the answer. If correct, the next page will load with a graphic first – these can be used to check.
Advertisements

Chapter 4 Sampling Distributions and Data Descriptions.
AP STUDY SESSION 2.
1
1 Vorlesung Informatik 2 Algorithmen und Datenstrukturen (Parallel Algorithms) Robin Pomplun.
Chapter 7 System Models.
© 2008 Pearson Addison Wesley. All rights reserved Chapter Seven Costs.
Copyright © 2003 Pearson Education, Inc. Slide 1 Computer Systems Organization & Architecture Chapters 8-12 John D. Carpinelli.
Multicriteria Decision-Making Models
Part 3 Probabilistic Decision Models
McGraw-Hill©The McGraw-Hill Companies, Inc., 2003 Chapter 3 Data Transmission.
Chapter 1 The Study of Body Function Image PowerPoint
Processes and Operating Systems
Copyright © 2011, Elsevier Inc. All rights reserved. Chapter 6 Author: Julia Richards and R. Scott Hawley.
Author: Julia Richards and R. Scott Hawley
1 Copyright © 2013 Elsevier Inc. All rights reserved. Appendix 01.
1 Copyright © 2013 Elsevier Inc. All rights reserved. Chapter 3 CPUs.
Properties Use, share, or modify this drill on mathematic properties. There is too much material for a single class, so you’ll have to select for your.
Objectives: Generate and describe sequences. Vocabulary:
UNITED NATIONS Shipment Details Report – January 2006.
1 RA I Sub-Regional Training Seminar on CLIMAT&CLIMAT TEMP Reporting Casablanca, Morocco, 20 – 22 December 2005 Status of observing programmes in RA I.
Prepared by: Workforce Enterprise Services For: The Illinois Department of Commerce and Economic Opportunity Bureau of Workforce Development ENTRY OF EMPLOYER.
Exit a Customer Chapter 8. Exit a Customer 8-2 Objectives Perform exit summary process consisting of the following steps: Review service records Close.
Local Customization Chapter 2. Local Customization 2-2 Objectives Customization Considerations Types of Data Elements Location for Locally Defined Data.
Create an Application Title 1D - Dislocated Worker Chapter 9.
Create an Application Title 1A - Adult Chapter 3.
Process a Customer Chapter 2. Process a Customer 2-2 Objectives Understand what defines a Customer Learn how to check for an existing Customer Learn how.
Human Service Providers and Referrals Chapter 5. Human Service Providers and Referrals 5-2 Objectives Demonstrate the process for entering a Human Service.
Custom Statutory Programs Chapter 3. Customary Statutory Programs and Titles 3-2 Objectives Add Local Statutory Programs Create Customer Application For.
Custom Services and Training Provider Details Chapter 4.
FACTORING ax2 + bx + c Think “unfoil” Work down, Show all steps.
1 Click here to End Presentation Software: Installation and Updates Internet Download CD release NACIS Updates.
REVIEW: Arthropod ID. 1. Name the subphylum. 2. Name the subphylum. 3. Name the order.
Break Time Remaining 10:00.
Table 12.1: Cash Flows to a Cash and Carry Trading Strategy.
PP Test Review Sections 6-1 to 6-6
Bright Futures Guidelines Priorities and Screening Tables
Database Design Process
EIS Bridge Tool and Staging Tables September 1, 2009 Instructor: Way Poteat Slide: 1.
Bellwork Do the following problem on a ½ sheet of paper and turn in.
Developing a Project Plan CHAPTER SIX Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin.
Exarte Bezoek aan de Mediacampus Bachelor in de grafische en digitale media April 2014.
Sample Service Screenshots Enterprise Cloud Service 11.3.
Copyright © 2012, Elsevier Inc. All rights Reserved. 1 Chapter 7 Modeling Structure with Blocks.
1 RA III - Regional Training Seminar on CLIMAT&CLIMAT TEMP Reporting Buenos Aires, Argentina, 25 – 27 October 2006 Status of observing programmes in RA.
Basel-ICU-Journal Challenge18/20/ Basel-ICU-Journal Challenge8/20/2014.
1..
CONTROL VISION Set-up. Step 1 Step 2 Step 3 Step 5 Step 4.
Adding Up In Chunks.
Chapter 6: ER – Entity Relationship Diagram
1 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt Synthetic.
Chapter 2 Entity-Relationship Data Modeling: Tools and Techniques
1 hi at no doifpi me be go we of at be do go hi if me no of pi we Inorder Traversal Inorder traversal. n Visit the left subtree. n Visit the node. n Visit.
Analyzing Genes and Genomes
©Brooks/Cole, 2001 Chapter 12 Derived Types-- Enumerated, Structure and Union.
Essential Cell Biology
Clock will move after 1 minute
Intracellular Compartments and Transport
PSSA Preparation.
Essential Cell Biology
Immunobiology: The Immune System in Health & Disease Sixth Edition
Physics for Scientists & Engineers, 3rd Edition
Energy Generation in Mitochondria and Chlorplasts
Murach’s OS/390 and z/OS JCLChapter 16, Slide 1 © 2002, Mike Murach & Associates, Inc.
3 - 1 Copyright McGraw-Hill/Irwin, 2005 Markets Demand Defined Demand Graphed Changes in Demand Supply Defined Supply Graphed Changes in Supply Equilibrium.
© Copyright 2011 John Wiley & Sons, Inc.
Chapter 12 View Design and Integration. McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Outline Motivation for view design.
Chapter 9 View Design and Integration. © 2001 The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Outline Motivation for view design.
View Design and Integration
Presentation transcript:

McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 12 View Design and Integration

12-2 Outline  Motivation for view design and integration  View design with forms  View integration

12-3 Motivation  Database complexity reflects organizational complexity.  Time-consuming and labor-intensive process  Collect requirements from different user groups  Coordination among designer team members  Manage complexity of large designs

12-4 Managing Complexity As the “divide and conquer” strategy is used to manage complexity, view design and integration is an approach to managing complexity of the database design effort.

12-5 Overview of View Design and Integration

12-6 View Design with Forms  Important source of database requirements  Reverse the process described in the Chapter 10  Derive an ERD that is consistent with the form  Five step procedure

12-7 Sample Customer Order Form

12-8 Form Analysis  Create an ERD to represent a form  ERD supports form and other anticipated processing  ERD should be consistent with the form  ERD is a view of the database

12-9 Form Analysis Steps

12-10 Step 1: Define Form Structure  Construct a hierarchy that depicts the form structure  Most forms consist of a simple hierarchy where the main form is the parent and the subform is the child.  Complex forms can have parallel subforms and more levels in the hierarchy.

12-11 Hierarchical Form Structure

12-12 Step 2: Identify Entity Types  Split each node in the hierarchical structure into one or more entity types.  Make an entity type if a form field is a potential primary key and there are other associated fields in the form.

12-13 Entity Types for the Customer Order Form

12-14 Step 3: Attach Attributes  Attach attributes to the entity types identified in the previous step  Group together fields that are associated with the primary keys found in Step 2  Form fields close together may belong in the same entity type

12-15 Add Attributes

12-16 Step 4: Add Relationships  Relationships involving the form entity type  Form entity type contains the form's primary key  Relationships between the form entity type and other entity types derived from the parent node: usually 1-M.  Add a relationship to connect the form entity type to an entity type in the child node  Add relationships to connect entity types derived from the child node if not already connected

12-17 Entity Relationship Diagram

12-18 Step 5: Check Completeness and Consistency  The ERD should adhere to the diagram rules specified in Chapter 5.  In addition, the ERD should be consistent and complete with respect to the form structure.  Explore diagram transformations as suggested in Chapter 6.

12-19 Consistency Rules for Relationship Cardinalities 1.In at least one direction, the maximum cardinality should be one for relationships connecting entity types derived from the same node (parent or child). 2.In at least one direction, the maximum cardinality should be greater than one for relationships connecting entity types derived from nodes on different levels of the form hierarchy.

12-20 Analysis of M-Way Relationships using Forms  Choice between M-way and binary relationships can be difficult.  Data entry forms provide a context to understand M-way relationships.  An M-way relationship may be needed if a form shows a data entry pattern involving three entity types.

12-21 Sample Project Purchasing Form

12-22 ERD for the Project Purchase Form

12-23 Sample Purchasing Form

12-24 ERD for the Purchasing Form

12-25 View Integration  Combine individual views into a complete database design  Incremental and parallel integration approaches

12-26 Incremental Approach

12-27 Parallel Approach

12-28 Integration Strategy

12-29 Precedence Relationships  Form A precedes form B if form A must be completed before form B.  Preceding forms typically provide data for subsequent forms.  Place forms with precedence relationships in the same view subset

12-30 Precedence Example

12-31 Resolving Synonyms and Homonyms  Synonym: spelled differently but have the same meaning  Homonym: same sound and often the same spelling but different meaning  Forms provide a context to resolve  Major part of standardizing a vocabulary

McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. View Integration Examples

12-33 Sample Invoice Form

12-34 Incremental Integration Example  The following 5 slides demonstrate the Incremental Integration process by integrating the Invoice Form with the ERD for Customer Order Form

12-35 Form Hierarchy

12-36 Identify entity types and attach attributes

12-37 Match Form Fields  Match to existing entity types  Order No matches the Order entity type.  Customer No, Customer Name, Address, City, State, and Zip match the Customer entity type.  Product No, Description, and Unit Price match the Product entity type.

12-38 Analyze Homonyms  Revise the Customer entity type with two sets of address fields: billing address fields and shipping address fields.  Add shipping address fields to the Invoice entity type.  Create a new entity type (ShipAddress) with the shipping address fields.

12-39 Integrated ERD (incremental)

12-40 Parallel Integration Example  The difference between the parallel and incremental approaches is that integration occurs later in the parallel approach.  For the parallel approach, ERDs for forms must be constructed before merging.

12-41 ERD for the Invoice Form

12-42 Integrated ERD (Parallel)

12-43 Summary  View design and integration is an important skill for designing large databases.  Manage complexity of large development efforts  The result of form analysis is an ERD that is a view of the database.  Two approaches for View Integration, incremental and parallel