Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have lot of libraries in a SharePoint project, where I work. I'm working on a separate tool (console application), that uses object model to push large amount of files into SharePoint libraries.

Now, my bosses want to change to Remote BLOB Storage (and RBS is new to me). Mostly because SQL server is choking on large amount of data (I'm pushing gigabytes of data and it takes hours). And now we're expecting, that it would greatly improve, when the data is written to super-fast disks instead of DB.

My question is - is saving files to RBS any different than normal SharePoint lists? This is excerpt of my code:

FileStream fileStream;
//get file from some network location
filestream = GetFileFromSomeNetworkLocation();

SPFile spFile = spWeb.GetFile(myLibraryPath);
spFile.SaveBinary(fileStream);

If there is now RBS, do I need make changes?

share|improve this question
1  
It's supposed to be transparent. –  Steve B Jun 21 '12 at 9:32

2 Answers 2

up vote 5 down vote accepted

No, SharePoint will take care of that internally for you.

share|improve this answer

Also, if not already enabled, you may want to enable BLOB Caching on the WFE servers. This will not improve upload performance, but it will help in downloads by storing frequently used data into the WFE servers memory (saving you a round trip to the DB).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.