SQL Best Practices for SharePoint admins, the reluctant DBA. ITP324 Todd Klindt



Similar documents
Administering Microsoft SQL Server 2012 Databases

DBA 101: Best Practices All DBAs Should Follow

ImageNow for Microsoft SQL Server

SharePoint Data Management and Scalability on Microsoft SQL Server

sql server best practice

General DBA Best Practices

Tuning Microsoft SQL Server for SharePoint. Daniel Glenn

Optimizing SQL Server 2012 for SharePoint SharePoint Saturday/Friday, Honolulu March 27, 2015

ADMINISTERING MICROSOFT SQL SERVER DATABASES

MOC 20462C: Administering Microsoft SQL Server Databases

Administering Microsoft SQL Server Databases

Best Practices Every SQL Server DBA Must Know

The 5-minute SQL Server Health Check

NEXTGEN v5.8 HARDWARE VERIFICATION GUIDE CLIENT HOSTED OR THIRD PARTY SERVERS

$99.95 per user. SQL Server 2008/R2 Database Administration CourseId: 157 Skill level: Run Time: 47+ hours (272 videos)

Administering Microsoft SQL Server Databases

Administering Microsoft SQL Server Databases

SQL Server Maintenance Plans

SQL Server Solutions GETTING STARTED WITH. SQL Safe Backup

Database Maintenance Essentials

MS SQL Performance (Tuning) Best Practices:

20462 Administering Microsoft SQL Server Databases

Preparing a SQL Server for EmpowerID installation

Administering Microsoft SQL Server Databases

SQL Server 2008 is Microsoft s enterprise-class database server, designed

Administering Microsoft SQL Server Databases 20462C; 5 days

How to overcome SQL Server maintenance challenges White Paper

SQL Server Training Course Content

MOC Administering Microsoft SQL Server 2014 Databases

Best Practices for Upgrading to SQL Server 2012

Course: Administering Microsoft SQL Server Databases Overview

WHITE PAPER Keeping Your SQL Server Databases Defragmented with Diskeeper

Best practices for operational excellence (SharePoint Server 2010)

20462C: Administering Microsoft SQL Server Databases

SQL Server Upgrading to. and Beyond ABSTRACT: By Andy McDermid

Hardware/Software Guidelines

Upon completion of the program, students are given a full support to take and pass Microsoft certification examinations.

Backups and Maintenance

GoGrid Implement.com Configuring a SQL Server 2012 AlwaysOn Cluster

UBGP008: Maximizing SQL Server Performance with Microsoft Dynamics GP. John Lowther

HOW TO CONFIGURE SQL SERVER REPORTING SERVICES IN ORDER TO DEPLOY REPORTING SERVICES REPORTS FOR DYNAMICS GP

PERFORMANCE TUNING IN MICROSOFT SQL SERVER DBMS

Adapt Support Managed Service Programs

How to move the Shared Service Provider Search Database to a different database location.

Administering Microsoft SQL Server 2012 Databases

SQL Server 2008 Designing, Optimizing, and Maintaining a Database Session 1

How to Install and Set Up the FASTER Dashboard

SQL Server 2014

SharePoint 2010 Performance and Capacity Planning Best Practices

Course 20462: Administering Microsoft SQL Server Databases

Administering Microsoft SQL Server Databases MOC 20462

Before attending this course, participants should have:

Best Practices in SharePoint Deployment and Management

Administering Microsoft SQL Server Databases

Administering Microsoft SQL Server Databases

Capacity Planning for Microsoft SharePoint Technologies

SQL Server Storage: The Terabyte Level. Brent Ozar, Microsoft Certified Master, MVP Consultant & Trainer, SQLskills.com

Best Practices for Monitoring Databases on VMware. Dean Richards Senior DBA, Confio Software

How to Scale out SharePoint Server 2007 from a single server farm to a 3 server farm with Microsoft Network Load Balancing on the Web servers.

Working with SQL Server Agent Jobs

SharePoint Disaster Recovery Options. Sean P. McDonough Product Manager, SharePoint Products Idera

SQL Server Version. Supported for SC2012 RTM*** Not supported for SC2012 SP1*** SQL Server 2008 SP1, SP2, SP3

DocAve 4.1 SharePoint Disaster Recovery High Availability (SPDR HA) User Guide

Metalogix SharePoint Backup. Advanced Installation Guide. Publication Date: August 24, 2015

DMS Performance Tuning Guide for SQL Server

SolarWinds Technical Reference

Microsoft SQL Server Guide. Best Practices and Backup Procedures

EMC Backup and Recovery for Microsoft SQL Server 2008 Enabled by EMC Celerra Unified Storage

How to configure Incoming Enabled Libraries in MOSS2007 RTM using Exchange 2003 in an Active Directory Domain.

SQL DBA Bundle. Data Sheet. Data Sheet. Introduction. What does it cost. What s included in the SQL DBA Bundle. Feedback for the SQL DBA Bundle

How to move a SharePoint Server bit environment to a 64-bit environment on Windows Server 2008.

James Serra Sr BI Architect

SQL Server Database Administrator s Guide

Probably the only database Citrix people cared about

SharePoint 2013 Best Practices

Backup and Restore Back to Basics with SQL LiteSpeed

6231B: Maintaining a Microsoft SQL Server 2008 R2 Database

Administering Microsoft SQL Server Databases

Microsoft SQL Server 2008 R2 Enterprise Edition and Microsoft SharePoint Server 2010

How To Improve Performance In A Database

EMC Virtual Infrastructure for Microsoft Applications Data Center Solution

Project Server hardware and software requirements

Improve Business Productivity and User Experience with a SanDisk Powered SQL Server 2014 In-Memory OLTP Database

Database Maintenance Guide

SharePoint for the DBA. Régis Baccaro

PPC s SMART Practice Aids Prepare for Installing database upgrade to SQL Express 2008 R2

Project Server 2010 Migration

Best Practices for Running Dassault Systèmes ENOVIA on SQL Server 2008

Deployment Planning Guide

Microsoft Corporation. Project Server 2010 Installation Guide

VirtualCenter Database Maintenance VirtualCenter 2.0.x and Microsoft SQL Server

Transcription:

SQL Best Practices for SharePoint admins, the reluctant DBA ITP324 Todd Klindt

Todd Klindt, MVP Solanite Consulting, Inc. http://www.solanite.com http://www.toddklindt.com/blog todd@solanite.com Author, Inside SharePoint 2007 Administration and Real World SharePoint 2007. Speaker at many conferences

Session Agenda Overview of how SharePoint uses SQL Overview of SQL versions and which you would use for what Care and feeding Best Practices for your SQL server A couple of cool SQL 2008 features to consider

SQL? I m a SharePoint admin! WSS & MOSS Farm configuration is stored in SQL. All SharePoint content is stored in SQL. No exceptions! * Central Admin is a site collection and is in its own content database Search gets its own database * Except one.

Content Databases A farm may have multiple Content Databases A Site Collection must exist completely in a single Content Database A Content Database may have multiple Site Collections Multiple SSP databases

Which version of SQL? SQL 2005 or 2008 64 bit SQL 2000 32 bit Basic Install

Standard or Enterprise? Standard features Supports up to 4 CPUs (including cores) Supports OS Maximum RAM, 4 GB of RAM on 32 bit OS Failover is manual and restricted to two nodes Supports Database Mirroring Native 64 bit support

Movin on up. Full SQL 2005 functionality Supports more than 4 CPUs Support for up to 32 GB of RAM on 32 bit OS, OS limitation, not SQL s Active failover for mirrors KPI and Analysis Server built in Comparison chart of all the versions at http://www.microsoft.com/sql/prodinfo/feature s/compare-features.mspx

Keep your SQL server happy Maintenance Plans Can be created manually or with a wizard Easily modified with a graphical interface Can include a variety of operations, including backups Can use SMTP to email plan success

What should I do in these? Check Database Integrity Reindex or Rebuild database Indexes Update Statistics Backups Defrag the file system

Things you should do Check Database Integrity Verifies integrity of databases Uses T-SQL command DBCC checkdb Very disk and CPU intensive

Statistics Update Statistics Statistics help the DB engine decide the most optimal execution path Updating these statistics improves the efficiency of queries You might trigger it manually if there were a lot of records added or deleted Happens automatically, you should not have to run manually

Indexes Reindex databases Defragments database indexes Rebuild Index Completely recreates the database index Not needed as often Shrinking databases fragments your indexes and your data.

Backups Can be part of maintenance plan. Three types Full Partial Differential Transaction logs

More Backup best practices Can use built in software or third party. Idera and Quest software allow for database compression and encryption. Results in smaller backups Could also result in faster backups, if drive speed is the bottleneck SQL 2008 Enterprise support compression and encryption out of the box

File system fragmentation SQL will be faster if the database files are contiguous in the file system Using the built in defrag tool will have performance ramifications Consider using something like Diskeeper and its intelligent defrag. Consider stopping SQL if possible

Drink me Database size is reduced by dropping unused space. Do not shrink databases unless something drastic has happened Massive site or content deletions Removing site collections from v2 databases Abandoning databases Has a heavy impact on the server

Eat me Databases grow, it is what they do Grow operations are slow in SQL and will likely result in a fragmented database file Create database with enough space for one year s worth of growth

Database Best Practices Create multiple TempDB files Put database and corresponding transaction logs on different spindles Arrange databases according to speed Use autogrow sparingly Keep your databases under 100 GB Use multiple content databases

More points to ponder Do not alter databases. Microsoft HATES that If using SQL 2005, install SP2 Can use SharePoint farm backups to back up SQL Don t forget your System databases SharePoint SP1 supports SQL 2008

Here we ll look at some of the things we ve covered A LITTLE NOODLING AROUND IN SQL

Thank you for attending! (This slide must always be the last slide in your deck) Please be sure to fill out your session evaluation!