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



Indexes are for performance enhancement. For example, let's say your
table is really large. And you use that view. If you look at the system
index advisor it may recommend creating an index over the table by that
column. You might never directly access that index but it may help
performance.

The problem you are having with trying to combine an index and a few is
that indexes aren't meant to be quite that dynamic. Newer versions of the
OS support where by clauses and other interesting matter in an index. For
example, you can have WHERE STSCODE='A' in an index. Much of this was
built to allow sql to define a much larger percentage of the logical files
created by DDS than it could previously. However an index still has to be
geared towards performance. Doing an index by current date would be no
different than creating an index by STSCODE and expecting it to be by 'A'
one day, by 'Z' another and by 'R' the next. Normally not even a business
case for such a beast but that's not my point. The point is that it's
harder to really only select down those records and then automatically
change the criteria at break of day and still get the performance wanted.


Rob Berendt

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.