Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Any plans to increase the table size from 2 GB(Microsoft
Message
De
03/02/2004 02:04:20
Dorin Vasilescu
ALL Trans Romania
Arad, Roumanie
 
 
À
02/02/2004 22:25:27
Gerry Schmitz
GHS Automation Inc.
Calgary, Alberta, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00872674
Message ID:
00873285
Vues:
20
>I think there is a big difference between simply having a TAG on DELETED(), vs a TAG on DELETED ** FOR DELETED() **; ie. the former indexes ALL records, while the latter only indexes "deleted" records.
>
>I use DELETED() tags all over the place, since I do record recycling, and haven't really noticed any problems ...

Hi
That's because filtered indexes are not used in Rushmore optimisations.

I've made some tests in the past and I came to the conclusion that indexes with low selectivity can make queries much slower than without them, specifically on low bandwith networks (we had 10M network at the time) and tables with many records.

If is about a table with millions of records, a query that selects 500 of them will be much faster without a tag on DELETED(), with SET DELETED OFF and the HAVING !DELETED() clause in query, no matter if the query is "fully optimisable" in both cases.

Dorin
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform