In: Accounting
The advantages of a relational database include limiting the amount of redundant data that are stored in a database. Why is this an important advantage? What can go wrong when redundant data are stored?
For this first we need to know ''What does Data
Redundancy mean?''
Data redundancy is a condition created within a database or data
storage technology in which the same piece of data is held in two
separate places.
This can mean two different fields within a single database, or two
different spots in multiple software environments or platforms.
Whenever data is repeated, this basically constitutes data
redundancy. This can occur by accident, but is also done
deliberately for backup and recovery purposes.
The Problem of redundancy in Database
Redundancy means having multiple copies of same data in the
database. This problem arises when a database is not normalized.
Suppose a table of student details attributes are: student Id,
student name, college name, college rank, course opted.
As it can be observed that values of attribute college name, college rank, course is being repeated which can lead to problems. Problems caused due to redundancy are: Insertion anomaly, Deletion anomaly, and Updation anomaly.
Insertion Anomaly –
If a student detail has to be inserted whose course is not being
decided yet then insertion will not be possible till the time
course is decided for student.
This problem happens when the insertion of a data record is not
possible without adding some additional unrelated data to the
record.
Deletion Anomaly –
If the details of students in this table is deleted then the
details of college will also get deleted which should not occur by
common sense.
This anomaly happens when deletion of a data record results in
losing some unrelated information that was stored as part of the
record that was deleted from a table.
Updation Anomaly –
Suppose if the rank of the college changes then changes will have
to be all over the database which will be time-consuming and
computationally costly.
HENCE, THESE ARE SOME REASONS WHY IT IS AN ADVANTAGE FOR RELATIONAL DATABASE THAT IT HAS THE FEATURE OF limiting the amount of redundant data that are stored
SK