200 likes | 485 Views
Shredded Storage in SharePoint 2013. Ivan Padabed. About Me. Ivan Padabed Senior Solution Architect EPAM Systems, Belarus. Shredded Storage. History. 2010 COBALT FSSHTTP cellstorage.svc SharePoint Workspace. 2013 COBALT Shredded Storage ?. Cobalt.
E N D
Shredded Storage in SharePoint 2013 Ivan Padabed
About Me Ivan Padabed Senior Solution Architect EPAM Systems, Belarus
History 2010 • COBALT • FSSHTTP • cellstorage.svc • SharePoint Workspace 2013 • COBALT • Shredded Storage • ?
Cobalt • Protocol: File Synchronization over SOAP and HTTP • http://bit.ly/PLnuUI • Product: SP Workspace & Office • Document Cache • Target: Client to WFE traffic optimization • Requires client app awareness (http://bit.ly/zt8k7B)
Cobalt API • For internal use only, but • SPUtility.ExecuteCobaltRequest • PS to check and enable $web = Get-SPWebApplication http://yourURL $status = $web.CellStorageWebServiceEnabled
Shredded Storage • Protocol: SQL Stored Procedures • Not supported as public API • Product: SharePoint 2013 • All Documents content (regardless of versioning) • Target: SQL I/O and Storage optimization • Network Optimization is secondary
Schema Changes • DocStreams table • BSN: BLOB Sequence Number • DocId: Reference to the Document • Partition: Track co-authoring updates • Size: Size in Bytes • Content: Binary data • RbsId: Not NULL if RBS used
Schema Changes • Document data tracking
Shredded Storage API • Not so much
Shredded Storage API • Web App Props • Enable/Disable $wa = Get-SPWebApplication http://webappurl $wa.WebService.FileOperationSetting= SPFileOperationSetting.XXX $wa.webservice.update() • Chunk Size $wa = Get-SPWebApplication http://webappurl $wa.WebService.FileWriteChunkSize = 1073741824 $wa.webservice.update()
Chunks • Default size is 64KB • Max size is 1GB • Real size is ~around configured value • -> Manage shredding
Upgrade vs Migration • Upgraded Content DBs will notbe shredded • Migrated Documents will be shredded • -> Manage shredding
Summary • Chunk size matters (Storage vs Performance) • But if not sure, keep default value • RBS supported but doesn’t make sense • RBS is not effective for smaller Chunks • Shredded Storage is not effective for bigger Chunks • Just use it as is and keep an eye on CUs
Summary Best scenario is: OWA/Office 2010/2013 Documents with versioning • Metadata-only versions !!! • Client Traffic, Storage and I/O
Summary Good scenario is: Any document with versioning • Metadata-only versions !!! • Storage and I/O
Summary OK scenario is: Any document w/o versioning • I/O
Reference Materials • http://blogs.technet.com/b/wbaer/archive/tags/Shredded+Storage/ • http://blogs.architectingconnectedsystems.com/blogs/cjg/archive/2012/12/21/How-Shredded-Storage-REALLY-works-in-SP2013.aspx • http://sharepointpromag.com/blog/sharepoint-2013-shredded-storage-and-end-world