So, my predecessor before me some years ago decided it would be down-right neato to set up a SQL Server 2000 database to log hits to one of the websites my company runs. Well, needless to say, a database entry for every single file access is going to grow very large. After five years, the database has grown to a whopping 9gb. To make it better, he was using Full recovery mode...our transaction log was approaching 10gb yesterday.
Normally, this would be a drop in the bucket as far as storage goes...however, this guy, in his infinite wisdom, created a server hosting ~20 websites on a Pentium 3 800mhz box with 512mb RAM and two 36gb drives in a software mirror. Needless to say, the server is far from robust. It's not fast. It doesn't work very well. I've been migrating everything that I can off of it.
Now to the problem... This over-burdened piece of shit is out of space. I've switched it over to Simple recovery mode and shrunk the log file, and that freed up about 10gb of space. However, I need to get rid of this database, or at least delete some of the data in it.
Problem with that is that the server lacks the processing power to do anything about the data in it. I've tried deleting rows one at a time, everything before a specific date, as well as just plain deleting EVERYTHING. It always times out.
I'm fresh out of ideas. If anyone has an idea of how to remove data from this database, I'm listening.
Normally, this would be a drop in the bucket as far as storage goes...however, this guy, in his infinite wisdom, created a server hosting ~20 websites on a Pentium 3 800mhz box with 512mb RAM and two 36gb drives in a software mirror. Needless to say, the server is far from robust. It's not fast. It doesn't work very well. I've been migrating everything that I can off of it.
Now to the problem... This over-burdened piece of shit is out of space. I've switched it over to Simple recovery mode and shrunk the log file, and that freed up about 10gb of space. However, I need to get rid of this database, or at least delete some of the data in it.
Problem with that is that the server lacks the processing power to do anything about the data in it. I've tried deleting rows one at a time, everything before a specific date, as well as just plain deleting EVERYTHING. It always times out.
I'm fresh out of ideas. If anyone has an idea of how to remove data from this database, I'm listening.