SQL Server 2005 Enterprise Edition - Windows 2008 R2.
I have never done a table partitioning and I am not familiar with the concept (Yes I have googleed and look at a couple of links). Now, I have been tasked with partitioning 6 large tables according to a date field (Or an ID column which is an Identity column).
The idea is to partition the tables and keep the latest 3 months of data in a fast-accessible partition the rest into another partition.The database has 2 files groups (1 Primary and Another). Some tables that need to be partitioned are in one and some in
another.
As an example of one table,
The table has a primary key that is on the ID column.
The table has a foreign key that is referring to another table that will not be partitioned.
In these conditions, how would you approached to the partitioning the tables ?. If you can assist me with some code, that would be grate too.
Thanks for any help.