DATABASE DESIGN. - Developing database and information systems is performed using a development lifecycle, which consists of a series of steps.



Similar documents
THE ENTITY- RELATIONSHIP (ER) MODEL CHAPTER 7 (6/E) CHAPTER 3 (5/E)

Chapter 7 Data Modeling Using the Entity- Relationship (ER) Model

Unit 2.1. Data Analysis 1 - V Data Analysis 1. Dr Gordon Russell, Napier University

Modern Systems Analysis and Design

Data Analysis 1. SET08104 Database Systems. Napier University

CSC 742 Database Management Systems

Database Management Systems

Database Design Process

Database Design Process

Designing a Database Schema

Bridge from Entity Relationship modeling to creating SQL databases, tables, & relations

7.1 The Information system

The Entity-Relationship Model

The Entity-Relationship Model

not necessarily strictly sequential feedback loops exist, i.e. may need to revisit earlier stages during a later stage

COMP 378 Database Systems Notes for Chapter 7 of Database System Concepts Database Design and the Entity-Relationship Model

Lesson 8: Introduction to Databases E-R Data Modeling

1 Class Diagrams and Entity Relationship Diagrams (ERD)

Entity/Relationship Modelling. Database Systems Lecture 4 Natasha Alechina

Databases Model the Real World. The Entity- Relationship Model. Conceptual Design. Steps in Database Design. ER Model Basics. ER Model Basics (Contd.

Overview. Physical Database Design. Modern Database Management McFadden/Hoffer Chapter 7. Database Management Systems Ramakrishnan Chapter 16

Database Design Methodology

SCHEMAS AND STATE OF THE DATABASE

Database Design Overview. Conceptual Design ER Model. Entities and Entity Sets. Entity Set Representation. Keys

Lecture Notes INFORMATION RESOURCES

We know how to query a database using SQL. A set of tables and their schemas are given Data are properly loaded

Foundations of Information Management

Database Administrator [DBA]

Databases and BigData

COMHAIRLE NÁISIÚNTA NA NATIONAL COUNCIL FOR VOCATIONAL AWARDS PILOT. Consultative Draft Module Descriptor. Relational Database

Chapter 10. Practical Database Design Methodology. The Role of Information Systems in Organizations. Practical Database Design Methodology

A brief overview of developing a conceptual data model as the first step in creating a relational database.

LOGICAL DATABASE DESIGN

2. Conceptual Modeling using the Entity-Relationship Model

Information Management

Introduction to Database Systems CS4320/CS5320. CS4320/4321: Introduction to Database Systems. CS4320/4321: Introduction to Database Systems

Outline. Data Modeling. Conceptual Design. ER Model Basics: Entities. ER Model Basics: Relationships. Ternary Relationships. Yanlei Diao UMass Amherst

Chapter 3. Data Modeling Using the Entity-Relationship (ER) Model


XV. The Entity-Relationship Model

Conceptual Design Using the Entity-Relationship (ER) Model

Swirl. Multiplayer Gaming Simplified. CS4512 Systems Analysis and Design. Assignment Marque Browne Manuel Honegger

Database Design. Database Design I: The Entity-Relationship Model. Entity Type (con t) Chapter 4. Entity: an object that is involved in the enterprise

The Information System Lifecircle

Chapter 1: Introduction. Database Management System (DBMS)

A Tool for Generating Relational Database Schema from EER Diagram

14 Databases. Source: Foundations of Computer Science Cengage Learning. Objectives After studying this chapter, the student should be able to:

Business Database Systems

Entity-Relationship Model

Database Design Process. Databases - Entity-Relationship Modelling. Requirements Analysis. Database Design

Chapter 10 Practical Database Design Methodology and Use of UML Diagrams

Lecture 6. SQL, Logical DB Design

Entity Relationship Diagram

CS 4604: Introduc0on to Database Management Systems. B. Aditya Prakash Lecture #5: En-ty/Rela-onal Models- - - Part 1

THE OPEN UNIVERSITY OF TANZANIA FACULTY OF SCIENCE TECHNOLOGY AND ENVIRONMENTAL STUDIES BACHELOR OF SIENCE IN DATA MANAGEMENT

D6 INFORMATION SYSTEMS DEVELOPMENT. SOLUTIONS & MARKING SCHEME. June 2013

three Entity-Relationship Modeling chapter OVERVIEW CHAPTER

EXTENDED LEARNING MODULE A

Unit 5: Object-Role Modeling (ORM)

Why Data Flow Diagrams?

Conceptual Design: Entity Relationship Models. Objectives. Overview

Chapter 2: Entity-Relationship Model

CHAPTER 6 DATABASE MANAGEMENT SYSTEMS. Learning Objectives

Data Modeling Basics

Introduction to database management systems

IV. The (Extended) Entity-Relationship Model

IT2305 Database Systems I (Compulsory)

Chapter 2: Entity-Relationship Model. E-R R Diagrams

Fundamentals of Database System

Lecture 12: Entity Relationship Modelling

Database Systems Introduction Dr P Sreenivasa Kumar

B2.2-R3: INTRODUCTION TO DATABASE MANAGEMENT SYSTEMS

Relational Database Basics Review

Database System Concepts

MIDTERM #2: INFORMATION SYSTEMS (INDE499B) Dr. Jennifer Turns Autumn a. Total Time: You will have a total of 50 minutes for this midterm.

IT2304: Database Systems 1 (DBS 1)

A. Waterfall Model - Requirement Analysis. System & Software Design. Implementation & Unit Testing. Integration & System Testing.

Chapter 2. Data Model. Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel

Fundamentals of Information Systems, Fifth Edition. Chapter 8 Systems Development

Concepts of Database Management Eighth Edition. Chapter 1 Introduction to Database Management

The Relational Model. Ramakrishnan&Gehrke, Chapter 3 CS4320 1

Business Definitions for Data Management Professionals

Problems and Measures Regarding Waste 1 Management and 3R Era of public health improvement Situation subsequent to the Meiji Restoration

BİL 354 Veritabanı Sistemleri. Entity-Relationship Model

Database Design. Marta Jakubowska-Sobczak IT/ADC based on slides prepared by Paula Figueiredo, IT/DB

Domain Knowledge Extracting in a Chinese Natural Language Interface to Databases: NChiql

Database Design Final Project

Software Engineering. Requirements elicitation - Facts finding. Software Engineering Requirements Elicitation Slide 1

Chapter 2: Entity-Relationship Model. Entity Sets. " Example: specific person, company, event, plant

Chapter 2 Database System Concepts and Architecture

Introduction to Computing. Lectured by: Dr. Pham Tran Vu

2. Basic Relational Data Model

DATABASE DEVELOPMENT LIFE CYCLE

Foundations of Information Management

Database Management Systems and GIS Design

THE OPEN UNIVERSITY OF TANZANIA FACULTY OF SCIENCE TECHNOLOGY AND ENVIRONMENTAL STUDIES BACHELOR OF SIENCE IN INFORMATION AND COMMUNICATION TECHNOLOGY

æ A collection of interrelated and persistent data èusually referred to as the database èdbèè.

Transcription:

DATABASE DESIGN - The ability to design databases and associated applications is critical to the success of the modern enterprise. - Database design requires understanding both the operational and business requirements of an organization as well as the ability to model and realize those requirements using a database. - Developing database and information systems is performed using a development lifecycle, which consists of a series of steps.

SPECIFICATION REQUIREMENTS GATHERING The most critical aspect of specification is the gathering and compilation of system and user requirements. This process is normally done in conjunction with managers and users. The major goal in requirements gathering is to: - collect the data used by the organization, - identify relationships in the data, - identify future data needs, - and determine how the data is used and generated. The starting place for data collection is gathering existing forms and reviewing policies and systems. Then, ask users what the data means, and determine their daily processes. These things are especially critical: - Identification of unique fields (keys) - Data dependencies, relationships, and constraints (high-level) - The data sizes and their growth rates

Fact-finding is using interviews and questionnaires to collect facts about systems, requirements, and preferences. Five fact-finding techniques: examining documentation interviewing observing the enterprise in operation research questionnaires Database Design The requirements gathering and specification provides you with a high-level understanding of the organization, its data, and the processes that you must model in the database. Database design involves constructing a suitable model of this information. Since the design process is complicated, especially for large databases, database design is divided into three phases: Conceptual database design Logical database design Physical database design

CONCEPTUAL DATABASE DESIGN Conceptual database design involves modelling the collected information at a high-level of abstraction without using a particular data model or DBMS. REASONS FOR CONCEPTUAL MODELING Independent of DBMS. Allows for easy communication between end-users and developers. Has a clear method to convert from high-level model to relational model. Conceptual schema is a permanent description of the database requirements. ENTITY-RELATIONSHIP MODEL - Most popular conceptual model for database design - Basis for many other models - Describes the data in a system and how that data is related - Describes data as entities, attributes and relationships

DATABASE REQUIREMENTS We must convert the written database requirements into an E-R diagram Need to determine the entities, attributes and relationships. nouns = entities adjectives = attributes verbs = relationships Teaching Database Design an E-R schema for a database to store info about professors, courses and course sections indicating the following: The name and employee ID number, salary and email address(es) of each professor How long each professor has been at the university The course sections each professor teaches The name, number and topic for each course offered The section and room number for each course section Each course section must have only one professor Each course can have multiple sections

WEAK ENTITY Weak entities do not have key attributes of their own. Weak entities cannot exist without a relationship to another entity. A partial key is the portion of the key that comes from the weak entity. The rest of the key comes from the other entity in the relationship. Weak entities always have total participation as they cannot exist without the identifying relationship.

KEYS Candidate key: an attribute or set of attributes that uniquely identifies individual occurrences of an entity type. Primary key: an entity type may have one or more possible candidate keys, one of which is selected to be a primary key. Composite key: A candidate key that consists of two or more attributes.

Degree of relationship: the number of participating entities in a relationship, e. g. binary, ternary etc.