Optimizing RBS [Remote Blob Storage] with Shredded Storage in SharePoint 2013

What is RBS, what is difference between RBS and Shredded storage in sharePoint 2013

Shredded Storage and RBS complement each other. Shredded Storage reduces network and storage I/O when saving document edits. And RBS reduces Content Database size, improves upload and download speed, and accelerates backup/restore operations. Following the guidelines above will help you get the most out of RBS and Shredded Storage.

There is a lot of misinformation currently floating around about Shredded Storage and RBS in SharePoint 2013. The reality is that neither replaces the other.

In SharePoint Server 2013, Shredded Storage and RBS coexist without issue.  Shredded Storage is a single file broken down into smaller “chunks” and stored within the SharePoint Content Database.  With RBS in place, the smaller “chunks” will be externalized rather than a single file.  Regardless of shredding, the end result is the same: BLOBs are stored outside of SharePoint Content Databases.

While Shredded Storage cannot be “turned off” in SharePoint Server 2013, it can be optimized or disabled altogether by changing the chunk size of the file shreds.  The default chunk size is set to 64KB, but you could set the chunk size to 2GB (the maximum allowable file size in SharePoint), which effectively disables Shredded Storage.  When performance testing Metalogix StoragePoint with Shredded Storage, we found that setting the chunk size to 20MB will yield the best upload and download performance.  Changing the chunk size is quite simple and requires a bit of PowerShell script.

[void][System.Reflection.Assembly]::LoadWithPartialName(“Microsoft.SharePoint”)

$service = [Microsoft.SharePoint.Administration.SPWebService]::ContentService

$service.FileWriteChunkSize = chunk size in bytes

$service.Update()

wW need perform an IISRESET and restart the SP Timer Service on all machines in the farm.  Happy Coding 🙂

 

About Krishana Kumar

Krishana Kumar is SharePoint Architect/Trainer having Architecture experience with high volumes at Enterprise level and global scale - creation of highly scalable solutions with global user base and geographically distributed architectural components. Good knowledge of SharePoint best practices and governance models. I hold Two Master degree in Computer Science with over 11 years of experience working on Microsoft Technologies specially SharePoint, Project, .NET and other Information Worker Technologies. Having good exposer in Client side scripting Angular.js, backbone and Node. I am currently responsible for SharePoint Infrastructure set up and leading teams in various medium and large scale projects, architecting, designing & installing SharePoint farms, developing custom components,, and providing advanced SharePoint administration and development training to teams and customers. I regularly speaks in various SharePoint User Groups and other Events. I have MCSA Windows Azure, MCSA Office 365, MCSE & MCSD SharePoint 2013, Microsoft Certified Developer (MCD) and holds MCPD, MCTIP and MCTS for SharePoint 2010, MCTS MOSS 2007 & WSS 3.0, MCPD, MCITP (EPM 2010 & 2007) and MCSD .NET.
This entry was posted in General Interest. Bookmark the permalink.