Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WAN and Visual FoxPro Database (Data Accessing speed)
Message
De
19/10/1999 02:24:25
Walter Meester
HoogkarspelPays-Bas
 
 
À
18/10/1999 22:01:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00276225
Message ID:
00278011
Vues:
46
Peter,

>Colin, are you working on a stand-alone machine? As long as you don't have to reload the Rushmore bit map, the tag on DELETED() will always help. This can be true also on a Network, so long as no workstation changes the table. In the real-world, most tables get changed fairly often. Thus a requery which is performed 15 minutes after the first query may well require reloading the NOT DELETED() bit map which in your case is about 35000 bits.

Even on a workstation the deleted() tag could be a burden. In general there is no significant benefit in query speed using a deleted tag (as you try to keep the number of deleted records as low as possible), but it really slows down appending or replacing data.

Most people who do tests whether a deleted() tag would help in query speed, forget that if full optimization is reached with a simple SELECT * query, VFP merely sets a filter on the resultset; thus execution time between the query with and without the deleted() tag can't be compared, because they won't return the same amount of records within the reported amount of time.

In general there is NO need to use a tag on deleted() !!!

Walter,
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform