SharePoint Database의 Table Partitioning

[주의 사항]

본 블로그에 게시된 정보의 내용 (첨부 문서, 링크 등)은 작성일 현재 기준이며 예고없이 변경 될 수 있습니다.

또한, 참고용으로만 제공됨으로 Microsoft에 책임이 없음을 알려 드립니다. 반드시 적용 전 충분한 테스트를 진행하시기 바랍니다.

 

[요약]

SharePoint Database의 Table Partitioning

 

[원인 또는 해결 방법]

SharePoint 2010의 데이터베이스들을 확인해보면 WebAnalyticsServiceApplication_ReportingDB 데이터베이스 내의 테이블들이 분할(Table Partitioning) 되어 있는 것을 확인할 수 있습니다.

다른 Config DB, Content Database, Service Application 관련 DB 등에서는 테이블 파티셔닝은 확인되지 않습니다.

 

이는 WebAnalyticsServiceApplication_ReportingDB의 테이블 들에 저장되는 데이터의 특성과도 연관이 있는데 날짜별로 SharePoint의 사용 현황 등에 대한 데이터를 저장하고 처리됨으로 테이블 파티셔닝 기능을 사용하면 날짜를 기준으로 분할되어 데이터 처리 및 삭제 등 성능 향상을 기대할 수 있습니다.

SharePoint 2010에서 사용하는 SQL 서버의 Edition이 Enterprise인 경우 자동으로 테이블 파티셔닝이 이루어지게 됩니다.

 

아래 참고 링크를 통해 확인된 공식문서에서는 Web Analytics Reporting database 에 대해서만 테이블 파티셔닝이 언급되고 있으며 기타 DB는 해당 내용이 없습니다.

[참고 1]

Database types and descriptions (SharePoint Server 2010)

https://technet.microsoft.com/en-us/library/cc678868(v=office.14).aspx

Web Analytics Reporting databaseThe Reporting database stores aggregated standard report tables, fact data aggregated by groups of sites, date and asset metadata, and diagnostics information for the Web Analytics service application.ImportantFor large-scale environments, we recommend that you run the Web Analytics service application Reporting database on a server that is running SQL Server 2008 Enterprise Edition so that the Web Analytics service application can take advantage of table partitioning.

 

[참고 2]

Storage and SQL Server capacity planning and configuration (SharePoint Server 2010)

https://technet.microsoft.com/en-us/library/cc298801(v=office.14).aspx

Web Analytics service applicationIf you plan to use the Web Analytics service application for significant analysis, consider SQL Server Enterprise Edition so that the system can take advantage of table partitioning

테이블 파티셔닝의 경우 Enterprise Edition의 SQL 서버에서만 지원되기 때문에, 기존에 SharePoint SQL 서버의 Edition을 기존에 Enterprise Edition을 사용하였다면, Standard Edition으로 Migration 하는 경우 WebAnalyticsServiceApplication_ReportingDB 데이터베이스는 복원되지 않습니다.

감사합니다.