Skip to content
Exercises · Q5

Q.What are the limitations of file system that can be overcome by a relational DBMS?

Tamil Nadu DgeTextbookSubjective· 3mImportance★★★★★est
21% · 6/29 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

A file system suffers from data redundancy, inconsistency, isolation, integrity problems, and concurrent-access issues — a relational DBMS solves all of these through centralised control, ACID properties, and a structured schema.

This is a plain theory question — you are being asked to list and explain the key limitations of file-based data storage and show how a relational database management system (RDBMS) addresses each one. The core idea is data redundancy elimination: a file system stores the same data in multiple places (redundancy), which leads to inconsistency, wasted space, and update anomalies. A relational DBMS normalises data into related tables, removing duplication at the source.

Here are the major limitations and how a relational DBMS overcomes them:

1. Data Redundancy and Inconsistency

In a file system, the same piece of information (e.g., a customer's address) is often stored in multiple files — an order file, an invoice file, a shipping file. If the address changes, it must be updated in every file. Miss one, and the data becomes inconsistent.

A relational DBMS eliminates redundancy through normalisation: data is stored in one place (e.g., a Customer table) and referenced via foreign keys in other tables. An address change requires only one update.

2. Data Isolation

Files are created by different applications in different formats — a .txt file, a .csv, a proprietary binary format. Writing a new program that needs data from multiple files becomes a nightmare of format conversion.

A relational DBMS provides a single, uniform interface (SQL) to access all data, regardless of how it was originally stored. The DBMS handles the physical storage; you only see logical tables.

3. Integrity Constraints

A file system has no built-in way to enforce rules like "every order must belong to an existing customer" or "salary must be positive". These checks must be coded into every application that writes to the file — and one buggy program can corrupt the data.

A relational DBMS enforces integrity constraints declaratively: PRIMARY KEY, FOREIGN KEY, CHECK, NOT NULL, UNIQUE. The database itself rejects any violation, regardless of which application tries to insert bad data.

4. Concurrent Access Anomalies

When two users try to update the same file at the same time, the file system typically lets the second write overwrite the first — or crashes. This leads to lost updates and inconsistent reads.

A relational DBMS uses transactions with ACID properties (Atomicity, Consistency, Isolation, Durability). It locks rows or tables as needed, ensuring that concurrent operations do not interfere. If a transaction fails, it is rolled back cleanly.

5. Security Problems

File systems offer only coarse-grained access control (read/write/execute at the file level). You cannot say "User A can see salaries but not change them; User B can see only names".

A relational DBMS provides fine-grained security: GRANT SELECT ON Employees TO UserA, REVOKE UPDATE ON Salaries FROM UserB. Access is controlled at the row and column level.

6. Data Atomicity …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.