Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FPT file suddenly goes over 2GB
Message
 
À
24/04/2007 05:52:20
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., Nouvelle Zélande
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01219223
Message ID:
01219232
Vues:
23
>Colin,
>
>We are using a table which has an FPT file whose normal size is 45mb - every now and then it suddenly expands to over 2GB
>
>While a ftp can expand very quickly if you're doing replaces against large memo/general fields, VFP can't handle a ftp in excess of 2Gb. So it may well be an OS artifact. What server OS are you using?
>
>You might also consider using SYS(2012) against the table to check its blocksize. The ftp can grow alarmingly depending on the blocksize- e.g. if the blocksize is 32, VFP will allocate 16K per memo even if it only contains "Hello world". Add 100,000 records and your 1Mb of memo field will need a 1.6G ftp.

John

Sorry - forgot to mention that when I delete a couple of records and pack the file in question the FPT size reverts to the original 45mb

What is the ideal blocksize to allocate?
Specialist in Advertising, Marketing, especially Direct Marketing

I run courses in Business Management and Marketing
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform