|
Hi dudes, i'm the fresher on SQL. and I've to know what is the importants of SWITCH in table partitioning.??? I've created one table partition month-wise. totally 12 partitions i made it. Thanks in advance !!!
(comments are locked)
|
|
Switching partitions in and out is used for loading and archiving your data. Instead of making INSERTs and DELETEs in your working table (which might be a very busy table), you can load data for a month into a staging table, switch out the oldest partition to an archive table and switch your staging table in. If you want to go from basics to specifics regarding partitioning and partition switching, I'd recommend reading Kimberly Tripp's MSDN article Partitioned Tables and Indexes in SQL Server 2005 It's written in January 2005, but is still valid.
(comments are locked)
|

