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



Well, thanks for taking the trouble; I confess to avoiding the Information
Centre as I find the drilling up and down the links makes it hard for me to
retain details; I prefer to read an actual document.

On Tue, Jan 23, 2018 at 9:59 AM, Rob Berendt <rob@xxxxxxxxx> wrote:

neither. Just a busy day and firing a shotgun blast your way.


Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





From: Evan Harris <auctionitis@xxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Date: 01/22/2018 03:56 PM
Subject: Re: List of SQL Statements run on system by time and date
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>



Hi Rob

I'm sensing (maybe) a tiny bit of sarcasm here which is fine as I love
sarcasm; if that was not intended then please accept my apologies :)

Out of interest, have you actually read the documentation provided by the
links you sent through ? Some of it's pretty superficial, and reads like
programmer comments that are just re-stating code.

Based on your reading of the docs are you able to tell me if the number of
times run in the statement summary is for the time period selected in the
cache snapshot or for the life of the query ?

Did you find anywhere it indicated you could get a list of statements for
a
time period.


On Tue, Jan 23, 2018 at 9:27 AM, Rob Berendt <rob@xxxxxxxxx> wrote:

Does the documentation on "Plan Cache Procedures" or "Utility
Procedures"
help?
https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_73/
rzajq/rzajqservicesdb2.htm


Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





From: Evan Harris <auctionitis@xxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Date: 01/22/2018 02:57 PM
Subject: List of SQL Statements run on system by time and date
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>



Hi

I am doing some performance investigation and would like to retrieve a
list
of statements run by time and date in order to examine the statements
run
at particular times of the day when CPU spikes.

I don't have performance tools or job watcher installed on the system
but
I
could get this done if it is the solution to my question.

I do have collection services running and I have extracted SQL Cache
snapshots to review the statements for particular periods.

I have some questions about the SQL Cache, for instance, if I run a
cache
snapshot selecting statements that ran after a certain date or time, the
statistics for the statements included in that snapshot look to be for
the
lifetime of that statement rather than for the just the period included
in
the snapshot.

Is there a decent reference that anyone is aware of as to what is
included
in the Cache snapshot and how to interpret/query the contents ?

--

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

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD


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

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD




--

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

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD


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

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD





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.