ChetWest schrieb:
[color=blue]
> Db2 gurus...
>
> I am fairly knew to DB2. We just migrated to it from Oracle (not
> sure why other than money). Anyways, we have a situation where one of
> our test databases is performing very badly. It is setup just like
> production and has all the same config settings, data and objects as
> development. The application has the ability to update multiple
> records at once. (Example: Update 5 employee records to all include
> "Mr." on their salutation.) On Production and Development this runs
> in seconds. But on our test instance/database it takes up to 15
> minutes. The user session stays in a status of "compiling" and says
> it is building dynamic SQL. The user process on unix (AIX) hits its
> maximum CPU usage, but there is very little I/O. Once the status
> switches to "executing", it runs fairly quick (seconds). On a very
> few occaisions it will execute for a minute then error out with query
> too complex.
>[/color]
Did you reorganize the table? Are indexes the same?
Regards,
--
Burkhard Schultheis
Tele Data Electronic, Wagnerstr. 10, D-76448 Durmersheim
Email:
schultheis@tde-online.de
Phone: +49-7245-9287-21, Fax: +49-7245-9287-30