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

-----Original Message-----
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
for our
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.

Debbie Kelemen
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,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

Return to Archive home page | Return to MIDRANGE.COM home page