My SQL is not performing well. Describe how will you fine
tune it?

Answer Posted / akbar

Use EXPLAIN to list out the access paths of several
different codes you come up with and choose the path that
got executed within the least time.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is cursor stability in db2?

813


Comment whether dclgen is mandatorily used. If not, then what is the point of using it?

614


What is a db2 package?

601


List some fields from sqlca?

613


How do I delete a table in db2?

651






have 3 tables table1, table2 and table3 which contains employee information. table1 is master table, table2 contains emp details like emp no and so on, table 3 contains emp salary. so if any emp leave company between 25th - 30th of every month it has to get updated in tables. but it is not getting updated. What is the reason.

1238


Can you tell me how can you find out the # of rows updated after an update statement?

612


What is db2 catalog database?

582


Explain about cursor stability?

625


What are union and union all?

541


What is the function of logging in the db2 database?

646


What is db2 purescale?

551


How do I delete a table in database?

601


How can you find out the # of rows updated after an update statement?

643


What's The Percentage Free Space ?

775