Download presentation
Presentation is loading. Please wait.
Published byHortense Preston Modified over 9 years ago
4
SharePoint and SQL Server integration Demo: SQL Server Optimizing Configurations SQL Server 2014 for SharePoint 2013 Avoiding ginormous transaction logs SharePoint and SQL Server best practices SQL Server Configurations
7
Configuration database of SQL Server instance Storage of SQL Server automation configuration information Temporary work storage area Template used to create all new databases Master Msdb Tempdb Model
9
Web Application 200GB Site Collections Project Sites Department Sites HR Sites Marketing Sites 750mb X 250 = 187,500mb / 1024 = 183gb 250
11
Default file locations (Move off C:\ Drive) Minimum and maximum Memory settings Max Degree of Parallelism (MAXDOP) set to 1 Create SQL Server alias for SharePoint SQL instance (Not used by FAST search SKU (SharePoint 2010, use DNS alias) SharePoint collation – Latin1_General_CI_AS_KS_WS During installation of SQL Server hosting SharePoint content During creation of content database in SQL Server
12
Model database file settings Increase initial size of data and log files Increase Autogrowth settings (Use MB not %) Tempdb database file settings Increase initial size of data and log files Increase Autogrowth settings (Use MB not %) Use Simple Recovery model Place files on different drive from content databases
13
Steps for AlwaysOn Setup Create SharePoint farm Prepare databases for AlwaysOn Be sure set to Full Recovery model Backup all SharePoint databases Prepare SQL Server cluster Use created AlwaysOn cluster with SharePoint Prepare SharePoint 2013 with SP1 Create SQL alias and point to SQL node Create new farm with DB’s & SA’s using SQL alias Create new AlwaysOn Availability Group Create listener Update SQL alias on each server to use listener Test SQL Server failover with SharePoint
16
Performance Standard edition supports up to 128GB of RAM opposed to 64 in SQL Server 2012 AlwaysOn Availability Groups Enhancements Supports 8 secondary replicas as opposed to 4 Read-only secondary’s still available if lose primary or quorum Azure support for hosting availability group data files, entire replica, and backing up to a URL to store in Azure Blob Storage Security Support for native backup encryption
19
SQL Server Transaction Log Process Modification is sent by application to SQL Server Modification is sent by application to SQL Server 1 Data pages are located in, or read into the buffer cache and then modified Data pages are located in, or read into the buffer cache and then modified 2 Buffer Cache Modification is recorded in transaction log on disk 3 Later, CHECKPOINT writes dirty pages to database Later, CHECKPOINT writes dirty pages to database 4
20
mdfldf Sunday Full Backup mdfldf Tuesday Differential mdfldf Differential Monday mdfldf Differential Wednesday You lose mdf file of database on Thursday at 4:00pm (1) BACKUP LOG DB_Name TO D:\SQLBackups\TempBackup.Bak WITH NORECOVERY (4) RESTORE LOG FROM D:\SQLBackups\TempBackup.Bak BACKUP LOG DB_Name TO D:\SQLBackups\Weekly_T_Log.Bak WITH INIT
22
Dedicated SQL Server 2014 instance / server No spousal installations of SQL Server or SharePoint Database size should not exceed 200GB Max Degree of Parallelism (MAXDOP) set to 1 Create SQL alias for SQL Server SharePoint instance Modify Model and Tempdb system database settings Don’t enable Auto_Create or Auto_Update Statistics Avoid auto-shrinking databases Use database Autogrowth sparingly Reduces fragmentation Improves data entry performance
23
Spread data files and transaction log files across multiple drives or place on RAID 5/10 Create multiple Tempdb files (.ndf) on multiple drives or RAID 10 for drives hosting Tempdb files Generate Database Maintenance Plans Defragment drives containing content database files Don’t rebuild or manage indexes of SharePoint DB’s Perform regular backups of database and t-logs Monitor SQL Server storage and performance Perform DBCC CHECKDB operations regularly Say NO to Simple Recovery model
24
SharePoint and SQL Server integration Demo: SQL Server Optimizing Configurations SQL Server 2014 for SharePoint 2013 Avoiding ginormous transaction logs SharePoint and SQL Server best practices SQL Server Configurations
26
Slides below this are the Microsoft template slides
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.