Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Indexing and Joins
Message
De
07/08/2001 08:36:02
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
07/08/2001 05:20:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00540551
Message ID:
00540600
Vues:
18
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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform