Suppose I have a program which uses a dynamic SQL and it
has been performing well till now. Off late, I find that
the performance has deteriorated. What happened?

Answer Posted / s

Check if it is a DB2 problem or not. If its a DB2 problem ,
It depends !!!
Check the access path and see if there is a problem.
RUNSTATS may be necessary to update the statistics if the
data characteristics has been changed.
OR
Check for locking problems
OR
Check for failed messages

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the contents of a dclmgen?

628


What's The Error Code For Unique Index Voilation?

648


List some fields from sqlca?

609


What is host variable in db2 cobol?

600


Hi Everyone... Under the Logical files, when am working on multiple rec format logical file, I have joined two pf's using the multiple record format logical file concept, but when i run queried the LF only the first mentioned pf records are reflecting and I am not able to see any of the field records specified under the second pf. Kindly let me know whats the reason behind this. Below is the str of LF., R rec PFILE(LOGICAA) CUSTNO CUSTNAME BILL K CUSTNO R rec1 PFILE(LOGICAA1) CUSTNO ADD K CUSTNO .....

1896






How and when does the db2 enforces the unique key?

613


What is iseries database?

596


What is meant by dclgen?

618


Explain about dbrm.

607


What is a trigger in the db2 database?

592


Define declaration generator (dclgen).

665


List down the types of triggers in the db2 database?

588


If I have a view which is a join of two or more tables, can this view be updateable?

688


What is database manager in db2?

549


How does coalesce work?

582