For example, if i store a redundant column in one table, i can avoid joining 5 tables in runtime SQL queries. In cases such as this, is it justifiable to store redundant data? My understanding is that it violates the rules of normalization but I’m not a db expert.
Thanks for any advice.
For example, if i store a redundant column in one table, i can avoid
Share
In my experience, denormalizing for performance is not in itself an evil, but you need to check first that you cannot optimize the queries that you run against your initial 3NF design to give you reasonable timing.
Here is a link to a nice article suggesting that reduction in the number of joins is a common (and good) reason to denormalize.