Can any one tell me how to increase the performance of a
sql query ie what are the performance tips in creating or
writing a sql query !!?

Answer Posted / sathishrpillai

Hii..
for optimization of sql query
1.don't use select * from,choose particular fields itself
2.don't use both OR ,AND in same query
3.Minimise the use of aggreagate functions such sum,count
4.don't link unneccessary tables

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why coalesce is used in sql?

467


Explain the savepoint statement.

593


What is the use of nvl function?

607


What is varchar sql?

606


What is dml with example?

508






How can we link a sql database to an existing android app?

542


what is oltp (online transaction processing)? : Sql dba

525


Does google use sql?

504


What is view explain with example?

511


What is the sql*loader? : aql loader

583


Why sql query is slow?

573


what are the other commands to know the structure of table using mysql commands except explain command? : Sql dba

547


How would you convert date into julian date format?

585


how to dump a table to a file with 'mysqldump'? : Sql dba

543


Does sql*plus have a pl/sql engine?

559