Database Systems: Design, Implementation, and Management

Slides:



Advertisements
Similar presentations
1 Information Systems Development (ISD) Systems Development Life Cycle Overview of Analysis Phase Overview of Design Phase CP2236: Information Systems.
Advertisements

Database Development Cycle Track 3: Managing Information Using Database.
8 Chapter 8 The University Lab: Conceptual Design Verification, Logical Design, and Implementation Hachim Haddouti.
8 Chapter 8 The University Lab: Conceptual Design Verification, Logical Design, and Implementation Database Systems: Design, Implementation, and Management,
©2003 Prentice Hall Business Publishing, Accounting Information Systems, 9/e, Romney/Steinbart 5-1 Accounting Information Systems 9 th Edition Marshall.
Chapter 2 Data Models Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
9/6/2001Database Management – Fall 2000 – R. Larson Information Systems Planning and the Database Design Process University of California, Berkeley School.
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
Database Administration
Chapter 9 Database Design
Database Systems: Design, Implementation, and Management Ninth Edition
Chapter 9 Database Design
Lecture 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.
Chapter 4 Entity Relationship (E-R) Modeling
The database development process
Database Administration Chapter 16. Need for Databases  Data is used by different people, in different departments, for different reasons  Interpretation.
Chapter 6 Database Design.
Chapter 14 & 15 Conceptual & Logical Database Design Methodology
CSC271 Database Systems Lecture # 21. Summary: Previous Lecture  Phases of database SDLC  Prototyping (optional)  Implementation  Data conversion.
Copyright © 2003 by Prentice Hall Computers: Tools for an Information Age Chapter 14 Systems Analysis and Design: The Big Picture.
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.
Database System Development Lifecycle © Pearson Education Limited 1995, 2005.
Overview of the Database Development Process
INFORMATION SYSTEM APPLICATIONS System Development Life Cycle.
Chapter 8 Database Design
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.
2 1 Chapter 2 Data Models Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and 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.
1 Database Systems: Design, Implementation, and Management CHAPTER 6 Database Design.
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.
1/26/2004TCSS545A Isabelle Bichindaritz1 Database Management Systems Design Methodology.
Methodology: Conceptual Databases Design
Team Dosen UMN Database Design Connolly Book Chapter
8 8 Chapter 8 The University Lab: Conceptual Design Verification, Logical Design, and Implementation Database Systems: Design, Implementation, and Management.
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.
IST 210 Database Design Process IST 210, Section 1 Todd S. Bacastow January 2004.
Database Development Lifecycle
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
SDLC The systems development life cycle is the foundation for many systems development methodologies such as RAD and agile Systems development life cycle.
Database Development Cycle
Presentation transcript:

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

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

SDLC Enterprise-wide requirement assessment Identification of IS projects Feasibility assessment and prioritization Planning User requirement analysis for a specific project Requirement modeling (conceptual) Analysis Detailed design Specification development Design Coding, testing and evaluation Installation Implementation Daily operation and maintenance Enhancements Maintenance

Database Life Cycle Analyze company situation Define problem Define objectives Define scope and boundaries Conceptual design DBMS software selection, if required Logical design Physical design Install DBMS, if new Create databases Load data Test the database Evaluate performance and fine-tune Daily operation and maintenance Enhancements Database Initial study Database Design Implementation and loading Testing and evaluation Operation and maintenance This is also an iterative process like SDLC

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

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

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

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

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

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

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

Logical Design Translating ER Model into Relational Schema After normalizing the E-R diagram we are left with only two types of relationships One-to-one One-to-Many For every one-to-one relationship, reexamine the possibility of merging the two entities into a single entity by combining their attributes. Entities participating in a one-to-one relationship are linked through a foreign key. 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.

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

Logical Design Translating ER Model into Relational Schema 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. Example: Professor Class teaches 1 M (0,N) (1,1) Professor Prof_Id Prof_Lname Prof_Phone Class Class_Code Class_Section Class_Days Class_Time 1 M Foreign Key

Example - Logical Design

Example - Logical Design

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