Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What does Pack do?
Message
De
17/06/2014 09:42:20
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01601949
Message ID:
01601963
Vues:
54
Blocksize 0 is not a good idea.

To further explain....

If you edit an existing memo and the new data can fit in the existing allocated block, it will be used. Only if it is too big will it allocate new blocks. So, with blocksize 0, space will be allocated EVERY TIME you edit a memo. Even adding a new memo could cause huge bloat issues.



>Thanks for all the replies
>What I didn't understand is where the bloat is coming from and the entries in the table, including the memo fields, are not editable by users. Also out of 900,000 records the number of deleted records are 8-10 so the bloat is not coming from there.
>I have set blocksize to 0 in the calling prg, however the table was most likely not created with the blcoksize parameter set to 0, so your program above should sort that out. I think that this situation best explains the bloat that I am seeing
>Thanks for the reading material Tore, it explains the bloat, expecially with the blocksize parameter.
>The file is that bit too big and used too often and in too many places to have a running pack command at each use, I was thinking about running a nightly run that tries to pack.
>~M
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform