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 the difference between sum and count in sql?

528


What is foreign key and example?

521


Is it possible to include an insert statement on the same table to which the trigger is assigned?

567


What are different sql data types?

517


What is the difference between sql, mysql and sql server?

533






Explain how can you save or place your msg in a table?

597


What is the difference between jpql and sql?

556


What is pl sql and why it is used for?

577


how to calculate the difference between two dates? : Sql dba

552


How many unique keys can a table have?

563


what is the command line end user interface - mysql? : Sql dba

507


What does a pl/sql package consist of?

518


What is normalisation in sql?

553


How to run pl/sql statements in sql*plus?

594


Name the operator which is used in the query for pattern matching?

507