Hi all,
I want to create partition formation on some of our tables (we have SQL Server 2008 env').
The partition key will be date based.
I've got several question, would appreciate you assistance.
- Is there a rule of thumb regarding the recommended amount of rows per partition?
- Is there any special problem creating a partition function with different intervals?
I mean for example, that the data from 2008,2009,2010 will be based on yearly partitions, and from 2011 and on it will be on a monthly based partitions. - Is it recommended to create a different partition function/scheme for each of the tables (they will be identical except their name) or can I create one monthly and one yearly partition function/scheme and assign the tables to them? What are the consequences for each option?
- We have ~15 tables that we consider partitioning them.
We want to keep all the data, hence only a split mechanism is needed.
I thought to create a management table that will contain all the information on the different partition tables and to create one procedure that will run on all the partition functions and will split them.
Another option will be creating a different procedure for each of the partitioned table.
I prefer the first option because of its manageability, but I don't know if it can cause issues/contentions.
Thanks in advance for your help !
Roni.