Knowee
Questions
Features
Study Tools

What is a derived attribute, and explain why it might not be prudent to save derived attributesin a database?

Question

What is a derived attribute, and explain why it might not be prudent to save derived attributesin a database?

🧐 Not the exact question you are looking for?Go ask a question

Solution

A derived attribute in a database is an attribute that doesn't exist in the physical database, but is derived from other attributes present in the database. It is a result of a calculation or an expression. For example, an attribute like "Age" can be derived from the "Date of Birth" attribute.

Storing derived attributes in a database might not be prudent due to several reasons:

  1. Redundancy: Since derived attributes can be calculated from other attributes, storing them would create unnecessary redundancy in the database.

  2. Storage Space: Derived attributes can take up additional storage space in the database. This can be a concern if the database is large and storage space is at a premium.

  3. Data Inconsistency: If the base attributes from which the derived attribute is calculated are updated, the derived attribute may become inconsistent if it is not updated accordingly.

  4. Performance: Calculating and updating derived attributes can impact the performance of the database, especially if the calculations are complex or if the database is large.

Therefore, it is generally more efficient to calculate derived attributes when needed, rather than storing them in the database.

This problem has been solved

Similar Questions

Which of the following best describes a derived attribute in an ER diagramAn attribute that uniquely identifies each entity within an entity set.An attribute that is derived from other attributes in the database and does not need to be stored explicitly.An attribute that can take multiple values for a single entity.An attribute that describes the number of instances of a relationship that can be associated with a single instance of an entity.Next

What is synthesized attributes?

Attributes that are not present in the whole DBMS but can be formed using other attributes are

Which is a bottom-up approach to database design that design by examining the relationship between attributes:Select one:a.Normalizationb.Decompositionc.Database modelingd.Functional dependency

Which is a bottom-up approach to database design that design by examining the relationship between attributes:

1/2

Upgrade your grade with Knowee

Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.