In which scenario would denormalization be considered a suitable option for query optimization?
- When you want to minimize data redundancy and improve data integrity.
- When you want to improve query performance, even at the cost of some data redundancy and update anomalies.
- Denormalization is never considered a suitable option for query optimization.
- When you want to reduce the size of the database.
Denormalization is considered when you want to optimize read-heavy queries and reduce the number of JOIN operations. It involves introducing redundancy to improve query performance, but it can lead to data anomalies.
Loading...
Related Quiz
- Which of the following responses to a preflight request will allow a browser to make a cross-origin call to upload a file?
- What is the main difference between SQL and NoSQL databases regarding data structure?
- In a RESTful API, which HTTP method corresponds to the Update operation in CRUD?
- Which fs method would you use to read the contents of a directory?
- What is the role of the extends property in an ESLint configuration file?