Professional Documents
Culture Documents
The derived attribute is the attribute which is extract from another attribute and also its value is always
dynamic. These values are computed from another attribute Coronel, C., & Morris, S. (2016).
For Example: Let assume a database “Student” where the attributes “Std No”, “Std DOB” and “Std Age”.
Here “Std Age” is derived. Its value of “Std Age” is derived from difference by present age and “Std
DOB”.
The advantages or disadvantages of storing or not storing a derived attribute are illustrated below:
Advantages of Stored
A derived attribute saves the strong computation, Saves CPU processing cycle, saves data access time,
Date value is readily available and also it Can be track of historical data.
Disadvantage of stored
To ensure that a derived attribute's value was accurate, constant maintenance was necessary.
Especially if any of the values used to calculate the data change.
A derived attribute increases the number of complex queries and data access time.
Reference
Coronel, C., & Morris, S. (2016). Database systems: design, implementation, & management. Cengage
Learning.