1. Trang chủ
  2. » Giáo án - Bài giảng

Systems analysis and development CIS210 ch 10

10 117 0

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 10
Dung lượng 152,5 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Objectives • Upon completion of part II you will be able to: – Understand and be able to explain the concepts related to key database design terminology – Understand and be able to trans

Trang 1

CIS 210

Systems Analysis and Development

Week 6 Part II

Designing Databases

Trang 2

Objectives

• Upon completion of part II you will be able to:

– Understand and be able to explain the concepts related to key database design terminology

– Understand and be able to transform E-R diagrams into an equivalent set of well-structured and normalized relationships – Understand and be able to merge normalized relations from several user views into a consolidated set of well-structured relations

– Understand and be able to explain the concepts related to

storage formats in database tables

– Understand and be able to translate well-structured relations into efficient database tables

– Understand and be able to explain the concepts related to

different methods of storing data in computer files

Trang 3

• Database Design Guidelines

– Database files

– Logical design

– Physical design

• Design Purposes

– Table structure

– Logical design

– Physical design

– Translate relational database model – Choose storage technologies

Trang 4

Database Design

• Logical Database Design

– Four key steps

• Develop model

• Combine requirements

• Translate conceptual model

• Compare logical model with E-R model

• Physical Database Design

– Use results of logical design

– Attributes

– Descriptions of data

– Expectations

– Descriptions of technologies

• Deliverables

– Normalized relations

– Specifications for computer files

Trang 5

Relational Database Model

• Overview

– Data in the form of tables (relations)

– Named columns

– Unnamed rows

• Properties of Relations

– Simple entries in cells

– Column entries from the same set of values – Unique rows

– Interchanged sequence of columns

– Interchanged sequence of rows

• Well-Structured Relations

– Minimum redundancy

– Modification without inconsistency

Trang 6

• Defining Normalization

– Converting complete structures into simple stable data structures

– Based on well-accepted principles and rules

• Functional Dependence and Primary Keys

• Second Normal Form (2NF)

• Third Normal Form (3NF)

– Foreign key

– Referential integrity

Trang 7

Transforming Diagrams Into Relations

• Represent Entities

– Each entity type becomes a relation

– Identifier becomes primary key

– Other attributes become nonprimary keys

• Represent Relationship

– Each relationship must be represented

• Normalize the Relations

• Merge the Relations

Trang 8

Physical File and Database Design

• Designing Fields

– Choosing data types

• Minimize storage space

• Represent all possible values

• Improve data integrity

• Support data manipulations

– Controlling data integrity

• Default value

• Range control

• Referential integrity

• Null value control

Trang 9

Physical File and Database Design

• Designing Physical Tables

– Overview

• Physical table

• Denormalization

– Arranging table rows

• Sequential file organization

• Indexed file organization

• Hashed file organization

– Designing controls for files

• File restoration techniques

Trang 10

• Logical Database Design

• Normalization

• Transforming Diagrams

• Physical File and Database Design

Ngày đăng: 10/01/2018, 16:22

w