Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Frustrated with the performance of 3.0 over 2.6
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00026002
Message ID:
00026192
Vues:
46
>>Yep, this application has to work on 3.x for a while, but let me
>>ask you guys, I understand that it takes forever to load a
>>complicated form, even that in 2.6 it doesn't, but I don't
>>understand why it has to take forever to save or update a record
>>in the table, I can live with some bugs, so far I have found
>>workarounds for most of then, but every time that I need to click
>>on "Save" I think it twice, and if you use views is worst...
>>And I think is not a hardware problem, our low end computers are
>>Pentium 75 with 16 mb, but it doesn't make a difference with ours
>>Pentium 166 with 32 mb, any comments on that?
>
>No not a hardware problem. This all depends on how you open the tables, what relations are in place between tables, what was the sql used to generate the view and more. Moral of story is
>
>1. always make sure any sql is rushmore optimized
>2. becareful of creating too many relationships between tables, especially
>if these are coded in sections that are activated frequently like the activate event of a form.
>3. don't load a table for a control until you need the control
>4. don't release a form if you will reuse it a lot in the app once created.
>5. never create large arrays (>1000 elements)
>
>and many more optimization techniques.
>
>Be very cautious about complex forms with pageframes as they can really be slow.
>
>Try and open tables in via the data environment it is faster.
>Use the with command, its faster than renaming the object each time.

Thanks a lot for your suggestions Todd,
I have done everything that you say, my only question is how many
relationships are considered too many ?, so far I need 10, and
also in which sense is the data environment faster, because I
don't notice the difference in using it or not, I'm going to
try to get rid of the relationships to see what happens.
Thanks again for your suggestions.
Luis Guzman, MCP
"The only glory most of us have to hope for
is the glory of being normal." Katherine Fulleton Gerould
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform