1 Database Systems: Design, Implementation, and Management CHAPTER 6 Database Design.

Slides:



Advertisements
Similar presentations
Chapter 10: Designing Databases
Advertisements

Database Systems: Design, Implementation, and Management Chapter 9 Database Design.
Database Development Cycle Track 3: Managing Information Using Database.
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management Dave Salisbury ( )
©2003 Prentice Hall Business Publishing, Accounting Information Systems, 9/e, Romney/Steinbart 5-1 Accounting Information Systems 9 th Edition Marshall.
Concepts of Database Management Sixth Edition
© 2002 by Prentice Hall 1 David M. Kroenke Database Processing Eighth Edition Chapter 2 Introduction to Database Development.
Chapter 6 Methodology Conceptual Databases Design Transparencies © Pearson Education Limited 1995, 2005.
Chapter 6 Database Design
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 5-1 David M. Kroenke Database Processing Tenth Edition Chapter 5 Data.
Entity-Relationship Model and Diagrams (continued)
Chapter 9 Database Design
Chapter 9 Database Design
“DOK 322 DBMS” Y.T. Database Design Hacettepe University Department of Information Management DOK 322: Database Management Systems.
Database Systems: Design, Implementation, and Management Ninth Edition
Chapter 9 Database Design
9 1 Chapter 9 Database Design Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
6 Chapter 6 Database Design Hachim Haddouti. 6 2 Hachim Haddouti and Rob & Coronel, Ch6 In this chapter, you will learn: That successful database design.
The database development process
IST 210 Database Design Process IST 210 Todd S. Bacastow.
Chapter 6 Database Design.
Copyright 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 10 Structuring.
Chapter 14 & 15 Conceptual & Logical Database Design Methodology
PHASE 3: SYSTEMS DESIGN Chapter 7 Data Design.
2 1 Chapter 2 Data Model Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
Computer System Analysis Chapter 10 Structuring System Requirements: Conceptual Data Modeling Dr. Sana’a Wafa Al-Sayegh 1 st quadmaster University of Palestine.
Database System Development Lifecycle © Pearson Education Limited 1995, 2005.
INFORMATION SYSTEM APPLICATIONS System Development Life Cycle.
Chapter 8 Database Design
Chapter 1: The Database Environment and Development Process
Chapter 17 Database Design Using the REA Data Model Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 17-1.
Chapter 17 Database Design Using the REA Data Model Copyright © 2012 Pearson Education 17-1.
ITEC224 Database Programming
Database Design Adapted from Database Systems: Design, Implementation, and Management Eighth Edition Rob, Coronel.
ITEC 3220M Using and Designing Database Systems
Chapter 16 Methodology - Conceptual Database Design.
IST 210 Database Design Process IST 210 Todd S. Bacastow January 2005.
Database Systems: Design, Implementation, and Management
Methodology - Conceptual Database Design Transparencies
Methodology Conceptual Databases Design
8 1 Chapter 8 Database Design Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
1 Chapter 9 Database Design. 2 2 In this chapter, you will learn: That successful database design must reflect the information system of which the database.
Week 4 Lecture Part 3 of 3 Database Design Samuel ConnSamuel Conn, Faculty Suggestions for using the Lecture Slides.
9/14/2012ISC329 Isabelle Bichindaritz1 Database System Life Cycle.
Chapter 14 Information System Development
1 Chapter 15 Methodology Conceptual Databases Design Transparencies Last Updated: April 2011 By M. Arief
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.
Team Dosen UMN Database Design Connolly Book Chapter
Concepts of Database Management Sixth Edition Chapter 6 Database Design 2: Design Method.
Methodology - Conceptual Database Design
6 6 Chapter 6 Database Design Database Systems: Design, Implementation, and Management 4th Edition Peter Rob & Carlos Coronel.
Part4 Methodology of Database Design Chapter 07- Overview of Conceptual Database Design Lu Wei College of Software and Microelectronics Northwestern Polytechnical.
CISB113 Fundamentals of Information Systems IS Development.
Logical Design 12/10/2009GAK1. Learning Objectives How to remove features from a local conceptual model that are not compatible with the relational model.
Copyright 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 10 Structuring.
IST 210 Database Design Process IST 210, Section 1 Todd S. Bacastow January 2004.
Data Resource Management Data Concepts Database Management Types of Databases Chapter 5 McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
Database Development Lifecycle
Roles in the Database Environment
Database Development (8 May 2017).
ITEC 3220A Using and Designing Database Systems
Fundamentals of Information Systems, Sixth Edition
Chapter 6 Database Design
Database Design Using the REA Data Model
Chapter 6 Database Design
Database Design Hacettepe University
Presentation transcript:

1 Database Systems: Design, Implementation, and Management CHAPTER 6 Database Design

2 The Systems Development Life Cycle l The Systems Development Life Cycle (SDLC) provides a methodology for developing an IS. l Database design takes place within the confines of an IS. l Five phases of SDLC: u Planning u Analysis u Design u Implementation u Maintenance l SDLC is an iterative process

3 Figure 6.2 Systems Development Life Cycle

4 Figure 6.3 Database Lifecycle (DBLC) This is also an iterative process like SDLC

5 Database Design l Divided into four tasks u Conceptual design u DBMS software selection (if required) u Logical design u Physical design l Conceptual design is independent of software and hardware l Logical design is DBMS (software) dependent l Physical design is dependent on both software and hardware

6 Conceptual Design l The goal is to capture and model user requirements l Four Steps: u Data analysis and requirements u Entity relationship modeling and normalization u Data model verification u Distributed database design

7 Conceptual Design l Data analysis and requirements u The focus is on identifying user requirements u This can be gathered through various mean l observing and analyzing the current system l user interviews l questionnaire surveys u Capture and document user data views and business rules. l User data views describe the data used by the user v Example l Business rules describe policies and procedures followed by the company v Example: (EZS) Y An item may be procured from many vendors Y Purchase price of an item is negotiated with each supplier.

8 Conceptual Design l ER Modeling and Normalization u User requirements are modeled using E-R diagrams l Identify main entities based on user requirements data l Define relationships between the entities l Define attributes, primary keys, and foreign keys for each of the entities. l Normalize the entities. l Complete the initial E-R diagram. l Verify the E-R model against the data, information, and processing requirements. l Modify the E-R diagram, if necessary u Documentation process must be standardized to avoid miscommunication

9 Conceptual Design l Data model verification u Ensure that user data views can be supported by the data model u All business transactions (select, insert, update, delete, user queries) can be supported by the model l Distributed database design u Data requirements and processing requirements may vary from one location to another u Decision may be made about allocating data to different locations

10 DBMS Selection l This step is required only if you plan to acquire a new DBMS l Common factors affecting the decision: u Cost -- Purchase, maintenance, operational, license, installation, training, and conversion costs. u DBMS features and tools. u Underlying model. u Portability -- Platforms, systems, and languages. u DBMS hardware requirements.

11 Logical Design l Logical design translates the conceptual design into the internal model for a selected DBMS. l It includes the design of tables, indexes, views, transactions l Access authorities (who can access what) are also decided. l The ER model is translated into relational schema

12 Logical Design l Translating ER Model into Relational Schema u After normalizing the E-R diagram we are left with only two types of relationships l One-to-one l One-to-Many u For every one-to-one relationship, reexamine the possibility of merging the two entities into a single entity by combining their attributes. u Entities participating in a one-to-one relationship are linked through a foreign key. u Supertype-subtype relationships are usually implemented as one-to-one relationships. Both entities share a common primary key, which also becomes a foreign key in the subtype entity.

13 Logical Design EmployeeDriver May be a 11 (0,1)(1,1) Employee Emp_Id Emp_Name Emp_Salary Driver Emp_Id License Nbr Lic Exprn. Date 11 Example of translating a 1:1 relationship into a relational schema Primary and Foreign Key

14 Logical Design l Translating ER Model into Relational Schema u One-to-many relationships are implemented by adding the primary key of the first entity as the foreign key of the second (many side) entity. ProfessorClass teaches 1M (0,N)(1,1) Professor Prof_Id Prof_Lname Prof_Phone Class Class_Code Class_Section Class_Days Class_Time Prof_Id 1 M Example: Foreign Key

15 Example - Logical Design

16 Example - Logical Design

17 Physical Design l Select data storage and data access characteristics (indexes) of the database. l It affects location of the data in the storage device(s) and system performance. l Physical design is more complex with distributed databases. l Relational databases are more insulated from physical layer details than hierarchical and network models. l Chapters 7 and 8 describe an excellent case study of database design

18 Physical Organization Figure 6.12

19 DB Design Strategy Notes l Top-down u 1) Identify data sets u 2) Define data elements l Bottom-up u 1) Identify data elements u 2) Group them into data sets Figure 6.14