Databases : Database Building Procedures 2007, Fall Pusan National University Ki-Joune Li.

Slides:



Advertisements
Similar presentations
MSc IT UFCE8K-15-M Data Management Prakash Chatterjee Room 2Q18
Advertisements

1 Review Visual System Modeling Tools Todd Bacastow Penn State University Geospatial System Analysis & Design.
Introduction to UML Todd Bacastow Penn State University Geography 583 Geospatial System Analysis & Design.
Ch 12: Object-Oriented Analysis
ETEC 100 Information Technology
Database Design Conceptual –identify important entities and relationships –determine attribute domains and candidate keys –draw the E-R diagram Logical.
1 Review #1 l Intro stuff –What is a database, 4 parts, 3 users, etc. l Architecture –Data independence –Three levels, two mappings –Jobs of the DBA.
PROCESS MODELING Transform Description. A model is a representation of reality. Just as a picture is worth a thousand words, most models are pictorial.
Database Systems Design, Implementation, and Management Coronel | Morris 11e ©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or.
Introduction and Conceptual Modeling
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Database Design & ER Diagrams
Introduction to Entity-Relationship Diagrams, Data Flow Diagrams, and UML Todd Bacastow Penn State University Geography 583 Geospatial System Analysis.
Training of master Trainers Workshop e-Services Design and Delivery
UML Overview. UML Diagrams to be Covered Class Diagrams Use Case Diagrams Collaboration Diagrams Sequence Diagrams Package Diagrams Component Diagrams.
Chapter 1: The Database Environment and Development Process
Systems Analysis and Design in a Changing World, Fifth Edition
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 7 Slide 1 System models l Abstract descriptions of systems whose requirements are being.
System models Abstract descriptions of systems whose requirements are being analysed Abstract descriptions of systems whose requirements are being analysed.
ITEC224 Database Programming
Database Technical Session By: Prof. Adarsh Patel.
Databases ? 2014, Fall Pusan National University Ki-Joune Li.
9/14/2012ISC329 Isabelle Bichindaritz1 Database System Life Cycle.
1 Chapter 15 Methodology Conceptual Databases Design Transparencies Last Updated: April 2011 By M. Arief
Concepts and Terminology Introduction to Database.
CODD’s 12 RULES OF RELATIONAL DATABASE
Spatial Databases: Data Collection Spring, 2015 Ki-Joune Li.
Lecture 7 Integrity & Veracity UFCE8K-15-M: Data Management.
5 Systems Analysis and Design in a Changing World, Fourth Edition.
Chapter 2 Data Models Database Systems: Design, Implementation, and Management, Rob and Coronel Adapted for INFS-3200.
Object Oriented Analysis and Design 1 Chapter 7 Database Design  UML Specification for Data Modeling  The Relational Data Model and Object Model  Persistence.
Mid term Exam COVERS chapters 1-3, 7-8 Two parts In class Take home part (given on Oct 29 th, Due Nov5th in class)
Spatial Databases: Building Spatial DB Spring, 2015 Ki-Joune Li.
System models l Abstract descriptions of systems whose requirements are being analysed.
Databases : Data Modeling 2007, Fall Pusan National University Ki-Joune Li.
Slide Chapter 5 The Relational Data Model and Relational Database Constraints.
Rupa Tiwari, CSci5980 Fall  Course Material Classification  GIS Encyclopedia Articles  Classification Diagram  Course – Encyclopedia Mapping.
5 Systems Analysis and Design in a Changing World, Fifth Edition.
Spatial Databases - Introduction Spring, 2015 Ki-Joune Li.
SE305 Database System Technology 23/10/2014 Quiz-2.
Information Access Mgt09/12/971 Entity-Relationship Design Information Level Design.
DES715 – Database Design Conceptual design. Database Life Cycle Database initial study Database design Implementation Testing Operation Maintenance.
Introduction to UML Todd Bacastow Rational Unified Process A process for the effective implementation of key “Best Practices” Control Changes Manage.
1 More About UML Todd Bacastow Penn State University Geospatial System Analysis & Design.
25/2/16. Software Design (UML) ClassName attributes operations A class is a description of a set of objects that share the same attributes, Operations.
Database Planning Database Design Normalization.
1 Documenting Solutions Todd Bacastow Penn State University Geog 468 GIS Analysis & Design.
What is a database? (a supplement, not a substitute for Chapter 1…) some slides copied/modified from text Collection of Data? Data vs. information Example:
Geographic Information Systems GIS Data Databases.
5 Systems Analysis and Design in a Changing World, Fourth Edition.
Database Systems: Design, Implementation, and Management Tenth Edition
Database Development Lifecycle
DATA REQIREMENT ANALYSIS
ITEC 3220A Using and Designing Database Systems
Spatial Databases: Building Spatial DB
Quiz Questions Q.1 An entity set that does not have sufficient attributes to form a primary key is a (A) strong entity set. (B) weak entity set. (C) simple.
Abstract descriptions of systems whose requirements are being analysed
Object-Oriented Design of Spatial Entities Todd Bacastow
Chapter 6 Normalization of Database Tables
CHAPTER 1: THE DATABASE ENVIRONMENT AND DEVELOPMENT PROCESS
2018, Fall Pusan National University Ki-Joune Li
Spatial Databases: Building Spatial DB
Spatial Databases - Introduction
Data Model.
Business Application Development
Spatial Databases: Building Spatial DB
CHAPTER 1: THE DATABASE ENVIRONMENT AND DEVELOPMENT PROCESS
Spatial Databases - Introduction
Review #1 Intro stuff What is a database, 4 parts, 3 users, etc.
Geographic Information Systems
Presentation transcript:

Databases : Database Building Procedures 2007, Fall Pusan National University Ki-Joune Li

STEMPNU 2 Importance of Database Application of Databases Garbage-In Garbage-Out About 70% of Development Cost for Information System: DB Cost

STEMPNU 3 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 Maintenance DB Life Cycle

STEMPNU 4 Requirement Analysis Analysis of Status  as it is and  as it shall be. Output of Analysis  Use-Case Diagram of UML: Workflow Analysis  Data items that have been maintained and to be maintained  Description of each item: Data Dictionary  Relationships and Constraints on items  Required Correctness Example: Spatial Correctness, Temporal Correctness Current State: As it isAs it must be

STEMPNU 5 Data Dictionary Definitions and Representation of Data Items such as  Precise definition of data elements  Integrity constraints or Constrains  Stored procedures and trigger rules  Specification of Producer and Consumer of data element Why it is so important?  Common understanding on data items  Consistency of databases  Important input to data modeling

STEMPNU 6 Data Modeling  Understanding the real world and application  A very small piece of the real world According to viewpoint Determined by applications  Drawing what you have understood in formal method Class Diagram in UML 4 steps  Definition of Entities  Attributes of each Entity  Relationships  Constraints

STEMPNU 7 Class Diagram: Basic DVD MovieVHS MovieVideo Game Rental Item {abstract} Rental Invoice 1..* 1 Customer Checkout Screen Simple Association Class Abstract Class Simple Aggregation Generalization Composition (Dependency) Multiplicity MyClassName +SomePublicAttribute : SomeType -SomePrivateAttribute : SomeType #SomeProtectedAttribute : SomeType +ClassMethodOne() +ClassMethodTwo() Responsibilities -- can optionally be described here.

STEMPNU 8 Extract nouns from  Problem statement  Use-Case Diagram Delete unnecessary entities  Duplication  Attributes rather than entity ex. Loan amount Definition of Features  Geographic Entity  Granularity Definition of Entities MyClassName

STEMPNU 9 Definition of Attributes Attributes of Entity  Description of Entity Photo Images, Names, and etc..  Values Accuracy Level  Different Levels of Detail (LOD) MyClassName +SomePublicAttribute : SomeType -SomePrivateAttribute : SomeType #SomeProtectedAttribute : SomeType

STEMPNU 10 Relationship  Relationship between entities  Relationship may have its attributes Example: Male  marriage  Female marriage:

STEMPNU 11 Constraints Conditions  Entity must respect  Relationship must respect Example  Doctor  Operation  Patient Doctor.Major = “Surgeon”

STEMPNU 12 Schema Design Automatic Conversion from Data Modeling to Schema Check Points: Performance Issues  Materialization  Index Based on Workload Analysis  Distribution of operations  Distribution of values

STEMPNU 13 Materialization In SQL, view is a virtual table derived from a Select statement  Eample CREATE VIEW ExcellentStudents AS SELECT Name, Department, Score FROM Students WHERE Score > 4.0 SELCT Name FROM ExcellentStudents Where Department=‘CS’ Invoke ExcellentStudents Materialization

STEMPNU 14 Materialize or Not ? Materialization  Duplication Not 3NF (BCNF): to be discussed at the end of this course Cause an inconsistency between the original and derived tables Update: Overhead due to update propagation  Extra Space Requirements Should be determined depending on the WORKLOAD  Frequency of updates  Cost for update propagation Especially when materialized view is geographically distributed