× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



It depends.

If you're running static statements, then I wouldn't expect a view to
make much difference.

For dynamic statements, a view may help, as you've effectively made
part of the statement static. How much help the view is depends on
the view and the statements being run against it.

-Charles

On Wed, Sep 2, 2009 at 9:23 AM, Brian
Piotrowski<bpiotrowski@xxxxxxxxxxxxxxx> wrote:
Hi All,

Can someone tell me if there are any obvious overhead savings by using a view to access data on an AS400 as opposed to direct SQL requests?  I know there are obvious reasons for using a view (security, optimization, etc.), but will this result in less CPU usage?

As you may recall, we have had issues in the past with our QZDASOINIT job being an absolute pig and consuming a lot of resources on the systems.   We have combated this issue by reducing the priority on the QZDASOINIT jobs and are looking to move it to it's own memory pool.  Would the addition of moving these SQL statements to a view help?

Thanks,

/b;

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Brian Piotrowski
Assistant Mgr. - I.T.
Simcoe Parts Service, Inc.
Ph: 705-435-7814 x343
Fx: 705-435-6746
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
http://www.simcoeparts.com

--
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.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.