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



If I agree that the index will be useful, I'll go ahead and create add with
the process Rick outlined.

However, I'll often add advised indexes into a PRDTMPIDXS library and then
go back in a week or so and evaluate how useful they have been before
adding them to Aldon.

Charles


On Tue, Dec 4, 2012 at 8:56 AM, <Rick.Chevalier@xxxxxxxxxxxxxxx> wrote:

I'm with Jim.

I haven't added a lot of indexes from index advisor but I had it show me
the SQL, copied and pasted it into a source member, and then tweaked it to
fit our coding standards as well as making Aldon happy.

I kind of look at it as the index is mine, not the systems. It told me
what it wanted but it is my job to provide it in the best manner possible
for my shop.

Rick

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-
bounces@xxxxxxxxxxxx] On Behalf Of Jim Oberholtzer
Sent: Tuesday, December 04, 2012 5:49 AM
To: Midrange Systems Technical Discussion
Subject: Re: Aldon & Index Advisor Indexes

Sam,

Instead of having index adviser create the index for you, use the "Show
SQL" option in the drop down(At V7 it's the third item) You will see
output like: (I just picked this one because it was near the top, it's
an
example)

/* Creating index BPCS6F.IIM_INDEX_00001 When creating this index the
database connection should have a sort sequence of *HEX.

-- System name: myhost.mydomain.com
-- Database: myhost Advised Indexes for myhost
-- Times Advised for Query Use: 6110480
-- First Advised: 7/22/12 8:05:44 PM
-- Last Query Use: 12/4/12 5:24:37 AM
-- Reason Advised: Row selection
-- Estimated Index Creation Time (seconds): 00:00:05
-- Rows in Table when Advised: 95434
-- Average of Query Estimates (seconds): 0.0001
-- Most Expensive Query Estimate (seconds): 3
-- Index Type Advised: Not unique */
CREATE INDEX BPCS6F.IIM_INDEX_00001 ON BPCS6F.IIM (IID ASC, IPROD
ASC);

/* Setting label text for BPCS6F.IIM_INDEX_00001 */ LABEL ON INDEX
BPCS6F.IIM_INDEX_00001 IS 'Index generated from Index Advisor';

You can strip out or modify the comments as needed. I also tend to
change
the names of the indices to indicate what they index, and change the
text.
Makes it much easier when you start getting a bunch of index objects out
there.

Now you can put the SQL into a source member and allow your change
control process to do its thing.....

Jim Oberholtzer
Chief Technical Architect
Agile Technology Architects


On 12/3/2012 8:32 PM, Sam_L wrote:
Index Advisor makes it very easy to create new SQL indexes. However,
I have to add them to Aldon LMi, either as a non-source object, or
create the source and use the same approach as with DDS.

Any Aldon users with an opinion pro or con?

The non-source object approach is the easiest but I have this
hankering for source under source control... I can get the source
back from Index Advisor, but then I have to hand tweak it to fit into
Aldon.

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



Privileged and Confidential. This e-mail, and any attachments there to,
is intended only for use by the addressee(s) named herein and may contain
privileged or confidential information. If you have received this e-mail
in error, please notify me immediately by a return e-mail and delete this
e-mail. You are hereby notified that any dissemination, distribution or
copying of this e-mail and/or any attachments thereto, is strictly
prohibited.
--
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.