InterviewSolution
Saved Bookmarks
| 1. |
What do you understand by query optimisation in the context of SQL? |
|
Answer» A single query can be run using various methods or rewritten in various formats and STRUCTURES. As a result, the topic of query optimization arises: which of these forms or paths is the most efficient? The query optimizer considers all alternative query plans to discover the most efficient way to EXECUTE a query. The purpose of query optimization is to reduce the number of system resources necessary to complete a query, allowing the user to receive the proper result set more quickly.
A query can be optimised in one of two ways:
|
|