Arrange the following stages in the correct sequence for transitioning from a file system to a DBMS.
(A) Design relational schema
(B) Normalize data
(C) Identifying redundancy
(D) Migrate the data to the database
Arrange the following stages in the correct sequence for transitioning from a file system to a DBMS.
(A) Design relational schema
(B) Normalize data
(C) Identifying redundancy
(D) Migrate the data to the database
Solution
The order follows the logic of moving from a redundant file system to a structured database: find the problems, fix them on paper, build the structure, then load the data.
(C) Identifying redundancy: find duplicated and inconsistent data in the existing files.
(B) Normalize data: remove that redundancy by splitting data into well-structured tables.
(A) Design relational schema: define the tables, keys and relationships based on the normalized data.
(D) Migrate the data to the database: load the data only after the schema exists.
Options 2 and 4: data cannot be migrated before the relational schema is designed, as there is no table structure to hold it.
Option 1: the schema is designed before redundancy is identified and removed, so it would carry the file system's duplication into the database.
Related questions:
2025: 16 May Shift 1
2025: 22 May Shift 1