Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deleting millions of records
Message
De
05/09/2013 18:11:22
 
 
À
05/09/2013 18:05:02
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Web
Divers
Thread ID:
01582347
Message ID:
01582348
Vues:
69
This message has been marked as a message which has helped to the initial question of the thread.
One way is to turn off transactions

If you're going to repopulate from production, just backup the production database then restore on the test server. No need to delete existing rows.


>I need to remove about two millions records from a table. This is because on a development environment, I need to start from a fresh copy of the production. However, when deleting so many rows, it takes a very long time because of the log process. How to delete all the records without having this log process to slow things down?
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