|
|
|
|
|
by MichaelMoser123
1133 days ago
|
|
Data denormalization makes sense if the data is written once and never updated - like with a data warehouse / analytics. If you need to update the data then denormalization can turn into a big source of trouble. For example you end up with many copies of the same stuff, and you must make an extra effort to update all the duplicates upon update. Or you end up with multiple entries, where the validity of an entry is determined by some extra 'isValid == true' or 'deleted == false' field. Now all these 'invalid' entries then start to clog up the table/collection, and performance may quitely deteriorate. I once had to use a denormalized schema for nested data, as lookup through too many reference would have suffered. But that wasn't funny at all. |
|