MySQL + SQL · Lesson 1

File Processing Vs Dbms

What is a File Processing System?

A file processing system stores data in separate files managed by application programs. Each program has its own files and format. A DBMS stores all data centrally and manages it through one software layer.

File System vs DBMS

PointFile SystemDBMS
RedundancyHigh — same data in many filesControlled
ConsistencyHard to maintainMaintained automatically
Data sharingDifficultEasy, multi-user
SecurityFile-level onlyUser & row level
QueryManual codingSimple SQL
Backup/RecoveryManualBuilt-in

School Example

In a file system the fee clerk's file and the library file both store the student name. Change a name in one, and the other becomes wrong. A DBMS keeps the name once and links it with keys — change it once, correct everywhere.

Common Mistakes

  • Thinking Excel = DBMS. Excel is a file system, not a managed database.
  • Forgetting that file systems cause data inconsistency, the main exam point.

Summary

  • File systems keep data in unconnected files; DBMS centralizes it.
  • DBMS reduces redundancy, improves consistency, sharing, security and querying.
🔗

Share this topic with a friend

यह topic किसी दोस्त को भेजें

Found it useful? Send it to a classmate learning the same thing.

अच्छा लगा? जो दोस्त यही सीख रहा है, उसे भेज दीजिए।

\n

💻 Live Code Editor

Is page ki language (MYSQL) mein code likhein aur turant chalाएं — yahीं, bina kuch install kiye.
Powered by OneCompiler. Agar editor na khule to yahान naye tab mein kholein.

💻 Live Code Editor

Is page ke program yahan ready hain — chalाएं, badlें aur seekhें. Bina kuch install kiye.
Powered by OneCompiler. Editor mein code apne aap aa jata hai — Run dabaakर output dekhें. Agar load na ho to naye tab mein kholें.