what is sql optimization
Answer / anupam bhatt
SQL optimization or tuning is the process to improve upon your sql queries to make them more efficient and avoid common pitfalls like multiple database round trips etc. Basically do more work with fewer queries to make the application fast and manageable.
This can be achieved by various ways like joining multiple queries in to one to avoid multiple network round trips, add indexes to the tables which are frequently accessed to reduce the turnaround time, fetch only the required data instead of a generic query getting all of the data of the table etc.
Is This Answer Correct ? | 2 Yes | 2 No |
Why do we create views in sql?
What is difference between CHAR and VARCHAR2?What is the maximum SIZE allowed for each type?
Is subquery faster than join?
What is the usage of when clause in trigger?
What are different sql data types?
Which one of the following pairs of aggregate functions do you use with character fields? 1. COUNT(field) and MAX(field) 2. AVG(field) and COUNT(field) 3. MIN(field) and SUM(field) 4. AVG(field) and MAX(field) 5. COUNT(field) and SUM(field)
What does inner join mean?
What is the use of nvl function?
What are the pre requisites?
What is a trigger ?
11 Answers Accenture, BirlaSoft,
What are the operators in sql?
How many columns should be in an index?