Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Foxpro database and speed
Message
De
25/02/2004 09:09:02
 
 
À
25/02/2004 08:15:36
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00880597
Message ID:
00880667
Vues:
25
Hello Mike,

What does it change?

Why is this significantly faster?

>Hi Stephanie
>
>Also do not reference properties the way you did. Do this instead.
>
>
>LOCAL lnPCode
>lnPCode = THISFORM.pcode_n10.Value
>select * from p_optal where pcode_n10 = m.lnPCode order by date descending into cursor temp_pcode
>
>
>>Hi! My group and I are trying to benchmark the speed of the product we are currently developing. With just 10,000 records, this query runs pretty fast (by the way, we are trying to use the visual foxpro database for faster distribition and installation)
>>
>>select * from p_optal where pcode_n10=thisform.pcode_n10.value order by date_d desc into cursor temp_pcode
>>
>>and we tried to estimate the operation of the business using the software. We computed that in a period of 5 years, the table can have as much as 650,000 records and we encountered a slight problem in speed. It takes about 10-15 seconds to get the result using the same query i stated above. 10-15 seconds is a lot of time wasted for the operations, would any of you have a suggestion as to how we can speed up the process? Thanks and more power to the Fox!
*******************************************************
Save a tree, eat a beaver.
Denis Chassé
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform