- Data is stored in files.
- Each file has specific format.
- Programs that use these files depend on knowledge about that format.
- In earlier days, database applications were built on top of file systems.
This approach is mostly obsolete but –
- Understanding problems inherent in file based systems may prevent us from repeating these problems in our database system.
- Understanding how file system works is extremely useful when converting a file-based system to a database system.
Basically, it is a collection of application programs that performs services for end users such as production of reports. Each file defines and manages its own data.
It doesn’t have a crash mechanism i.e., if system crashes while entering some data, then content of file will be lost. This is disadvantage of traditional file based system. Also, it is very difficult to protect a file under the file system. This system can’t efficiently store and retrieve data.
Advantages of Traditional File System :
- File processing cost less and can be more speed than database.
- File processing design approach was well suited to mainframe hardware and batch input.
- Companies mainly use file processing to handle large volumes of structured data on a regular basis.
- It can be more efficient and cost less than DBMS in certain situations.
- Design is simple.
- Customization is easy and efficient.
Disadvantages of Traditional File System :
- Data redundancy and inconsistency.
- Difficulty in accessing data.
- Data isolation – multiple files and formats.
- Integrity problems
- Unauthorized access is not restricted.
- It co-ordinates only physical access.
To overcome disadvantages of File system, DBMS came in use
DBMS- This stands for Database Management System. It is collection of inter-related data. It has set of programs to access the data. Basically, it contains information about particular enterprise. It provides convenient and efficient environment for use.
Applications of DBMS :
- Human Resources
Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.
- Traditional Data Mining Life Cycle (Crisp Methodology)
- Traditional TCP
- Difference between Cloud Storage and Traditional Storage
- Difference between Traditional data and Big data
- Unix File System
- Advantages of DBMS over File system
- File Access Methods in Operating System
- File System Inconsistency
- Various terms in File System
- Levels in a File Management System
- Understanding File System
- Difference between File System and DBMS
- File Processing System (FPS)
- System Protection in Operating System
- Allocating kernel memory (buddy system and slab system)
- User View Vs Hardware View Vs System View of Operating System
- File Transfer Protocol (FTP) in Application Layer
- File Organization in DBMS | Set 2
- File Organization in DBMS | Set 1
- File Organization in DBMS | Set 3
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.