Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Managing deleted records
Message
De
25/07/2008 12:00:36
 
 
À
25/07/2008 11:44:36
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Maintenance bases de données
Divers
Thread ID:
01334090
Message ID:
01334093
Vues:
8
>With the Express version of SQL Server, are deleted records in the tables handled the same way they are in VFP? By that I mean, does a deleted record remain in the table until it is PACKED or flushed by some other means? If yes, what means would that be?
>
>Also, when a table is managed via a web interface and accumulates deleted records fairly quickly, what techniques are commonly used to flush the deleted records? Is there a way to easily automate this so administrator functions are minimized and the database doesn't need to be taken off line? (This question pertains to both types of databases, SQL and VFP)
>
>Thanks

Bill answered your first question. As to the second, 'it depends'. Our system incurrs a lot of inserts deletes and our data model is deep (great-great grandchildren). We found that deletes were causing contention issues. We adopted the FoxPro approach by adding a column for deleted. Our SP filter on this column. We run a nightly scheduled batch job to perform the 'pack'. Our approach should not be required for a simpler datamodel.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform