Professional Documents
Culture Documents
Omkar Basnet
CDCSIT, Kirtipur , KTM.
Objectives of today’s lecture
User Decisions
Knowledge Actions
Data Information
Electronic Data
•Why?
• Large volume in a small space
• Ease of sharing
• Ease of use
• Data analysis
•How?
• File-based system versus databases
Legacy (File-based) Systems
• Access definition
• Global
• Local
• Uniform access authorization
Data Redundancy
• Increase in productivity
• User-friendly interface
• Independence from specific data structure
• Easier maintenance
• Less code to maintain
• The DBMS is the bulk of the code.
• Ad-hoc queries make it possible to make do with
much less code.
• The vendor makes revisions of the DBMS.
• Economy of scale
DBMS Functions and Users
Database
Client/Server Database Systems
Client
Client
Database
Server
Distributed Database Systems
Database
Server
Database Database
Server Server
Summary
• Process Models
• Overview of process components
• Inputs and outputs of different processes
• Data sources and destinations
• Mode of data flow between processes
• Data Models
• Model only the data, no process
• Different components of the data
• Relationships between primary data components
why model?
•If you cannot model, you cannot
comprehend(understand), and if
you cannot comprehend, you
cannot control
•Dual goal:
•Analysis and conceptualization
•Presentation
Models and method
•A model
•describes business or organization
•separates operation from technology
•Good modeling requires good
methodologies
•encompass data, process, decisions
•richly expressive and provide for levels of
analysis
•simple representation
Overview of Data Modeling
•Conceptual design: (ER Model is used at
this stage.)
• What are the entities and relationships in the
enterprise?
• What information about these entities and
relationships should we store in the database?
• What are the integrity constraints or business
rules that hold?
• A database `schema’ in the ER Model can be
represented pictorially (ER diagrams).
• Can map an ER diagram into a relational
schema.
ER Model Basics (Contd.)
• Relationship: Association among two or more entities. E.g., Attishoo
works in Pharmacy department.
• Relationship Set: Collection of similar relationships.
• An n-ary relationship set R relates n entity sets E1 ... En; each
relationship in R involves entities e1 E1, ..., en En
• Same entity set could participate in different relationship sets, or in
different “roles” in same set.
since
name dname