Nathan,
You are correct, when I closed/re-started Run SQL, the results
were nothing like 20x
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Nathan Andelin
Sent: Wednesday, July 31, 2013 1:50 PM
To: Midrange Systems Technical Discussion
Subject: Re: Sql statement vs Sql View performance
I would try your performance test using the STRSQL command and measure the CPU time consumed by your 5250 JOB under both tests. I'm not sure why Navigator might be reporting a 20X difference, but that just sounds fishy.
----- Original Message -----
From: Gary Thompson <gthompson@xxxxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Cc:
Sent: Wednesday, July 31, 2013 9:15 AM
Subject: Sql statement vs Sql View performance
I have an SQL statement I use to list current customers requiring an EDI 856 ASN for delivery.
I created a view to make this "list" readily available.
An Sql statement (select * from asnview) against the view runs slower than the Sql statement the view is based on; requiring about 20x time using Sys i Nav Run SQL Scripts stats ?
(time diff not noticeable in runsql)
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list 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.
As an Amazon Associate we earn from qualifying purchases.