Question 2 Flashcards
1
Q
What is Database performance tuning?
A
A set of activities and procedures designed to reduce the response time of a database system.
2
Q
What is SQL performance tuning?
A
On the client side – that will generate an SQL query to return the correct answer in the least amount of time, using the minimum amount of resources at the server end.
3
Q
What is DBMS performance tuning?
A
On the server side – that will properly configure the DBMS environment to respond to clients’ requests in the fastest way possible, while making optimum use of existing resources.
4
Q
What are the three phases a DBMS uses to process SQL queries?
A
- Parsing - The DBMS parses the SQL query and chooses the most efficient access/execution plan.
- Execution - The DBMS executes the SQL query using the chosen execution plan.
- Fetching - The DBMS fetches the data and sends the result set back to the client.