CH 1introductory Concepts of Dbms
CH 1introductory Concepts of Dbms
• 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 accessed needed for performance
• Uncontrolled concurrent accesses can lead to
inconsistencies
– Example: Two people reading a balance and updating
it at the same time
• Security problems
• Hard to provide user access to some, but not all, data
Data isolation
Integrity problems
Atomicity problems
Concurrent-access anomalies
Security problems
Why Use a DBMS?
Relationship
Relationship
B
Data
Two Data Models
Developer always go to first for E-R Model and then develop Relational Model for that.
Entity-Relationship Model
Attributes
Procedural DMLs “what” data are needed and “how” to get those data
DBA Tasks
Schema definition
Storage structure and access-method definition
Schema and physical-organization modification
Granting of authorization for data access
Routine maintenance
Specifying integrity constraints
Monitoring performance and responding to changes in requirements
Visualization of DBMS
Client
Server
(Oracle, DB/2)
Client User
f1 f3 User
f2
f4 f6
f5
sss
Application Architectures