Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid performance. Need more help
Message
De
28/05/1998 13:28:47
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
28/05/1998 13:18:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00101832
Message ID:
00102806
Vues:
31
>>>>Carlos,
>>>>I think you wouldn't want to do this (I did). Instead of using the large child, select related child recs into a read&write cursor, use table buffering, edit/append, loop through modified and update original. It's exceptionally fast with large tables.
>>>>Cetin
>>>
>>>Well, if there are not other solution i'll do it. What about a updatable view? I've asked this to edwars pickman too, but i've never used views.
>>Sooner or later you'll use them and a good solution. But I wonder if it will be an answer to your speed problem (if a parameterized view then probably would). I still couldn't get why a child grid would be so slow. Are there many deleted recs and no tag on deleted ? (Already I know you use no set filter nor activerow). Might it be your calculations should be optimized ? ie: how do you calculate (each time and SQL or scan..endscan) ?
>>Cetin
>
>My calculations are only numeric ones from fields on the same record of the table. No need to move record pointer. sample: (mutua.base * mutua.indice / 100). I've supressed other ones like count, select etc.
Carlos,
So we are nearly having no more choice than a view. Your buffering was pessimistic ? What about setting it to optimistic and only parent to pessimistic ? Pls this time some performance gain.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform