Show understanding of the features provided by a Database Management System (DBMS) that address the issues of a file-based approach

Published by Patrick Mutisya · 14 days ago

Cambridge A-Level Computer Science 9618 – DBMS Features vs File‑Based Approach

8.2 Database Management Systems (DBMS)

Objective

Show understanding of the features provided by a Database Management System (DBMS) that address the issues of a file‑based approach.

1. Problems with a File‑Based Approach

  • Data Redundancy and Inconsistency – Same data stored in multiple files leading to wasted space and contradictory values.
  • Lack of Data Independence – Application programs are tightly coupled to file structures; any change requires program modification.
  • Limited Data Sharing – Files are usually accessed by a single program; concurrent access is difficult to control.
  • Poor Security and Integrity – No central mechanism to enforce access rights or integrity rules.
  • Complex Data Retrieval – Programs must contain procedural code to locate and combine data, making queries cumbersome.
  • Difficulty in Recovery – No systematic way to restore data after a crash or corruption.
  • Limited Backup and Maintenance – Each file must be backed up separately; version control is manual.

2. DBMS Features that Resolve These Issues

The following DBMS features directly address the shortcomings listed above.

Issue (File‑Based)DBMS FeatureHow It Helps
Data Redundancy & InconsistencyNormalization & Centralised StorageData is stored once in tables; relationships eliminate duplicate copies, ensuring consistency.
Lack of Data IndependenceLogical & Physical Data IndependenceApplications interact via a logical schema; changes to physical storage do not affect programs.
Limited Data SharingConcurrency Control (Locking, Timestamping)Multiple users can access the database simultaneously while the DBMS resolves conflicts.
Poor Security & IntegrityAccess Control & Integrity ConstraintsRoles, privileges, and declarative constraints (e.g., primary keys, foreign keys) enforce correctness.
Complex Data RetrievalHigh‑Level Query Language (SQL)Declarative statements retrieve and manipulate data without procedural code.
Difficulty in RecoveryTransaction Management (ACID) & LoggingAtomic transactions and write‑ahead logs allow rollback to a consistent state after failures.
Limited Backup & MaintenanceAutomated Backup, Recovery Utilities, Data DictionarySystem‑wide backup tools and a metadata repository simplify maintenance and version control.

3. Summary of Key DBMS Capabilities

  1. Data Independence – Separates application logic from data storage.
  2. Reduced Redundancy – Centralised, normalized tables.
  3. Concurrency Control – Ensures safe multi‑user access.
  4. Transaction Support (ACID) – Guarantees reliability and recoverability.
  5. Security & Integrity – Role‑based access and declarative constraints.
  6. Powerful Query Language – SQL for expressive data manipulation.
  7. Data Dictionary – Stores metadata about structure, constraints, and users.
  8. Backup & Recovery Tools – Streamlined data protection.

Suggested diagram: Comparison of a file‑based system (multiple isolated files) versus a DBMS architecture (centralised DBMS with applications, users, and utilities interacting through SQL).