February 23 , 20 02 Dr. A. K. Ramani 1 DESIGN METHODS In previous section – General steps in DB development process , ISA ,EDM – Database Architectures Aim Design of conceptual Data Model Objectives • Understand – Conceptual Data Modeling – Concepts of E-R Modeling – Model Example & Limitations RECAP
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
February 23 , 2002 Dr. A. K. Ramani 11
DESIGN METHODS
In previous section– General steps in DB development process , ISA ,EDM
– Database Architectures
AimDesign of conceptual Data Model
Objectives
• Understand – Conceptual Data Modeling
– Concepts of E-R Modeling
– Model Example & Limitations
RECAPRECAP
February 23 , 2002 Dr. A. K. Ramani 22
DESIGN METHODS
Purpose:– create detailed specification of internal documents and tasks from
the EDMInput:
– EDM, usage statistics, and other information gathered during the analysis
Output:– ER-Diagram, Data Representation, Constraints, Task
DecompositionsTechniques:
– data modeling – top-down decomposition of tasks until their specification is
sufficiently detailed to allow a programmer to implement them– task decomposition may result in tasks replacing the original task or
in subtasks controlled by the original taskTools: ER-Model
APPROACHAPPROACH
February 23 , 2002 Dr. A. K. Ramani 33
DESIGN METHODS
To build a
What is 1st Step ?What are the choices,Why ?• User Requirements
- User is not sure - Precise specification is difficult
• Communication Problems- Analyst & user communication- User not willing to take responsibility
Technical - Skills of modeler - Design Methodology – Non
Standard
CONCEPTUAL MODELCONCEPTUAL MODEL
February 23 , 2002 Dr. A. K. Ramani 44
DESIGN METHODS
Feasibility study
Requirement Analysis & Specifications
Data Modeling Process Modeling
Implementation Prototyping Testing
DESIGN APPROACHDESIGN APPROACH
February 23 , 2002 Dr. A. K. Ramani 55
DESIGN METHODS
Requirements Collection & Analysis
Conceptual Design (G)
Logical Design (Blue Print)
Physical Design
Application Design
Methods Req. Collection
Conceptual Model
Data Base System
DBMS
Tools , OS
Requirements Specs
Conceptual Database Model
Logical Models Performance Tests
Final Schema
Application PGMS
DESIGN PHASESDESIGN PHASES
February 23 , 2002 Dr. A. K. Ramani 66
DESIGN METHODS
Conceptual Design
Logical Design
Physical Design
Application Design
Requirement Collection & Analysis
C,Windows,Power Builder
ORACLE
Relational DBs
ER & ERR Model
Questionnaire & Interview
DESIGN METHODSDESIGN METHODS
February 23 , 2002 Dr. A. K. Ramani 77
DESIGN METHODS
• Models can be useful when we want to examine or manage part of the real world
• The costs of using a model are often considerably lower than the costs of using or experimenting with the real world itself
• Examples:– airplane simulator– nuclear power plant simulator– flood warning system– model of US economy– model of a heat reservoir– map
WHY TO USE MODELWHY TO USE MODEL
February 23 , 2002 Dr. A. K. Ramani 88
DESIGN METHODS
A Map Is a Model of Reality
MODEL OF REALITYMODEL OF REALITY
February 23 , 2002 Dr. A. K. Ramani 99
DESIGN METHODS
• A model is a means of communication• Users of a model must have a certain amount of
knowledge in common• A model on emphasized selected aspects• A model is described in some language• A model can be erroneous• A message to map makers: “Highways are not
painted red, rivers don’t have county lines running down the middle, and you can’t see contour lines on a mountain” [Kent 78]
MODEL TO RAISE QUESTIONMODEL TO RAISE QUESTION
February 23 , 2002 Dr. A. K. Ramani 1010
DESIGN METHODS
– A process that construct an abstract model which represents the entities,relationships and activities of an enterprise of real world
– Putting a Real World Object on to Paper
Purpose of model is to sharpen the question
MYCOM.COM
US $ 10 b
MCA/MMS
IIPS
CONCEPTUAL MODELINGCONCEPTUAL MODELING
February 23 , 2002 Dr. A. K. Ramani 1111
DESIGN METHODS
Why Conceptual Modeling ?• Obtain better understanding of business• Enable the end-user communication• Discover design errors at early stage• Build a Solid Foundation• Ensure the quality• A DBMS independent DB designWhat to Model ?• Static information
– Data - Entities– Associations - Relationship among entities
• Dynamic Information– Process – operations/transactions– Integrity constraints – Business Rules / Regulations
CONCEPTUAL MODELINGCONCEPTUAL MODELING
February 23 , 2002 Dr. A. K. Ramani 1212
DESIGN METHODS
• Process - Oriented Approach– Focus on activities, process & operations
Data Flow Diagram
• Data – Oriented Approach– Focus on data & their relationship– Characteristics of Data captured– Data more complex than process– Rich data source is the GOAL– Data is more stable than process– Data Orientation - Longer life
• Object – Oriented ApproachCombine data and process
• How is an entity linked to relationship ? [Participation]
• How many relationship instances is an entity permitted to be linked to ? [cardinality]
• Relationship instance is an association between entity instances, where each instance includes exactly one entity from each participating entity type
Student Advise Faculty
Akr
Trupti
Kris
Ram
Mohan
Singh
JUSTIFICATIONJUSTIFICATION
February 23 , 2002 Dr. A. K. Ramani 2121
DESIGN METHODS
E1E2R
min,max min,max
Participation
0 – Partial
1 - Total
Cardinality
1 - - One
M - - More than One
O - - One
Advise Faculty
X
Z
Y
A
B
CD
Student
CARDINALITY AND PARTICIPATIONCARDINALITY AND PARTICIPATION