Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Easy One: Deleting Records (for good!)
Message
De
11/12/2001 07:06:16
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
11/12/2001 00:24:11
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00592432
Message ID:
00592579
Vues:
17
>So, if I'm not using SDT, what is the best way to handle "the pack". (The fact that I'm a huge fan of the Packers notwithstanding.) Say you delete records, eventually you want to clean them up? When is the best time? Right after the transaction? At shutdown of the program? At startup? Making it a utility that the user runs???
>
>Thoughts???
>
>Paul
>
>P.S. The Pack is really back.

I would say, do the PACK once a month. Or do a more accurate analysis: when is the number of deleted records greater than a certain percentage of reccount()? When it gets to more than, say, 10-20%, do the PACK.

Depending on concurrent use and size of tables, give your users either a menu option in the main application, to run directly, or a separate EXE with instructions to run at midnight ("use the Windows Task Manager").

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform