Chapter 6 Database Design

Slides:



Advertisements
Similar presentations
Database Planning, Design, and Administration
Advertisements

7 Chapter 7 The University Lab: Conceptual Design Database Systems: Design, Implementation, and Management, Fifth Edition, Rob and Coronel.
Database Systems: Design, Implementation, and Management Chapter 9 Database Design.
Introduction to Databases
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,
Database Design S511 Session 3, IU-SLIS.
Chapter 2 Data Models Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
File Systems and Databases
Distributed Database Management Systems
Chapter 9 Database Design
Database Administration
File Systems and Databases Hachim Haddouti
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.
Lecture Nine Database Planning, Design, and Administration
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 1- 1.
DISTRIBUTED DATABASE MANAGEMENT SYSTEM CHAPTER 07.
IST 210 Database Design Process IST 210 Todd S. Bacastow.
Database System Development Lifecycle
Chapter 6 Database Design.
Database Design. Why Database?: From Data … Simple dumping of data on the storage medium provides little value. Database System2 idnameaddresscountrypay.
Database Systems: Design, Implementation, and Management Ninth Edition
Chapter 1 Database Systems. Good decisions require good information derived from raw facts Data is managed most efficiently when stored in a database.
2 1 Chapter 2 Data Model Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
Chapter 9 Database Planning, Design, and Administration Sungchul Hong.
Database System Development Lifecycle © Pearson Education Limited 1995, 2005.
Overview of the Database Development Process
Week 1 Lecture MSCD 600 Database Architecture Samuel ConnSamuel Conn, Asst. Professor Suggestions for using the Lecture Slides.
Chapter 8 Database Design
DBS201: DBA/DBMS Lecture 13.
AL-MAAREFA COLLEGE FOR SCIENCE AND TECHNOLOGY INFO 232: DATABASE SYSTEMS CHAPTER 1 DATABASE SYSTEMS (Cont’d) Instructor Ms. Arwa Binsaleh.
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
IST 210 Database Design Process IST 210 Todd S. Bacastow January 2005.
Database Systems: Design, Implementation, and Management
1 Database Systems: Design, Implementation, and Management CHAPTER 6 Database 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 Two ( Data Model) Objectives Introduction to Data Models What are the Data Models Why they are important Learn how to design a DBMS.
1/26/2004TCSS545A Isabelle Bichindaritz1 Database Management Systems Design Methodology.
Chapter(1) Introduction and conceptual modeling. Basic definitions Data : know facts that can be recorded and have an implicit. Database: a collection.
8 8 Chapter 8 The University Lab: Conceptual Design Verification, Logical Design, and Implementation Database Systems: Design, Implementation, and Management.
6 6 Chapter 6 Database Design Database Systems: Design, Implementation, and Management 4th Edition Peter Rob & Carlos Coronel.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 1 Database Systems.
Database Design.
Chapter 9 & 10 Database Planning, Design and Administration Database Application Lifecycle DBMS Selection Database Administration.
Database Systems Database Systems: Design, Implementation, and Management, Rob and Coronel.
Chapter 2 Database Environment.
CS523 Database Design Instructor : Somchai Thangsathityangkul You can download lecture note at Class Presence 10% Quiz 10%
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 1 Database Systems.
IST 210 Database Design Process IST 210, Section 1 Todd S. Bacastow January 2004.
Introduction: Databases and Database Systems Lecture # 1 June 19,2012 National University of Computer and Emerging Sciences.
Database Development Lifecycle
Database Development (8 May 2017).
ITEC 3220A Using and Designing Database Systems
Database Design Process
Chapter 6 Database Design
Chapter 6 Database Design
File Systems and Databases
Database Systems Chapter 1
Presentation transcript:

Chapter 6 Database Design Database Systems: Design, Implementation, and Management, Fifth Edition, Rob and Coronel

In this chapter, you will learn: That successful database design must reflect the information system of which the database is a part That successful information systems are subject to frequent evaluation and revision within a framework known as the Systems Development Life Cycle (SDLC) That, within the information system, the most successful databases are subject to frequent evaluation and revision within a framework known as the Database Life Cycle (DBLC) How to conduct evaluation and revision within the SDLC and DBLC frameworks What database design strategies exist: top-down vs. bottom-up design and centralized vs. decentralized design Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel

Changing Data into Information Raw facts stored in databases Need additional processing to become useful Information Required by decision maker Data processed and presented in a meaningful form Transformation Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel

The Information System Database Carefully designed and constructed repository of facts Part of an information system Information System Provides data collection, storage, and retrieval Facilitates data transformation Components include: People Hardware Software Database(s) Application programs Procedures Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel

The Information System (Con’t.) System Analysis Establishes need and extent of an information system Systems development Process of creating information system Database development Process of database design and implementation Creation of database models Implementation Creating storage structure Loading data into database Providing for data management Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel

Systems Development Life Cycle Figure 6.2 Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel

Database Lifecycle (DBLC) Figure 6.3 Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel

Phase 1: Database Initial Study Purposes Analyze company situation Operating environment Organizational structure Define problems and constraints Define objectives Define scope and boundaries Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel

Initial Study Activities Figure 6.4 Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel

Phase 2: Database Design Most Critical DBLC phase Makes sure final product meets requirements Focus on data requirements Subphases Create conceptual design DBMS software selection Create logical design Create physical design Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel

Two Views of Data Figure 6.5 Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel

I. Conceptual Design Data modeling creates abstract data structure to represent real-world items High level of abstraction Four steps Data analysis and requirements Entity relationship modeling and normalization Data model verification Distributed database design Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel

Data analysis and Requirements Focus on: Information needs Information users Information sources Information constitution Data sources Developing and gathering end-user data views Direct observation of current system Interfacing with systems design group Business rules Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel

Entity Relationship Modeling and Normalization Table 6.2 Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel

E-R Modeling is Iterative Figure 6.8 Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel

Concept Design: Tools and Sources Figure 6.9 Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel

Data Model Verification E-R model is verified against proposed system processes End user views and required transactions Access paths, security, concurrency control Business-imposed data requirements and constraints Reveals additional entity and attribute details Define major components as modules Cohesivity Coupling Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel

E-R Model Verification Process Table 6.4 Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel

Iterative Process of Verification Figure 6.10 Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel

Distributed Database Design Design portions in different physical locations Development of data distribution and allocation strategies Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel

II. DBMS Software Selection DBMS software selection is critical Advantages and disadvantages need study Factors affecting purchasing decision Cost DBMS features and tools Underlying model Portability DBMS hardware requirements Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel

III. Logical Design Translates conceptual design into internal model Maps objects in model to specific DBMS constructs Design components Tables Indexes Views Transactions Access authorities Others Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel

IV. Physical Design Selection of data storage and access characteristics Very technical More important in older hierarchical and network models Becomes more complex for distributed systems Designers favor software that hides physical details Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel

Physical Organization Figure 6.12 Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel

Phase 3: Implementation and Loading Creation of special storage-related constructs to house end-user tables Data loaded into tables Other issues Performance Security Backup and recovery Integrity Company standards Concurrency controls Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel

Phase 4: Testing and Evaluation Database is tested and fine-tuned for performance, integrity, concurrent access, and security constraints Done in parallel with application programming Actions taken if tests fail Fine-tuning based on reference manuals Modification of physical design Modification of logical design Upgrade or change DBMS software or hardware Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel

Phase 5: Operation Database considered operational Starts process of system evaluation Unforeseen problems may surface Demand for change is constant Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel

Phase 6: Maintenance and Evaluation Preventative maintenance Corrective maintenance Adaptive maintenance Assignment of access permissions Generation of database access statistics to monitor performance Periodic security audits based on system-generated statistics Periodic system usage-summaries Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel

DB Design Strategy Notes Top-down 1) Identify data sets 2) Define data elements Bottom-up 1) Identify data elements 2) Group them into data sets Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel

Top-Down vs. Bottom-Up Figure 6.14 Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel

Centralized vs. Decentralized Design Typical of simple databases Conducted by single person or small team Decentralized design Larger numbers of entities and complex relations Spread across multiple sites Developed by teams Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel

Decentralized Design Figure 6.16 Database Systems: Design, Implementation, & Management, 5th Edition, Rob & Coronel