File-based vs. Database Systems Flashcards
what are File-Based Systems
These store data in individual files within the operating system
what is Decentralized Data Storage
It is the characteristic of a File-based system where each app manages its own files
what is Fixed File Formats:
It is the characteristic of a File-based system where data is predefined in formats like .txt or .xml
what is Minimal Data Abstraction
It is the characteristic of a File-based system where data is easily accessed without the use of DBMS
Enumerate the advantages of a File-Based system and explain
Simplicity
- Easy to implement
Low Overhead
- No need for specialized software like DBMS
Direct File Access
- Applications can directly read/modify data
Enumerate the disadvantages of a File-Based system and explain
Data redundancy & inconsistency
- the duplication of data due to to multiple applications
Poor data security
- lack of centralized control for enforcing access restrictions
Limited Data sharing
- data can only be shared via manual intervention
Scalability issues
- as data grows it becomes more inefficient
What is a Database System
It is what manages a database and stores data in a structured manner via DBMS.
Enumerate the characteristics of a database system and explain
Centralized data management
- data is stored in a centralized database
Schema-based design
- data is organized according to a predefined schema
Query language
- Use of SQL to ICRUDOPS curated data
Enumerate the advantages of a DB system and explain
Reduced Redundancy and Improved Consistency
- eliminates duplication of data
Efficient Data Retrieval
- quick searches and aggregations via queries
Enhanced Security
- Enforcement of roles and permissions by DBMS
Data Sharing
- Multiple access of data via apps
Scalability
- Supports large-scale data
Backup and Recovery
- Ensures that data is recoverable in case of failures
Enumerate the disadvantages of a DB system & explain
Complexity
- only specialized people can set up and maintain a database system
Higher cost
- it is expensive
Overhead
- a DBMS introduces a computational overhead compared to direct file access