EEE207 Database Concepts Lecture 1 v2
EEE207 Database Concepts Lecture 1 v2
Peter Kimemiah
Atomicity of updates
Failures may leave database in an inconsistent state with partial updates
carried out
Example: Transfer of funds from one account to another should either
complete or not happen at all
Concurrent access by multiple users
Concurrent access needed for performance
Uncontrolled concurrent accesses can lead to inconsistencies
– Example: Two people reading a balance (say 100) and updating it by
withdrawing money (say 50 each) at the same time
Security problems
Hard to provide user access to some, but not all, data
Relational model
Entity-Relationship data model (mainly for database design)
Object-based data models (Object-oriented and Object-relational)
Semistructured data model (XML)
Other older models:
File Model
Network model
Hierarchical model
Relational Model
Relational model
Columns
Example of tabular data in the relational model
Rows
A Sample Relational Database
Sample Entities