Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Slow performance during deleting item

$
0
0

Hello

We have a requirement to migrate Issue Tracking List from SharePoint 2003 to SharePoint 2010 including versions and want to maintain old issue id in new sharepoint 2010 Issue ID. Lets say in Sp2003 issue list I have Issue ID like 1,3,5,12,32. Now I want to maintain same Issue ID during Migration. So I have put up a logic that in whenver new item will create in Issue List migration, it will check Sp2003 Issue ID is matching with SP2010 Issue ID or not. It it match it will add a item in Sp2010 Issue List, If it will not match then it will add and delete the item until SP2003 ID issue ID not match with SP2010 Id. This logic is working perfect.

The problem I noticed that the migration performance is very slow, because we are inserting the record and delete the record which is not matching. In my Sp2003 Issue list I have 6000+ items and each item have n number of versions.

My questions is that is this slow performance is because of Deleting each record, as I know that each delete action makes a request to the server and if it huge list is going to take a long time.

If I dont delete the item which is not matchiing and update their title fields (update "DummyDelet") and at the end of migration, I will delete all those items where "Title" fields = "DummyDelete" using CAML. Will this improvethe performance?

Please advise

Avi


Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>