Skip to content
Exercises · Q5

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

Chhattisgarh CgbseTextbookSubjective· 3mImportance★★★★★est
43% · 6/14 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 →

File systems store data in independent, program-owned flat files — which breeds duplication, contradiction, scattered un-combinable data, programs welded to file formats, race conditions, and almost no security or recovery. An RDBMS was designed point-by-point against these: one shared normalised database, constraints, data independence, transactions, access control, and backup/recovery.

Here is each file-system limitation and how a relational DBMS removes it:

#File-system limitationHow the RDBMS overcomes it
1Data redundancy — each application keeps its own files, so the same data (a student's name/address) is stored many timesSingle central database; each fact stored once, other relations hold only a primary-key/foreign-key reference to it
2Data inconsistency — an update reaches some copies but not others, so files contradict each otherWith only one stored copy there is nothing to fall out of sync; constraints validate what does go in
3Data isolation — data scattered across many files, often in different formats, so combining information is hardAll data in one database with a uniform relational structure; a SQL JOIN combines any relations on demand
4Program–data dependence — every program hard-codes the file's record layout; change the layout and all programs must be rewrittenData independence: programs ask the DBMS by name (SELECT Name FROM Student); the physical storage can change without touching applications
5Concurrent-access anomalies — two users updating the same file simultaneously overwrite each other, corrupting dataTransactions with concurrency control (locking) serialise conflicting updates safely; many users work at once
6Poor data security — OS file permissions are all-or-nothing; you cannot let a clerk see names but not salariesFine-grained access control (GRANT SELECT (Name) ...), user accounts and privileges enforced by the DBMS
7No integrity enforcement — nothing stops a file holding a duplicate roll number, a blank mandatory field, or marks = 999Declarative constraints: PRIMARY KEY, UNIQUE, NOT NULL, CHECK, FOREIGN KEY — the RDBMS rejects invalid data itself
8No crash recovery / backup discipline — a failure mid-update leaves files half-writtenBuilt-in backup and recovery; transactions are atomic — a crash rolls back to a consistent state
9Difficult data access/query — every new question needs a new program to be written to scan the filesA general query language (SQL) answers ad-hoc questions instantly, no programming of file-scans needed

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.