Database System Lect 03
Database System Lect 03
Database Systems
for BS (IT)
Lecture 3:
Database Development and Data Modeling
Hareem Aslam
[email protected]
Image sources:
http://www.redorbit.com/education/reference_library/space_1/universe/2574692/geocentric_model/
http://hendrianusthe.wordpress.com/2012/06/21/heliocentric-vs-geocentric/
What is data model?
A set of concepts to describe the structure of a database,
the operations for manipulating these structures, and
certain constraints that the database should obey.
Structure:
Typically include elements (and their data types) as well as groups of elements
(e.g. entity, record, table), and relationships among such groups
Constraints:
Constraints specify some restrictions on valid data; these constraints must be enforced at
all times
What is data model?
Operations:
These operations are used for specifying database retrievals and
updates by referring to the structure of the data model.
basic model operations (e.g. generic insert, delete, update)
user-defined operations (e.g. compute_student_gpa,
update_inventory)
Importance of data model
Communication tool
Object oriented ?
Hierarchical
Relational
Client Oriented
Network
History of Database Model
Hierarchical database model (HDBM)
Network database model (NDBM)
Relational database model (RDBM)
Object-oriented database model (ODBM)
Hierarchical database model (HDBM)
Hierarchical Database Model
(HDBM)
Logically represented by an upside-down tree
Each parent can have many children (segment linkage)
Reference book
Jeffrey Hoffer, “Modern Database Management ” Design, Implementation, Management,
10th Edition”
Thomas Connolly, “Database Systems: A Practical Approach to Design, Implementation
and Management (6th Ed.)”
Elmasri, “Fundamentals of Database Systems: (7th Ed.)”