L2 CSC209 2.0 Database Management Systems
L2 CSC209 2.0 Database Management Systems
Presented By:
Surani Tissera(PhD)
Department of Computer Science
CSC 209 2.0 Database Management Systems
This is a property of Department of Computer Science, Faculty of Applied Science, University of Sri Jayewardenepura.
CSC 209 2.0 Database Management Systems
This is a property of Department of Computer Science, Faculty of Applied Science, University of Sri Jayewardenepura.
CSC 209 2.0 Database Management Systems
This is a property of Department of Computer Science, Faculty of Applied Science, University of Sri Jayewardenepura.
CSC 209 2.0 Database Management Systems
Business Rules
● How do modelers go about modeling data? –By understanding
Business Rules!
● Brief, precise, and unambiguous descriptions of a policies,
procedures, or principles within a specific organization
○ –E.g. a student may take up to 21 credits at a time
○ –E.g. each computer account may only be used by one student
● Any organization that stores and uses data to generate information
has business rules (whether they know it or not)
● Business rules are a description of the organization’s operations
● They help to create and enforce actions within that organization’s
environment
This is a property of Department of Computer Science, Faculty of Applied Science, University of Sri Jayewardenepura.
CSC 209 2.0 Database Management Systems
Business Rules
● Must be rendered in writing
● Must be kept up to date
● Sometimes are external to the organization
● Must be easy to understand and widely disseminated
● Describe characteristics of the data as viewed by the
company
This is a property of Department of Computer Science, Faculty of Applied Science, University of Sri Jayewardenepura.
CSC 209 2.0 Database Management Systems
This is a property of Department of Computer Science, Faculty of Applied Science, University of Sri Jayewardenepura.
CSC 209 2.0 Database Management Systems
This is a property of Department of Computer Science, Faculty of Applied Science, University of Sri Jayewardenepura.
CSC 209 2.0 Database Management Systems
This is a property of Department of Computer Science, Faculty of Applied Science, University of Sri Jayewardenepura.
CSC 209 2.0 Database Management Systems
Hierarchical
Network
Relational
Entity relationship
Object oriented (OO)
This is a property of Department of Computer Science, Faculty of Applied Science, University of Sri Jayewardenepura.
CSC 209 2.0 Database Management Systems
manufacturing projects
● Basic logical structure is represented by an upside-down “tree”
This is a property of Department of Computer Science, Faculty of Applied Science, University of Sri Jayewardenepura.
CSC 209 2.0 Database Management Systems
A Hierarchical Structure
This is a property of Department of Computer Science, Faculty of Applied Science, University of Sri Jayewardenepura.
CSC 209 2.0 Database Management Systems
● Created to
○ –Represent complex data relationships more effectively
○ –Improve database performance
○ –Impose a database standard
This is a property of Department of Computer Science, Faculty of Applied Science, University of Sri Jayewardenepura.
CSC 209 2.0 Database Management Systems
● Set
○ Relationship
○ Composed of at least two record types
■ Owner –Equivalent to the hierarchical model’s parent
■ Member–Equivalent to the hierarchical model’s child
■ A set represents a 1:M relationship between the owner and the member
This is a property of Department of Computer Science, Faculty of Applied Science, University of Sri Jayewardenepura.
CSC 209 2.0 Database Management Systems
This is a property of Department of Computer Science, Faculty of Applied Science, University of Sri Jayewardenepura.
CSC 209 2.0 Database Management Systems
● Too cumbersome
programmers
● Any structural change in the database could produce havoc in all
delays
This is a property of Department of Computer Science, Faculty of Applied Science, University of Sri Jayewardenepura.
CSC 209 2.0 Database Management Systems
● Conceptually simple
software
This is a property of Department of Computer Science, Faculty of Applied Science, University of Sri Jayewardenepura.
CSC 209 2.0 Database Management Systems
This is a property of Department of Computer Science, Faculty of Applied Science, University of Sri Jayewardenepura.
CSC 209 2.0 Database Management Systems
● Table (relations)
This is a property of Department of Computer Science, Faculty of Applied Science, University of Sri Jayewardenepura.
CSC 209 2.0 Database Management Systems
● Relational Table
This is a property of Department of Computer Science, Faculty of Applied Science, University of Sri Jayewardenepura.
CSC 209 2.0 Database Management Systems
This is a property of Department of Computer Science, Faculty of Applied Science, University of Sri Jayewardenepura.
CSC 209 2.0 Database Management Systems
language
● Structured Query Language (SQL) allows the user to specify what
This is a property of Department of Computer Science, Faculty of Applied Science, University of Sri Jayewardenepura.
CSC 209 2.0 Database Management Systems
database structure
This is a property of Department of Computer Science, Faculty of Applied Science, University of Sri Jayewardenepura.
CSC 209 2.0 Database Management Systems
as an object
● Object-oriented data model (OODM) is the basis for the object-
This is a property of Department of Computer Science, Faculty of Applied Science, University of Sri Jayewardenepura.
CSC 209 2.0 Database Management Systems
This is a property of Department of Computer Science, Faculty of Applied Science, University of Sri Jayewardenepura.
CSC 209 2.0 Database Management Systems
This is a property of Department of Computer Science, Faculty of Applied Science, University of Sri Jayewardenepura.
CSC 209 2.0 Database Management Systems
This is a property of Department of Computer Science, Faculty of Applied Science, University of Sri Jayewardenepura.