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



From the stand point of the query engine, there's a difference between
a DDS logical and an SQL index. Primarily, the SQL index has a larger
page size. But I _think_ there's more statistics kept also.

So yes, the SQE may ask for an index even if a logical with the same key exists.

To give the SQE its index and eliminate duplication of the access path, either:
--delete the logical and create the index with the name of the logical
(done correctly, file ID is the same and no programs need to be
recompiled.
or
--delete the logical, create the index, recreate the logical. The
logical will then share the access path from the index.

As far as answering if having the index is worth it, depends. How
many days did it take to get to the index recommended 61 times?

If you don't know, consider clearing the indexes advised. Then
checking again after a week or two.

HTH,
Charles



On Wed, Sep 2, 2009 at 1:42 PM, <JDHorn@xxxxxxxxxxxxxx> wrote:
  While reviewing the sql index advisor, it seems to be telling me to create
  a 64KB Binary Radix index over our customer file (which has only 31,000
  records in it) which currently has a ddl described logical file for it
  with exactly the same key (customer#).

  times advised-61, est idx creation time 6:59, most expensive estimate 419,
  average of queery estimates 108, records in table when advised 31374.

  does this seem odd?   is it worth it?

  it is doing the same thing over some other (vastly larger) files also.

  Jim Horn
  This email is intended only for the person or entity
  to which it is addressed and may contain information
  that is privileged, confidential or otherwise protected
  from disclosure. If you are not the named addressee
  or an employee or agent responsible for delivering
  this message to the named addressee, you are not
  authorized to read, print, retain copy, and disseminate
  this message or any part of it. If you have received this
  message in error please notify us immediately by email,
  discard any paper copies and delete all electronic files
  of this message.
--
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.