Scenario: During a performance audit, you discover that a database query is taking longer to execute than expected. What is a possible strategy to optimize this query without modifying the application code?

  • Increase network bandwidth
  • Increase server CPU speed
  • Reorganize or rebuild indexes
  • Upgrade database software
Reorganizing or rebuilding indexes can improve query performance by eliminating index fragmentation and ensuring that the indexes are optimized for the query workload. This optimization can often be done without changing the application code, making it a practical strategy for query optimization.
Add your answer
Loading...

Leave a comment

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