×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Have you run the statement through Visual Explain?

Can you post the statement and the current indexes?

Charles

On Wed, Dec 14, 2016 at 11:25 AM, a4g atl <a4ginatl2@xxxxxxxxx> wrote:

That I have, but it's now taking more than an hour to build the index.

Guess I made need to go back and create a join logical file. I do not
remember when I last did one.

Darryl.

On Wed, Dec 14, 2016 at 1:05 PM, Charles Wilt <charles.wilt@xxxxxxxxx>
wrote:

You can't create an index over a view.

All you can do is create an index for each table with that tables keys.

Charles

On Wed, Dec 14, 2016 at 10:24 AM, a4g atl <a4ginatl2@xxxxxxxxx> wrote:

I need to create an index that is built over 2 tables where there are 3
keys. The first is from table A and the next 2 are from Table B.

My files are large, 10 million records in the first and 1 million in
the
second.

I have an inner join that works but it takes about 20 minutes to create
the
index each time.

I need to build a permanent index.

Its been some time since I last did something like this.

I would not like to create a joined logical file.

TIA

Darryl Freinkel.
--
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.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD

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

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD

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

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD


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