August 22, 2008 at 10:28 am
Hi members,
I have some tables in my database and in each table every month fresh data gets added to the previous data. The approximate size of the data that get added to the tables is 1.5 - 2 million records and my Project Manager wants to archive the data. She wants only 6 months of data in main table and rest of the data should be archived to respective archive tables.
Can anyone explain me how to archive the data in a table and what are the methods in archiving the data. Please suggest me along within an example and also explain me how to access that data which is archived later point of time when all my procedures initially referring to the main table.
Thanks in advance
sai
August 22, 2008 at 12:06 pm
If you have the enterprise version of SS2k5 you should seriously check about partitioning. (SWITCH, MERGE etc)
http://msdn.microsoft.com/en-us/library/ms345146(SQL.90).aspx
With that you will be able to move millions of rows very very quickly
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply