databases ? 2014, fall pusan national university ki-joune li

7
Databases ? 2014, Fall Pusan National University Ki-Joune Li

Upload: melvyn-russell

Post on 29-Dec-2015

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Databases ? 2014, Fall Pusan National University Ki-Joune Li

Databases ?2014, Fall

Pusan National UniversityKi-Joune Li

Page 2: Databases ? 2014, Fall Pusan National University Ki-Joune Li

2

Questions

• Q1 – Describe actual political situation in Korea.• Q2 – Make it machine-understandable.

Page 3: Databases ? 2014, Fall Pusan National University Ki-Joune Li

3

Overview on Databases

Computer World

Real World

phase 1 phase 2

understanding modeling

implementation design and coding

Application Management

phase 3

Page 4: Databases ? 2014, Fall Pusan National University Ki-Joune Li

4

Comparison with Software Lifecycle

Requirement Analysis

Functional Specification

Design

Development Environments

Coding

Test

Maintenance

Software Life Cycle – Waterfall Model

Requirement Analysis

Modeling

Schema Design

DB Environments

Data Collection and Input

Quality Control

Management and Retrieval

DB Life Cycle

part I

part II

part III

Page 5: Databases ? 2014, Fall Pusan National University Ki-Joune Li

5

Plan

• Part I – Data Modelingo Understanding it in formal wayso Object-Oriented Data Model (UML Class Diagram)o Relational Data Model (E-R Model)

• Part II – Database Designo Relational Database Schema Design

• Part III – Query Languageo SQL

• Part IV – Semi-Structured Data Modelo XML

Page 6: Databases ? 2014, Fall Pusan National University Ki-Joune Li

6

Two different aspects of DB

Logical (or Conceptual) Representation

Physical RepresentationHow to physically organize

data in file systems DBMS Issue

How to conceptually understand and describe

information Database IssueIndependence

Applications are developedon the conceptual understanding

of real worldApplications

Page 7: Databases ? 2014, Fall Pusan National University Ki-Joune Li

7

Three Level Schema of Databases

Logical (or Conceptual) Representation

Physical Representation

Independence

Applications

Physical level (schema)

Conceptual level (schema)

External level (schema)

File Processing in Spring Semester