More DBA job interview questions and answers at
http://dba.fyicenter.com/Interview-Questions/
(Continued from previous question...)
Suppose I have a program which uses a dynamic SQL and it has been performing ...
Q: Suppose I have a program which uses a dynamic SQL and it has been performing well till now. Off late, I find that performance has deteriorated. What happened?
AN:
There may be one of the following reasons:
probably RUN STATS is not done and the program is using a wrong index due to incorrect stats.
probably RUN STATS is done and optimizer has chosen a wrong access path based on the latest statistics.
(Continued on next question...)