Scenario: A retail company has a database with separate tables for customers, orders, and products. They want to optimize query performance for generating sales reports. How could denormalization be applied in this scenario?

  • Create indexed views for the sales reports
  • Introduce redundancy by merging the tables to reduce JOIN operations
  • Normalize the tables further to eliminate redundancy
  • Split tables into smaller ones for better data distribution
Denormalization in this scenario involves introducing redundancy by merging the tables, reducing the need for JOIN operations. This can improve query performance for generating sales reports by minimizing the complexity of queries.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *