Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tableupdate() a large amount of records
Message
De
25/08/2004 11:25:38
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00936296
Message ID:
00936321
Vues:
19
Hi Mark

Thanks for the reply. That is an interesting idea to use MSDE or SQL Server for the archived tables. For now though, I think I'll just stick to foxpro. But if it turns out this mechanim is way to slow because of checking for the 2gig/1 billion rec limit I'll make that suggestion to the powers that be. Speaking of my question from yesterday, I decided to check every 10000th record. We are only going to use 90% of the limits so I'd really be checking for 1.8 gig/900 million records.

It sounds a lot like him to commit every 100th record so that the changes would be seem faster. I was just wondering if tableupdate could fail on a large number of records, but what you said makes sense.

Thanks,
Chris

>I remeber your post from yesterday. Now, how about something totally radical. Why not install an instance of MSDE or SQL Server and archive the data to that? MSDE I think has a table size limit, but if it does, it is greater than VFPs.
>
>The other developer may have been commiting buffered records that frequently because of network instability. Either that, or the speed perception may have been better by commiting every 100th record instead of waiting until then end then committing them all at once where the wait could could have been substantial. Of course the overall time would still be the same. Maybe he also checked the table size after every 100 records to see if the 2GB limit had been reached instead of using a calculation.
>
>>Hi,
>>
>>I'm working on a mechanism that is going to archive a couple of large tables. (you may have read my question from yesterday) A tremendous amount of records would be tableupdated at the same time. I saw somewhere else in our software a developper was commiting the buffers every 100th record. That developper no longer works here so I can't ask him about it. Would it be a good idea for me to do something similar? Also, why would it (or not) be a good idea to do it that way? We are using VFP 6 with VMP (version 4) framework.
>>
>>Thanks,
>>Chris
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform