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.
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
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
/* 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
/* 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
the names of the indices to indicate what they index, and change thetext.
Makes it much easier when you start getting a bunch of index objects outAldon.
Now you can put the SQL into a source member and allow your change
control process to do its thing.....
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
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,
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take
a moment to review the archives at http://archive.midrange.com/midrange-
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
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,
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
This mailing list archive is Copyright 1997-2013 by MIDRANGE dot 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 here. If you have questions about this, please contact