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



So, playing devil's advocate here:

I have no idea if our products have ever built a view or an index over system tables, but...... If my software relies on info from those tables, and my queries performed poorly due to lack of indexing, what else would you have the vendor do? Petition IBM to build the indexes? And then they MIGHT show up 6 month from now in PTFs.

-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxx> On Behalf Of David Gibbs
Sent: Thursday, November 15, 2018 10:34 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject: Re: Do third party products add access paths to system tables often?

On 11/15/2018 10:28 AM, Mark Waterbury wrote:
It depends in part on what you mean by "a system table." Do you mean
a 3rd party product added an SQL index or view (or even a traditional
DDS-based LF) over an IBM-supplied table that is part of, or shipped
with, the OS?

I'm talking about an access path built over a file in QSYS or QSYS2.

So, what's the real issue here? Can you explain what kind of
problem(s) this incident (support case) caused?

We had a program that was reading a system table in arrival sequence (no sort order specified on the OPNQRYF) and were getting the data in unexpected order.

After running the program in debug, we saw that an unexpected access path was being selected, so we were getting the data in a specific order.

Granted, our program should have specified the sequence instead of relying on it being in the correct order.

None the less, I'm wondering if it's common place for 3rd party products (or even end users) to create access paths over system tables.

We were able to resolve the issue, but it was surprising that it was encountered at all.

david

--
David Gibbs
midrange.com

IBM i on Power Systems: For when you can't afford to be out of business!

I'm riding 615 miles (Yes, you read that right) in the American Diabetes Association's Tour de Cure to raise money for diabetes research, education, advocacy, and awareness. You can make a tax-deductible donation to my ride by visiting https://lsteml.diabetessucks.net.

See where I get my donations from ... visit https://lsteml.diabetessucks.net/map for an interactive map (it's a geeky thing).

I may have diabetes, but diabetes doesn't have me!
--
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: https://amazon.midrange.com

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.