Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is it reasonable to have index on DELETED()?
Message
De
14/03/1999 14:54:35
 
 
À
10/03/1999 21:59:39
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:
00197406
Vues:
32
Chaim,

If there is a large table with few deleted records, why you create
index on deleted()?
As you said, this will not increase perfomance, but instead of this,
perfomance will DECREASE during updates since a garbage index
need to be updated also.
So it is not reasonable to create index on deleted() !


>Hi Andrus,
> It is true, if you use SET DELETED ON, you need an index on DELETED(); otherwise, VFP must scan the entire table to determine which records are deleted. However, if the table has just a few records, then you don't need an index. For any table over 1000 rcords or so, I would create the index.
Andrus
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform