Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Indexing and Joins
Message
From
07/08/2001 08:36:02
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
07/08/2001 05:20:53
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00540551
Message ID:
00540600
Views:
23
The way you wrote the join, it will almost surely benefit from the additional index.

Sometimes, if you use more than one condition, some indices may actually decrease performance.

For more information:

1) Search the manual for "Rushmore Optimization"

2) Read my notes in FAQ (check for "recent entries").

Hilmar.

>Hi
>
>This is an indexing question.
>
>I have 2 tables with the following statement:
>
SELECT * FROM Table1;
>  LEFT OUTER JOIN Table2;
>    ON Table1.Field1 = Table2.Field1;
> etc. etc.
>
>Right, Table2.Field1 is indexed, but Table1.Field1 is not, will it make a difference in performance if Table1.Field1 was indexed?
>
>Thanks
>Kev
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform