russellbcopeland
Programmer
Using SQL Server 2000
I have to delete appx 1 million records from a single table each day. The table contains appx 60 million records. This currently takes about 20 minutes which is way too long. The table will be growing by about 50 to 300% over the next 6 months. I need to delete these records FAST! Changing the structure of the database is not an option.
I have tried to find a way to delete records without logging but have not been able to find a method of doing this selectivley. (I can DROP or TRUNCATE but that wont do)
Any help would be greatly appreciated.
Thanks
I have to delete appx 1 million records from a single table each day. The table contains appx 60 million records. This currently takes about 20 minutes which is way too long. The table will be growing by about 50 to 300% over the next 6 months. I need to delete these records FAST! Changing the structure of the database is not an option.
I have tried to find a way to delete records without logging but have not been able to find a method of doing this selectivley. (I can DROP or TRUNCATE but that wont do)
Any help would be greatly appreciated.
Thanks