I had a issue like that and solved it with changing the value of IGNORE_DERIVED_INDEX in file QUSRSYS/QAQQINI to *YES.
Bruce "Hoss" Collins
Project Leader/System i Administration
AAA Cooper Transportation
(334) 671-3106 Direct
(334) 796-0447 Mobile
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-
bounces@xxxxxxxxxxxx] On Behalf Of DebbieKelemen
Sent: Wednesday, July 30, 2008 10:54 AM
To: 'Midrange Systems Technical Discussion'
Subject: SQL Performance Question
We have some "SQL" processes that were written by our web development
They were made into stored procedures on the iSeries. When they run
website, they take 15 or 20 seconds, some times more to run. Yet, if
take the SQL and run it in Navigator, it takes about 450 ms to run.
Any ideas on how to improve the performance of these stored procedures?
I have created the "suggested" indexes and still no improvement.
Sr. Programmer / Analyst
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives