I have a corporate server and around 50 remote clients. Images are added to Remoteclients and these Images are merge replicated to CorporateServer. Now initially all these images were on BLOB. We have decided to use filestream and create a new table containing Image binary. So we have partioned the original Image Table to Image and new table Image_Source.This is on production and Corporate data size is arnd 250 GB.
Now we have the following Tables:-
- Images
- Images_Source
I have to do the following things.
- Add this new table to publisher and merge replicate it to subscribers.
- Copy all image blob from Images and transfer it to Images_Source.
To Achieve this i will do the following things:-
- Add new table to Publisher on corporate and turn Replicate Schema Changes to True. This way schema will be synced across corporate and RemoteClients.
- Now on corporate, I will disable the triggers for Images_Source table, and move data from Images to Images_Source table using a Job.
- Once all data is there in Images_Source table, All subscrbers will sync.
Now I want some expert advice on the correct procedure for doing this kind of changes. If you guys could share your experiences and Things to remember before performing such a change.