
Normalization structures database tables tominimize data duplicationandpreserve integrity. It helps preventinconsistenciescaused by insertion, update, and deletion anomalies that can arise when data is duplicated. It also makes the database structure more stable and easier to maintain.
Consider denormalization when normalization hurts read performance, especially iftoo many JOINs create a bottleneck. It reduces the number of JOINs by deliberately duplicating data or combining tables. Theadvantageis that fetching data more quickly canimprove system performance. Thedrawbackis that duplicate data makesconsistency harder to maintainand raisesmaintenance costs, since changes must be made in several places.
