Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Table size grows out of control
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00828523
Message ID:
00828550
Vues:
11
This message has been marked as the solution to the initial question of the thread.
Alex,

Every time you append data to a memo field, FoxPro allocates new space at the end of the memo (FPT) file. The space occupied by memo before that get lost. Thre're a few ways around it:
- do PACK MEMO from time to time
- Keep data in the files on disk and store only file names in the table
- Combine reports into file on disk during processing and append to the memo field only once at the end

>Ladies and Genteleman,
>
>We have a project where we are pulling data from the database to make reports. Each report is about 1K in size. Also these reports need to be batched by a common criteria. The way we were doing it was creating a record per batch in the cursor and appending the report data to that records memo field. If we have several reports per batch we append all the reports to that memo field in that record.
>
>Here is where the problem comes in. If we have a single report per batch the table is not growing terribly and we procede with a large number of reports processed. If we have the same total number of reports, but several reports per batch the table grows to over 2 Gig and exceedes the allowed limit.
>
>HELP!
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform