DBMS vs. File Processing

Lecture 1 · why we moved from scattered files to a managed database. Learn the six drawbacks — they're the classic “why DBMS?” question.

File processing — the 6 drawbacks

RI·IACSRedundancy · Isolation · Integrity · Atomicity · Concurrency · Security.
DrawbackWhat goes wrong
Data redundancy & inconsistencySame fact stored in many files → two different addresses for one person.
Data isolationData scattered across files/formats → hard to write programs that pull related data.
Integrity problemsConstraints (e.g. “salary > 0”) are buried in application code, not enforced centrally.
Atomicity problemsA crash mid-operation leaves half-done work — money debited but never credited.
Concurrent-access anomaliesTwo users at once → inconsistent results (both book the last seat).
Security issuesHard to give differentiated access (HR sees salaries, others don't).

DBMS — the matching benefits

BenefitFixes
Minimal redundancy — single source of truthRedundancy
Data consistency — centralized controlInconsistency
Data integration & sharingIsolation
Constraint enforcementIntegrity
Transactions (all-or-nothing)Atomicity
Concurrency controlConcurrent-access anomalies
Granular access controlSecurity
Data independence + backup/recoveryRobustness
Business impact (slide fact): ~60% fewer data errors and ~45% faster application development with a DBMS.