Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Handling large data sets for web apps
Message
De
01/08/2001 10:44:22
 
 
À
01/08/2001 09:10:26
Information générale
Forum:
Visual FoxPro
Catégorie:
West Wind Web Connection
Divers
Thread ID:
00535271
Message ID:
00538313
Vues:
10
Dan,

SNIP
>I think this clearly demonstrates what you are saying. If you have one condition that has a small number of index keys and one that has a large number of index keys, you are better off having just an index on the set that returns the small number.
>
>As you have stated though, the data is changing all the time. Is the penalty that I am getting now about .1 to .2 worth constantly monitoring the data basically doing what Oracle or SQL Server would do - Kind of a crude statistics. I don't know.
>
Since this seems to be somewhat critical to you, it may well be worth "monitoring" intermittently. But you could probably devise a program to do this for you during off-hours, checking the current data content for known regularly used search criteria and evaluate if action is needed.
Of course you would also have to store the search criteria actually used in some table to ascertain which field(s) occur most often.

One thing I encourage you to do... the UT "Documents" section of this (VFP) forum has a document for "VFP 8 Wishes" and it is regularly reviewed/forwarded to MS' VFP Team. You could add 'cost-based optimization' (or whatever you would prefer as an enhancement) to the document.

good luck,

JimN
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform