Archiving Data Warehouse Data
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
This topic outlines steps that are needed to archive and delete unneeded data warehouse data.
See Deleting Data from the Data Warehouse for more information about how to properly delete data warehouse data.
To archive Data Warehouse data
Make sure that there are no imports or report queries running against the Data Warehouse for the best archive performance.
Copy the full production database to an archive database.
Delete all the data from the archive database that is newer than what you want to remain on the archive database.
Archive the database that has been reduced.
Then, copy the full production database to another database (the new production database).
Delete the data that was archived in steps 3 through 4 from the new production database.
As soon as the old data has been removed from the 'new' production database, and the data has been verified, the 'new' production database can replace the current production database.
Some of the largest data tables (for example log user, URI) will not be affected by the deletes because the data in these tables is not date based. Insert performance after archiving may not change significantly because of the time that is needed to search these large tables.