1/26/2004TCSS545A Isabelle Bichindaritz1 Database Management Systems Design Methodology.

Slides:



Advertisements
Similar presentations
Database Planning, Design, and Administration
Advertisements

Database Systems: A Practical Approach to Design, Implementation and Management International Computer Science S. Carolyn Begg, Thomas Connolly Lecture.
Chapter Physical Database Design Methodology Software & Hardware Mapping Logical Design to DBMS Physical Implementation Security Implementation Monitoring.
Chapter 6 Methodology Conceptual Databases Design Transparencies © Pearson Education Limited 1995, 2005.
Chapter 6 Database Design
Physical Database Monitoring and Tuning the Operational System.
1 Methodology : Conceptual Databases Design © Pearson Education Limited 1995, 2005.
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 9 Database Design
Lecture 9 – Database Design
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.
Methodology Conceptual Database Design
Lecture Nine Database Planning, Design, and Administration
Modeling & Designing the Database
Chapter 17 Methodology – Physical Database Design for Relational Databases Transparencies © Pearson Education Limited 1995, 2005.
© Pearson Education Limited, Chapter 12 Physical Database Design – Step 3 (Translate Logical Design) Transparencies.
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.
Chapter 9 Database Planning, Design, and Administration Sungchul Hong.
Database System Development Lifecycle © Pearson Education Limited 1995, 2005.
Overview of the Database Development Process
Chapters 17 & 18 Physical Database Design Methodology.
ITEC224 Database Programming
Lecture 9 Methodology – Physical Database Design for Relational Databases.
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 Introduction to Database Systems. 2 Database and Database System / A database is a shared collection of logically related data designed to meet the.
Methodology - Conceptual Database Design Transparencies
Software School of Hunan University Database Systems Design Part III Section 5 Design Methodology.
Methodology Conceptual Databases Design
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.
CSCI 3140 Module 2 – Conceptual Database Design Theodore Chiasson Dalhousie University.
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.
Physical Database Design Chapter 6. Physical Design and implementation 1.Translate global logical data model for target DBMS  1.1Design base relations.
Chapter 16 Methodology – Physical Database Design for Relational Databases.
9/19/2012ISC329 Isabelle Bichindaritz1 Conceptual Data 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.
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
10/10/2012ISC239 Isabelle Bichindaritz1 Physical Database Design.
Chapter 8 Methodology - Conceptual Database Design Chapter 15 in Textbook.
Methodology - Conceptual Database Design
Part4 Methodology of Database Design Chapter 07- Overview of Conceptual Database Design Lu Wei College of Software and Microelectronics Northwestern Polytechnical.
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.
B. Information Technology (Hons.) CMPB245: Database Design Physical Design.
Logical Design 12/10/2009GAK1. Learning Objectives How to remove features from a local conceptual model that are not compatible with the relational model.
IST 210 Database Design Process IST 210, Section 1 Todd S. Bacastow January 2004.
April 20022/CS/3X1 Database Design Design method John Wordsworth Department of Computer Science The University of Reading Room.
Methodology Conceptual Databases Design
ITEC 3220A Using and Designing Database Systems
Methodology Conceptual Database Design
Chapter Design Methodology Pearson Education © 2009.
Chapter 6 Database Design
Methodology – Physical Database Design for Relational Databases
Conceptual Database Design
Methodology Conceptual Databases Design
Presentation transcript:

1/26/2004TCSS545A Isabelle Bichindaritz1 Database Management Systems Design Methodology

1/26/2004TCSS545A Isabelle Bichindaritz2 Objectives Purpose of a design methodology. Database design has three main phases: conceptual, logical, and physical design. How to use ER modeling to build a local conceptual data model based on information given in a view of the enterprise. How to document process of conceptual database design.

1/26/2004TCSS545A Isabelle Bichindaritz3 Design Methodology Structured approach that uses procedures, techniques, tools, and documentation aids to support and facilitate the process of design. Database design methodology has 3 main phases: –Conceptual database design; –Logical database design; –Physical database design.

1/26/2004TCSS545A Isabelle Bichindaritz4 Preliminary Phase : Database Initial Study Purposes –Analyze company situation Operating environment Organizational structure –Define problems and constraints –Define objectives –Define scope and boundaries

1/26/2004TCSS545A Isabelle Bichindaritz5 What are business rules, what is their source, and why are they crucial? Business rules are precise statements, derived from a detailed description of the organization's operations, that define one or more of the following modeling components: –entities - in the E-R model corresponds to a table –relationships – are associations between entities –attributes – are characteristics of entities –connectivities – are used to describe the relationship classification –cardinalities – express the specific number of entity occurrences associated with one occurrence of the related entity –constraints – limitations on the type of data accepted Business Rules

1/26/2004TCSS545A Isabelle Bichindaritz6 Data –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 Changing Data into Information

1/26/2004TCSS545A Isabelle Bichindaritz7 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 The Information System

1/26/2004TCSS545A Isabelle Bichindaritz8 System Analysis –Establishes need and extent of an information system System 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 The Information System

1/26/2004TCSS545A Isabelle Bichindaritz9 Figure 6.3 Database Lifecycle (DBLC)

1/26/2004TCSS545A Isabelle Bichindaritz10 Initial Study Activities

1/26/2004TCSS545A Isabelle Bichindaritz11 Use case diagram

1/26/2004TCSS545A Isabelle Bichindaritz12 Conceptual/Logical Database Design Conceptual database design –Process of constructing a model of information used in an enterprise, independent of all physical considerations. Logical database design –Process of constructing a model of information used in an enterprise based on a specific data model (e.g. relational), but independent of a particular DBMS and other physical considerations.

1/26/2004TCSS545A Isabelle Bichindaritz13 Physical Database Design Process of producing a description of the implementation of the database on secondary storage; it describes the base relations, file organizations, and indexes design used to achieve efficient access to the data, and any associated integrity constraints and security measures.

1/26/2004TCSS545A Isabelle Bichindaritz14 Critical Success Factors in Database Design Work interactively with users as much as possible. Follow a structured methodology throughout the data modeling process. Employ a data-driven approach. Incorporate structural and integrity considerations into the data models. Combine conceptualization, normalization, and transaction validation techniques into the data modeling methodology.

1/26/2004TCSS545A Isabelle Bichindaritz15 Critical Success Factors in Database Design Use diagrams to represent as much of the data models as possible. Use a Database Design Language (DBDL) to represent additional data semantics. Build a data dictionary to supplement the data model diagrams. Be willing to repeat steps.

1/26/2004TCSS545A Isabelle Bichindaritz16 Methodology Overview - Conceptual Database Design Step 1 Build local conceptual data model for each user view –Step 1.1 Identify entity types –Step 1.2 Identify relationship types –Step 1.3 Identify and associate attributes with entity or relationship types –Step 1.4 Determine attribute domains –Step 1.5 Determine unique identifier (will become a key) attributes –Step 1.6 Consider use of enhanced modeling concepts (optional step) –Step 1.7 Check model for redundancy –Step 1.8 Validate local conceptual model against user transactions –Step 1.9 Review local conceptual data model with user

1/26/2004TCSS545A Isabelle Bichindaritz17 Class diagram

1/26/2004TCSS545A Isabelle Bichindaritz18 Methodology Overview - Logical Database Design for Relational Model Step 2 Build and validate local logical data model for each view –Step 2.1 Remove features not compatible with the relational model (optional step) –Step 2.2 Derive relations for local logical data model –Step 2.3 Validate relations using normalization –Step 2.4 Validate relations against user transactions –Step 2.5 Define integrity constraints –Step 2.6 Review local logical data model with user

1/26/2004TCSS545A Isabelle Bichindaritz19 Methodology Overview - Logical Database Design for Relational Model Step 3 Build and validate global logical data model –Step 3.1 Merge local logical data models into global model –Step 3.2 Validate global logical data model against the conceptual data model –Step 3.3 Check for future growth –Step 3.4 Review global logical data model with users

1/26/2004TCSS545A Isabelle Bichindaritz20 Methodology Overview - Physical Database Design for Relational Databases Step 4 Translate global logical data model for target DBMS –Step 4.1 Design base relations –Step 4.2 Design representation of derived data –Step 4.3 Design enterprise constraints Step 5 Design physical representation –Step 5.1 Analyze transactions –Step 5.2 Choose file organization –Step 5.3 Choose indexes –Step 5.4 Estimate disk space requirements

1/26/2004TCSS545A Isabelle Bichindaritz21 Methodology Overview - Physical Database Design for Relational Databases Step 6 Design user views Step 7 Design security mechanisms Step 8 Consider the introduction of controlled redundancy Step 9 Monitor and tune the operational system

1/26/2004TCSS545A Isabelle Bichindaritz22 Extract from Data Dictionary for Staff View of DreamHome Showing Description of Entities

1/26/2004TCSS545A Isabelle Bichindaritz23 First-cut ER diagram for Staff View of DreamHome

1/26/2004TCSS545A Isabelle Bichindaritz24 Extract from Data Dictionary for Staff View of DreamHome Showing Description of Relationships

1/26/2004TCSS545A Isabelle Bichindaritz25 Extract from Data Dictionary for Staff View of DreamHome Showing Description of Attributes

1/26/2004TCSS545A Isabelle Bichindaritz26 ER Diagram for Staff View of DreamHome with Unique Identifiers Added

1/26/2004TCSS545A Isabelle Bichindaritz27 Revised ER Diagram for Staff View of DreamHome with Specialization / Generalization

1/26/2004TCSS545A Isabelle Bichindaritz28 Example of a Non-Redundant Relationship FatherOf

1/26/2004TCSS545A Isabelle Bichindaritz29 Using Pathways to Check that the Conceptual Model Supports the User Transactions