admin管理员组

文章数量:1279188

I have a table with huge volume of data , and the same need to be get partitioned based on one integer column (purgeready) which only have two values 0 and 1. Since it is in production I want to perform this operation without disturbing the existing structure and data.
I tried to create nonclustered index on purgeready column and also mapped it with partition scheme. It found data is distributed correctly for two partition.

But while doing the switching it throws error that the index is partitioned but the table isn't.

Anybody can help on this or suggest any other way of archiving data without using delete and with minimal cost(Tools like ADF are not recommended since it demands extra cost).

本文标签: sql serverTable partition and switching on existing tableStack Overflow