Which of the following is a primary advantage of using a database over a flat file system for storing customer records?
Trap 1: Simpler to set up and manage
While flat file systems can be set up with minimal overhead, they lack the relational integrity and concurrent-access controls that a database management system provides. This option is tempting because for a small, single-user list of records, a flat file is indeed quick to configure. However, in a scenario requiring simultaneous multi-user updates and enforced data consistency across customer records, the absence of transaction management and referential constraints makes a flat file system unsuitable.
Trap 2: Stores data in a non-structured format
Databases store data in structured formats; flat files can be unstructured.
Trap 3: No need for a query language
Databases use query languages like SQL, which is a feature, not a disadvantage.
- A
Simpler to set up and manage
Why wrong: While flat file systems can be set up with minimal overhead, they lack the relational integrity and concurrent-access controls that a database management system provides. This option is tempting because for a small, single-user list of records, a flat file is indeed quick to configure. However, in a scenario requiring simultaneous multi-user updates and enforced data consistency across customer records, the absence of transaction management and referential constraints makes a flat file system unsuitable.
- B
Supports simultaneous multi-user access
Databases are designed for concurrent access with transaction controls.
- C
Stores data in a non-structured format
Why wrong: Databases store data in structured formats; flat files can be unstructured.
- D
No need for a query language
Why wrong: Databases use query languages like SQL, which is a feature, not a disadvantage.