CSCI 3140 Module 2 – Conceptual Database Design Theodore Chiasson Dalhousie University.

Slides:



Advertisements
Similar presentations
Database Design: ER Modelling (Continued)
Advertisements

Logical Database Design
Chapter 6 Methodology Logical Database Design for the Relational Model Transparencies © Pearson Education Limited 1995, 2005.
System Analysis - Data Modeling
Chapter 6 Methodology Conceptual Databases Design Transparencies © Pearson Education Limited 1995, 2005.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 7 Data Modeling Using the Entity- Relationship (ER) Model.
Lecture Eleven Entity-Relationship Modelling
Physical Database Monitoring and Tuning the Operational System.
1 Methodology : Conceptual Databases Design © Pearson Education Limited 1995, 2005.
Methodology Logical Database Design for the Relational Model
1 Minggu 11, Pertemuan 22 Conceptual Database Design (Chapter 14.1, 3rd ed.) Matakuliah: T0206-Sistem Basisdata Tahun: 2005 Versi: 1.0/0.0.
Lecture Fourteen Methodology - Conceptual Database Design
Chapter 4 ENTITY-RELATIONSHIP MODELLING.
Chapter 8 Structuring System Data Requirements
Methodology Conceptual Database Design
Modeling & Designing the Database
Chapter 4 Entity-Relationship modeling Transparencies © Pearson Education Limited 1995, 2005.
LOGICAL DATABASE DESIGN
BIS310: Week 7 BIS310: Structured Analysis and Design Data Modeling and Database Design.
Chapter 14 & 15 Conceptual & Logical Database Design Methodology
Logical Database Design Nazife Dimililer. II - Logical Database Design Two stages –Building and validating local logical model –Building and validating.
CSC271 Database Systems Lecture # 21. Summary: Previous Lecture  Phases of database SDLC  Prototyping (optional)  Implementation  Data conversion.
Entity-Relationship modeling Transparencies
CSE314 Database Systems Data Modeling Using the Entity- Relationship (ER) Model Doç. Dr. Mehmet Göktürk src: Elmasri & Navanthe 6E Pearson Ed Slide Set.
Overview of the Database Development Process
Entity-relationship Modeling Transparencies 1. ©Pearson Education 2009 Objectives How to use ER modeling in database design. The basic concepts of an.
Chapters 17 & 18 Physical Database Design Methodology.
Chapter 16 Methodology - Conceptual Database Design.
Methodology - Conceptual Database Design Transparencies
Software School of Hunan University Database Systems Design Part III Section 5 Design Methodology.
Methodology Conceptual Databases Design
9/14/2012ISC329 Isabelle Bichindaritz1 Database System Life Cycle.
1 Chapter 15 Methodology Conceptual Databases Design Transparencies Last Updated: April 2011 By M. Arief
9/10/2012ISC 329 Isabelle Bichindaritz1 Entity Relationship (E-R) Modeling.
10/3/2012ISC329 Isabelle Bichindaritz1 Logical Design.
CSC271 Database Systems Lecture # 29. Summary: Previous Lecture  The normalization process  1NF, 2NF, 3NF  Inference rules for FDs  BCNF.
Methodology - Conceptual Database Design. 2 Design Methodology u Structured approach that uses procedures, techniques, tools, and documentation aids to.
CSCI 3140 Module 3 – Logical Database Design for the Relational Model Theodore Chiasson Dalhousie University.
1/26/2004TCSS545A Isabelle Bichindaritz1 Database Management Systems Design Methodology.
Methodology: Conceptual Databases Design
DATABASE MGMT SYSTEM (BCS 1423) Chapter 5: Methodology – Conceptual Database Design.
Team Dosen UMN Database Design Connolly Book Chapter
© Pearson Education Limited, Chapter 9 Logical database design – Step 1 Transparencies.
Conceptual Database Design
Chapters 15 &16 Conceptual and Logical Database Design Methodology.
© Pearson Education Limited, Chapter 7 Entity-Relationship modeling Transparencies.
Chapter 8 Methodology - Conceptual Database Design Chapter 15 in Textbook.
Methodology - Conceptual Database Design
Chapter 12 Entity-Relationship Modeling Pearson Education © 2009.
Part4 Methodology of Database Design Chapter 07- Overview of Conceptual Database Design Lu Wei College of Software and Microelectronics Northwestern Polytechnical.
1 Chapter 17 Methodology - Local Logical Database Design.
Methodology – Physical Database Design for Relational Databases.
Conceptual Databases Design Step 1 © Pearson Education Limited 1995, 2005.
Modelling Methodologies Chapter 16, 17, 18. Modeling Methodologies2 Database Design Physical DB design Logical DB design Conceptual DB design Hardware.
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)
1 Database Systems Entity Relationship (E-R) Modeling.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 7 Data Modeling Using the Entity- Relationship (ER) Model.
DBMS ER model-2 Week 6-7.
Entity-Relationship Modeling. 2 Entity Type u Entity type –Group of objects with same properties, identified by enterprise as having an independent existence.
Logical Design 12/10/2009GAK1. Learning Objectives How to remove features from a local conceptual model that are not compatible with the relational model.
Methodology - Logical Database Design. 2 Step 2 Build and Validate Local Logical Data Model To build a local logical data model from a local conceptual.
April 20022/CS/3X1 Database Design Design method John Wordsworth Department of Computer Science The University of Reading Room.
Methodology Conceptual Databases Design
Methodology Logical Database Design for the Relational Model
Methodology Conceptual Database Design
Conceptual Database Design
Database solutions Chosen aspects of the relational model Marzena Nowakowska Faculty of Management and Computer Modelling Kielce University of Technology.
Methodology Conceptual Databases Design
Presentation transcript:

CSCI 3140 Module 2 – Conceptual Database Design Theodore Chiasson Dalhousie University

Database Design Methodology Design Methodology –A structured approach that uses procedures, techniques, tools, and documentation aids to support and facilitate the process of design Conceptual database design –The process of constructing a model of the information used in an enterprise, independent of all physical considerations Logical database design –The process of constructing a model of the information used in an enterprise based on a specific data model, but independent of a particular DBMS and other physical considerations Physical database design –The process of producing a description of the implementation of the database on secondary storage; it describes the base relations, file organizations, and indexes used to achieve efficient access to the data, and any associated integrity constraints and security measures

Conceptual database design methodology Build a local conceptual data model for each view For each identified view within the enterprise: –Identify entity types –Identify relationship types –Identify and associate attributes with entity or relationship types –Determine attribute domains –Determine candidate and primary key attributes –Consider use of enhanced modeling concepts –Check model for redundancy –Validate local conceptual model against user transactions –Review local conceptual data model with user

Identify entity types Based on the requirements specification, identify the entity types for each view of the enterprise –End-users typically use nouns when describing entities –Often, an end-user will refer to someone by name rather than describe their position –The same word can mean different things in different sectors –Different views may use different words to describe the same entity

Identify relationship types For each view, identify the relationships among the entities –End-users typically use verbs when describing relationships –Model only those relationships that appear to be required based on the requirements specification –Most relationships are binary –Use ER diagrams –Determine the multiplicity constraints of relationship types –Check that each entity participates in at least one relationship –Document relationship types using meaningful names

Identify attributes For each entity type and relationship type, ask –What information are we required to store about ________? Note whether an identified attribute is simple or composite Note whether an attribute is single-valued or multi-valued Describe derived attributes For each identified attribute, document –Attribute name and description –Data type and length –Any aliases that the attribute is known by –Whether the attribute is composite, and, if so, the simple attributes that make up the composite attribute –Whether the attribute is multi-valued –Whether the attribute is derived and, if so, how it should be computed –Any default values for the attribute Identifying attributes will likely lead to a need to refine the identified entity types and relationship types

Identify attribute domains An attribute domain is a pool of values from which one or more attributes draw their values Record the attribute domain name and characteristics in the data dictionary Update the attribute descriptions to use the named attribute domain

Determine candidate and primary key attributes A candidate key is a minimal set of attributes of an entity that uniquely identifies each occurrence of that entity If more than one candidate key exists, one of them is chosen as the primary key and the remaining candidate keys are called alternate keys Record the identification of primary and alternate keys in the data dictionary Update the draft ER diagram to include the selected primary key for each entity

Consider use of enhanced modeling concepts Use generalization and specialization to identify class hierarchies of entities Use aggregation and composition to further define class hierarchy relationships Can help to clarify the relationships in an ER diagram

Check model for redundancy Examine 1:1 relationships –May be able to combine two entities into one Remove redundant relationships –Two different paths between two entities may indicate a redundant relationship exists

Validate local conceptual model against user transactions The local conceptual model represents a specific view of the enterprise Check the model to ensure that is supports the transactions required by the users of this view Check the model by describing how the model can be used to support each transaction, or by tracing the relationships and entities involved in supports each transaction directly on the ER diagram Transaction pathways (traces on the ER diagram) can help to identify areas of the model that are not used by any transactions

Review local conceptual model with user The conceptual data model includes the ER diagram and the supporting documentation that describes the model Review of the model with the user may identify anomalies in the model that have to be corrected, which may require repeating previous steps The entire process is repeated until the user is prepared to ‘sign off’ on the model as being a true representation of the part of the enterprise being modeled.