Derived Value
Pronunciationdih-RYVD VAL-yoo
Definition
A derived value is one you can calculate from other data, so you compute it when needed instead of storing it. That way it can never disagree with its source.
Where you hear it
In data modelling, normalisation discussions, and reviews that remove columns which duplicate information.
Examples
The number of turns is derived from the weeks and the payouts per week.
We derive the unpaid status instead of saving it, so it can't go stale.
The balance is a derived value computed from the transactions, not a stored column.
Common mistake
Storing a value you can calculate. Now two places hold the truth and one will eventually be wrong.
Don't confuse with
A cached or denormalised column, which is stored on purpose for speed and must be kept up to date.
Say it at work
- In a meeting or chat
Make that a derived value, not a column.
- In an email or ticket
If it can be computed, derive it.