Modiyooch
370 pts. | Jun 3 2009 3:21PM GMT
yes, we had a normal shutdown and restart after the failure. The only indication of a problem other than poor program performance was that a lf with heavy usage had not been used since the initial failure. I was just hoping to better identify this situation without finding out from the users when their programs become grossly inefficient. thanks for the input
Cwc
3825 pts. | Jun 4 2009 1:24PM GMT
You can also use the database monitor from a command line (STRDBMON), to see why the query engine is rejecting that index.
Graybeard52
2355 pts. | Jun 5 2009 2:24AM GMT
Two things that will simply kill you on SQL performance:
1. Writing a query over a logical file.
2. Writing a query over a PF where ANY logical has select/omit or other derived keys, unless QAQQINI has been told to ignore derived indexes (default is to NOT ignore).
Otherwise, try deleting the SQL packages and let the system rebuild them.
BigKat
2480 pts. | Jun 5 2009 5:16PM GMT
It is also possible that you have crossed some magic combination of number of records, etc, that now causes the query analyzer to build a different (and less efficient) plan






