SQL Server 2000
I have a database with 9 months worth of data and am trying to get it down to 6 months worth of data. The database was created by a third-party application and I have to use a 'purge' command they supply. I'm trying to find the quickest way to delete a set amount of data (not all of it).
Currently, I am deleting data while the database is online and in use. It takes about 3 hours to delete around 1 million rows.
I am unable to test doing the delete with the database offline and we don't have a test system. What I would like to know is: has anyone done a comparison of the difference in time when deleting from an offline database vice an online database?
-SQLBill
Posting advice: FAQ481-4875
I have a database with 9 months worth of data and am trying to get it down to 6 months worth of data. The database was created by a third-party application and I have to use a 'purge' command they supply. I'm trying to find the quickest way to delete a set amount of data (not all of it).
Currently, I am deleting data while the database is online and in use. It takes about 3 hours to delete around 1 million rows.
I am unable to test doing the delete with the database offline and we don't have a test system. What I would like to know is: has anyone done a comparison of the difference in time when deleting from an offline database vice an online database?
-SQLBill
Posting advice: FAQ481-4875