Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is it reasonable to have index on DELETED()?
Message
De
10/03/1999 14:46:45
 
 
À
10/03/1999 14:45:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00196021
Message ID:
00196023
Vues:
41
Andrus ---

If you don't have a lot of deleted records, you won't notice much difference but if you do, having a tag on DELETED() is well worth it. It really does speed things up.


>I'm using a lot of sql selects to select data from big free dbfs.
>Those tables have very few deleted records and where clauses are written so
>that Rushmore finds always a index tag to use.
>SET DELETED is ON always.
>
>Will the performance increase if I add
>
>INDEX ON DELETED()
>
>to those tables? Will select queries run then faster?
>I have read some recommendations to have index on deleted() in each table
>to avoid sequential scanning of the deleted records by select. Is this true?
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform