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 |
What are different joins used in sql?
query to retrive the employees whose sal is greater than avg sal
What is sql constant?
How do you define a foreign key?
What will be the output of this Query? select to_char(trunc(add_months(sysdate-3),mm),mm/dd/yyyy) from dual
Do we need to create index on primary key?
Can we insert delete data in view?
Can we group by two columns in sql?
how to escape special characters in sql statements? : Sql dba
What is difference between hql and sql?
What are two virtual tables available during database trigger execution ?
How can use stored procedures in sql?