Hi All,
There is any way to change partition scheme from left to right without dropping Table in production.
I am doing testing on Table Partitioning & requirement is to do partition (3 Partitions Only) on DateTime column & then load the data to (IN table which is empty) & then Switch in to Main (MAIN Table). Table is having 307 millions records. Currently I have done left Partition on the table & want to change to Right to test the Merging of last boundary value& Split Latest Boundary & then Switch in.
While do so for Left Partition Merge is taking hell of time & All tables getting locked on this schema till merge is done. Why this is happening bez
Partition -1 (All Data around 300 Millions)
Partition-2 (Latest-1 Data 6 Millions)
Partition-3 (Latest Data 6 Millions)
Partition-4 (Empty)
With Left partition When trying to merge Partition-1 It is moving (All Data around 300 Millions) to Partition-2 & taking lots of Time.
I want to Test same thing with RIGHT Partition but I don't want to Drop the Partition Table (Left Partition) Just want to change the Function/Schema from Left to RIGHT. There is any way to do this.?
Same questions I got below but no ans:
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/62d61b89-1d8c-42fd-8b8c-982f5cc892d9/change-partition-scheme-from-left-to-righthttp://sqlblog.com/blogs/kalen_delaney/archive/2009/08/16/altering-a-partition-function.aspx
http://www.sqlskills.com/blogs/kimberly/clarifying-left-and-right-in-the-defintion-of-a-partition-function-in-sql-server-2005/
Thanks Shiven:) If Answer is Helpful, Please Vote