|
Kendall,
Run your script using ACS's RUN SQL and select the Visual Explain option.
It can show you what the Db2 engine is doing and give you suggestions for
optimizing your data access (eg. create an index9.
Regards,
Luis Rodriguez
--
On Tue, 25 Sep 2018 at 13:14, Kendall Kinnear <Kendall.Kinnear@xxxxxxxxxxx
wrote:
I have a Business Intelligence developer who has created a SQL query thatseconds
is acting weird. When they run it against production it takes a few
and works perfectly. When he changes the SQL to use a copy of one tablein
another library the SQL runs forever and has to be canceled. I'm tryingto
figure out where it is going haywire but I'm not seeing anything.intended
I'd really like to step through the SQL somehow and see what is what is
happening. Is that an option somehow?
Any suggestions?
Respectfully,
Kendall Kinnear
System Analyst
Standard Motor Products, Inc.
Work: 972-316-8169
Mobile: 940-293-7541
________________________________
Please consider the environment before printing this email.
The content of this e-mail (including any attached files) is confidential
and may be privileged and protected by law. It is intended solely for the
purpose of the person to whom it is addressed. If you are not the
recipient of this message, please notify the sender immediately anddelete
the message (inclusive of any attached files). In addition, if you arenot
the intended recipient of this message, any disclosure, copying,email
distribution or taking any action in reliance of the contents of this
is strictly prohibited.list
--
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: 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 mailing list archive is Copyright 1997-2025 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.