How can you tune SQL statements?

Answer Posted / balakrishna

SQL Statements can be tuned depending on the Database,
different DBMS provides different types of the execution
plan, Oracle provides "Explain Plain" which explains the
cost of the query. Using which we can estimate the cost and
make the necessary changes like creating indexes........

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a statement?

580


Once I have the Java 2 SDK, Standard Edition, from Sun, what else do I need to connect to a database?

546


What are the factors that the jdbc driver performance depends upon?

525


Why do we need jdbc?

580


Why resultset is used in java?

506






What are common JDBC Exceptions?

550


What is JDBC PreparedStatement?

531


Why do I get UnsatisfiedLinkError when I try to use my JDBC driver?

570


Explain the life cycle of jdbc.

645


What is the difference between setmaxrows(int) and setfetchsize(int)?

562


Does jdbctemplate close connection?

501


What are the basic exceptions in jdbc?

528


What is jdbc and odbc?

510


What is executeupdate in java?

476


What are four types of JDBC driver?

570