Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Remote Blob Storage in SharePoint 2010


Published on

A quick intro to using Remote Blob Storage in SharePoint 2010.

Published in: Technology
  • liked the style of your presentation :) the concepts of RBS and EBS have been point of discussion when it comes to offload your blobs. here are a few pro and cons of both of the concepts,
    While EBS is part of SharePoint stack, it can take ownership of the BLOB as it has the context information of the BLOB and changes/deletes on it can be tracked through SharePoint. RBS has lesser context information of the BLOB being externalized; the metadata information has to be stored out of SQL Server. In case of EBS, every request either related or not must have to go through EBS whereas RBS only receives the relevant traffic.
    Are you sure you want to  Yes  No
    Your message goes here

Remote Blob Storage in SharePoint 2010

  1. 1. Remote BLOB Storage<br />Nathan DeWitt<br /><br />
  2. 2. What’s a blob?<br />
  3. 3. Blob: Super Villain<br />
  4. 4. BLOB: Binary Large Object<br />
  5. 5. Pictures<br />
  6. 6. Large Documents<br />
  7. 7. How do we store large files?<br />
  8. 8. In the database<br />
  9. 9. Why is that bad?<br />
  10. 10. Big files take longer to retrieve<br />Web server pages slow down<br />Requests stack up<br />
  11. 11. Bye-bye, uptime.<br />
  12. 12. Website is not accessible. Please try back later.<br />
  13. 13. Is there a better way? <br />
  14. 14. SQL Server 2008<br />FILESTREAM data type<br />
  15. 15. How do I do this in SHAREPOINT?<br />
  16. 16. Provision a Data Store!<br />use [Content_DB]<br />if not exists (select * from sys.symmetric_keys where name = N'##MS_DatabaseMasterKey##')create master key encryption by password = N'Master Key Pa$$w0rd'<br />if not exists (select groupname from sysfilegroups where groupname=N'RBSFilestreamProvider')alter database [Content_DB]<br />add filegroupRBSFilestreamProvider contains filestream<br /> <br />alter database [Content_DB] <br />add file (name = RBSFilestreamFile, filename = 'c:Blobstore') to filegroupRBSFilestreamProvider <br />
  17. 17. Install RBS!<br />PS C:> msiexec/qn /lvx* rbs_install_log1.txt /i RBS.msi TRUSTSERVERCERTIFICATE=true FILEGROUP=PRIMARY DBNAME="Content_DB" DBINSTANCE="SERVERNAME" FILESTREAMFILEGROUP=RBSFilestreamProviderFILESTREAMSTORENAME=RBSFilestreamStore<br /> <br />
  18. 18. Enable RBS for a Content Database!<br />PS C:> $cdb = Get-SPContentDatabase "Content_DB"<br />PS C:> $rbss = $cdb.RemoteBlobStorageSettings<br />PS C:> $rbss.Installed()<br />PS C:> $rbss.Enable()<br />PS C:> $rbss.SetActiveProviderName(<br /> $rbss.GetProviderNames()[0])<br />PS C:> $rbss<br />
  19. 19. Verify!<br />items uploaded to the <br />DocumentLibrary<br />are actually stored in the <br />File System<br />
  20. 20. Profit!<br /> Any questions?<br />