Background image of landing

Unrivalled
Education
Solutions for your
Family

Explain the concept of a derived attribute in Entity Relationship modelling

In Entity-Relationship (ER) modeling, a derived attribute is an attribute whose value is calculated based on other attributes rather than being stored directly.

Derived attributes are especially useful in ER modeling because they enable the representation of values that can be computed from existing data, rather than requiring manual updates. This means that instead of storing a value and having to keep it current, the derived attribute can be calculated as needed from the relevant base attributes.

For example, consider an entity called ‘Employee’ with the attributes ‘Date of Birth’ and ‘Age’. In this case, ‘Age’ serves as a derived attribute because it can be computed from the ‘Date of Birth’ in conjunction with the current date. There is no need to store the ‘Age’ and update it annually; instead, it can be derived whenever necessary.

In ER diagrams, derived attributes are typically represented by double oval shapes to clearly distinguish them from regular attributes. While these attributes are not physically stored in the database, their values can be computed on demand from the stored attributes. This design choice not only helps conserve storage space but also enhances data consistency, as there is no risk of failing to update the derived attribute when the underlying attributes change.

However, it is important to recognize that derived attributes might lead to increased computational overhead. Whenever the value of a derived attribute is required, it must be calculated from the base attributes. If the calculation is complex or if there are many base attributes involved, this could potentially slow down system performance. As such, the decision to implement derived attributes should be made with careful consideration of the trade-off between storage efficiency and computational performance.

In summary, derived attributes in ER modeling are a valuable tool for maintaining data consistency and optimizing storage space. Nevertheless, they should be utilized thoughtfully, bearing in mind the possible computational costs involved.

Answered by: Prof. Lucas Scott
A-Level Computer Science Tutor
Medal Icon

100%

Globe Icon

Global

Crest Icon

97%

Professional Tutors

International Tuition

Independent School Entrance Success

All of our elite tutors are full-time professionals, with at least five years of tuition experience and over 5000 accrued teaching hours in their subject.

Based in Cambridge, with operations spanning the globe, we can provide our services to support your family anywhere.

Our families consistently gain offers from at least one of their target schools, including Eton, Harrow, Wellington and Wycombe Abbey.

Medal Icon

100%

Professional Tutors

All of our elite tutors are full-time professionals, with at least five years of tuition experience and over 5000 accrued teaching hours in their subject.

Globe Icon

Global

International Tuition

Based in Cambridge, with operations spanning the globe, we can provide our services to support your family anywhere.

Crest Icon

97%

Independent School Entrance Success

Our families consistently gain offers from at least one of their target schools, including Eton, Harrow, Wellington and Wycombe Abbey.

Book a free
30-minute consultation
session

At the Beyond Tutors we recognise that no two students are the same. 

That’s why we’ve transcended the traditional online tutoring model of cookie-cutter solutions to intricate educational problems. Instead, we devise a bespoke tutoring plan for each individual student, to support you on your path to academic success.

To help us understand your unique educational needs, we provide a free 30-minute consultation with one of our founding partners, so we can devise the tutoring plan that’s right for you.

To ensure we can best prepare for this consultation, we ask you to fill out the short form below.

Hire a Tutor

All the form fields are optional, but we ask you to provide as much information as possible so that we are in a better position to quickly meet your tutoring requirements.

Still have questions?
Let's get in touch