Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

index in a remote table 1

Status
Not open for further replies.

Diogo

Technical User
Mar 22, 2001
143
PT
Hello.

I am making one join between two tables.
If i use two local tables it uses one index, if i use a local table and another one remote(with the same data), it already does not use no one index.

Why?

DR
 
Hi,

What do you mean with remote table? Is this federated table (nickaname)?

If so, then try to drop nickname and recreate it. This may help if index was created after nickname creation.

Hope this helps,
Grofaty
 
you can also give 'informational indexes' on nicknames.
So when you do have an index on the remote system, DB2 will know it and might use them.



Juliane
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top