what is sql optimization

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an oracle stored procedure?

784


Explain spool.

906


What is cursor in pl sql?

768


Can we use view in stored procedure?

700


Which sorts rows in sql?

773






What is a join?

809


How do I run pl sql in sql developer?

859


What is time based sql injection?

689


What does := mean in pl sql?

756


What is the difference between delete and truncate statement in sql?

684


What are sql indexes?

740


What is pl sql package?

797


How can you view the errors encountered in a trigger?

735


what is the difference between cluster and non cluster index? : Sql dba

732


Can instead of triggers be used to fire once for each statement on a view?

712