CBAD2103 Data Analysis and Modeling. Chapter 7 Conceptual Design Methodology.

Slides:



Advertisements
Similar presentations
Modeling the Data: Conceptual and Logical Data Modeling
Advertisements

Fundamentals, Design, and Implementation, 9/e Chapter 4 The Relational Model and Normalization.
© 2005 by Prentice Hall Chapter 3a Database Design Modern Systems Analysis and Design Fourth Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich.
Database Design Conceptual –identify important entities and relationships –determine attribute domains and candidate keys –draw the E-R diagram Logical.
Lecture Eleven Entity-Relationship Modelling
Entity-Relationship Model and Diagrams (continued)
Normalization I.
Chapter 4 ENTITY-RELATIONSHIP MODELLING.
Chapter 5 Normalization Transparencies © Pearson Education Limited 1995, 2005.
Chapter 4 Entity-Relationship modeling Transparencies © Pearson Education Limited 1995, 2005.
LOGICAL DATABASE DESIGN
Michael F. Price College of Business Chapter 6: Logical database design and the relational model.
Chapter 14 & 15 Conceptual & Logical Database Design Methodology
Chapter 3 The Relational Model and Normalization
Chapter 12 Entity-Relationship Modeling Pearson Education © 2009.
Daniel AdinugrohoDatabase Programming 1 DATABASE PROGRAMMING Lecture on 29 – 04 – 2005.
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall 9.1.
XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Level 3 Objectives: Identifying and Eliminating Database.
CSCI 3140 Module 2 – Conceptual Database Design Theodore Chiasson Dalhousie University.
Concepts and Terminology Introduction to Database.
Normalization. 2 Objectives u Purpose of normalization. u Problems associated with redundant data. u Identification of various types of update anomalies.
Database Systems: Design, Implementation, and Management Tenth Edition
Chapter 13 Normalization Transparencies. 2 Last Class u Access Lab.
Database Systems: Design, Implementation, and Management Ninth Edition Chapter 6 Normalization of Database Tables.
Normalization. Learners Support Publications 2 Objectives u The purpose of normalization. u The problems associated with redundant data.
Concepts of Relational Databases. Fundamental Concepts Relational data model – A data model representing data in the form of tables Relations – A 2-dimensional.
Normalization Transparencies
Chapter 7 1 Database Principles Data Normalization Primarily a tool to validate and improve a logical design so that it satisfies certain constraints that.
10/3/2012ISC329 Isabelle Bichindaritz1 Logical Design.
© Pearson Education Limited, Chapter 9 Logical database design – Step 1 Transparencies.
Normalization Well structured relations and anomalies Normalization First normal form (1NF) Functional dependence Partial functional dependency Second.
Chapter 13 Normalization Transparencies. 2 Chapter 13 - Objectives u Purpose of normalization. u Problems associated with redundant data. u Identification.
Chapters 15 &16 Conceptual and Logical Database Design Methodology.
Chapter 8 Methodology - Conceptual Database Design Chapter 15 in Textbook.
Chapter 12 Entity-Relationship Modeling Pearson Education © 2009.
CIS 210 Systems Analysis and Development Week 6 Part II Designing Databases,
Unit 4 Object Relational Modeling. Key Concepts Object-Relational Modeling outcomes and process Relational data model Normalization Anomalies Functional.
Copyright 2006 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Third Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter.
Lecture 5 Normalization. Objectives The purpose of normalization. How normalization can be used when designing a relational database. The potential problems.
Chapter 13 Normalization Transparencies Last Updated: 08 th May 2011 By M. Arief
Chapter 10 Normalization Pearson Education © 2009.
Part4 Methodology of Database Design Chapter 07- Overview of Conceptual Database Design Lu Wei College of Software and Microelectronics Northwestern Polytechnical.
Component 4/Unit 6d Topic IV: Design a simple relational database using data modeling and normalization Description and Information Gathering Data Model.
Lecture Nine: Normalization
© Pearson Education Limited, Normalization Bayu Adhi Tama, M.T.I. Faculty of Computer Science University of Sriwijaya.
9/23/2012ISC329 Isabelle Bichindaritz1 Normalization.
Normalization. 2 u Main objective in developing a logical data model for relational database systems is to create an accurate representation of the data,
Chapter 15 & 16 Conceptual and Logical Database Design Methodology Thomas Connolly, Carolyn Begg, Database System, A Practical Approach to Design Implementation.
1 DATABASE TECHNOLOGIES (Part 2) BUS Abdou Illia, Fall 2015 (September 9, 2015)
Chapter 10 Designing Databases. Objectives:  Define key database design terms.  Explain the role of database design in the IS development process. 
11/10/2009GAK1 Normalization. 11/10/2009GAK2 Learning Objectives Definition of normalization and its purpose in database design Types of normal forms.
6-1 © Prentice Hall, 2007 Topic 6: Object-Relational Modeling Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich,
8-1 © Prentice Hall, 2007 Chapter 8: Object-Relational Modeling Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich,
Microsoft Access 2010 Chapter 11 Database Design.
RELATIONAL TABLE NORMALIZATION. Key Concepts Guidelines for Primary Keys Deletion anomaly Update anomaly Insertion anomaly Functional dependency Transitive.
Logical Design 12/10/2009GAK1. Learning Objectives How to remove features from a local conceptual model that are not compatible with the relational model.
McGraw-Hill/Irwin Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 6 Modeling the Data: Conceptual and Logical Data Modeling.
Normalization. Overview Earliest  formalized database design technique and at one time was the starting point for logical database design. Today  is.
Database Architecture Normalization. Purpose of Normalization A technique for producing a set of relations with desirable properties, given the data requirements.
NORMALIZATION Handout - 4 DBMS. What is Normalization? The process of grouping data elements into tables in a way that simplifies retrieval, reduces data.
SLIDE 1IS 257 – Fall 2006 Normalization Normalization theory is based on the observation that relations with certain properties are more effective.
What Is Normalization  In relational database design, the process of organizing data to minimize redundancy  Usually involves dividing a database into.
Chapter 8 Relational Database Design Topic 1: Normalization Chuan Li 1 © Pearson Education Limited 1995, 2005.
Normalization.
SEEM3430: Information Systems Analysis and Design
Chapter 9 Designing Databases
Conceptual Database Design
Normalization Dale-Marie Wilson, Ph.D..
Review of Week 1 Database DBMS File systems vs. database systems
國立臺北科技大學 課程:資料庫系統 2015 fall Chapter 14 Normalization.
Presentation transcript:

CBAD2103 Data Analysis and Modeling

Chapter 7 Conceptual Design Methodology

CONCEPTUAL DESIGNING PHASE 1. Determination of entity; 2. Determination of relationship; 3. Determination of attribute for entity and relationship; 4. Determination of domain for attribute; 5. Determination of primary key; and 6. Re-evaluation of data model with users.

ENTITY DETERMINATION The determination of an entity in a given particular environment is the first thing you have to do. The usual method used to determine entity is to examine the requirement specification of users. implementing each class.

RELATIONSHIP DETERMINATION Worker Works Company Students Register Course Manager Supervises Staff

DETERMINING ATTRIBUTE FOR ENTITY OR RELATIONSHIP Attribute can be determined when the noun mentioned constitutes a property, quality, identifier or characteristic of any of these entities or relationships modeled in database. In recognizing attributes, it is important for you to model the attributes as simple or composite, solitary, multi-valued or derived attribute. All attributes must be documented.

DETERMINING ATTRIBUTE DOMAIN The main purpose of this step is to determine the domain for each modeled attribute. A Domain is the type of value permitted for each attribute. The following are examples of how you can determine attribute domain. ◦Attribute Domain for Worker No is five characters with the first two characters represented by letters of the alphabet and the rest by digits ranging from 1 to 999. ◦Attribute Domain for Gender is either F or M which is an alphabet character.

DETERMINING KEY A key candidate is an attribute or a set of minimum attributes that uniquely recognizes occurrences in an entity. When choosing a primary key from several possible key candidates you may want to use the following guidelines: ◦The key candidate with the minimum attribute sets. ◦The key candidate that is least likely to have its values changed. ◦The key candidate with the shortest characters (for key candidate from the character domain). ◦The key candidate with lowest maximum value (for a key candidate from the numeric domain). ◦The key candidate that is the easiest to use by users of the system.

Tutorial 1

Chapter 8 Normalization

PURPOSE OF NORMALIZATION Technique of determining and evaluating the resultant logical data model to ensure that it is accurate as well as containing the minimum amount of anomalies. The process of normalization is a formal method of determining relationships based on the primary key or candidate key and of functional dependency between attributes.

Relationships which contain the element of excess data often cause problems known as anomalies of updating. The concept of updating anomalies: (i) insertion anomaly (ii) deletion anomaly (iii) modification anomaly

FUNCTIONAL DEPENDENCY If A and B are attributes of the H relationship, B is said to be functionally dependent on A (represented as A-) if each value of A is only connected to only one value of B.

NORMALIZATION PROCESS The purpose of normalization is to minimize anomalies found in each relationship. Through this process, relationships which contain excess data and high anomalies will be divided into several tables which contain the minimum number of anomalies.

1NF Form Unusual form (UNF) is a table relationship which contains one or more repetitive groups. The first normalization form (1NF) is a relationship which crosses between each row and column containing only one value (fulfils relationship characteristics). Each relationship or table in the UNF form must be normalized to 1NF form. The change to 1NF form is done by identifying the repetitive group and remove it from the relationship mentioned

2NF Form The second normalization form (2NF) is based on the concept of full functional dependency. To clarify the concept of full functional dependency, consider the following relationship: The second normalization form (2NF) is a relationship which is already in 1NF form and each attribute is not the full functional dependency key of the overall primary key.

3NF Form The third normalization form (3NF) is a relationship which is already in the form of 1NF and 2NF and there are no non-key attributes which are transitively dependent on the primary key. Project (ProjectNo, ProjectName, WorkerNo, Date of Birth) ProjectNo - ProjectName, WorkerNo WorkerNo - Date of Birth Based on the concept of transitive dependency, ProjectNo - Date of Birth