Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleting millions of records
Message
From
05/09/2013 18:11:22
 
 
To
05/09/2013 18:05:02
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01582347
Message ID:
01582348
Views:
71
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform