Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

data archiving Expand / Collapse
Author
Message
Posted Friday, August 22, 2008 10:28 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Monday, June 15, 2009 12:57 PM
Points: 32, Visits: 114
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
Post #557515
Posted Friday, August 22, 2008 12:05 PM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Today @ 9:27 AM
Points: 1,418, Visits: 2,082
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
Post #557555
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse