todd klindt the guy losing his voice solanite consulting shane young the guy with his voice...

29

Upload: linda-candace-cook

Post on 06-Jan-2018

218 views

Category:

Documents


2 download

DESCRIPTION

Who Am I? Shane Young Owner of SharePoint911.com Microsoft Office SharePoint Server MVP Consultant, Trainer, Writer, & Speaker Twitter Blog SharePoint Consulting SharePoint Training

TRANSCRIPT

Page 1: Todd Klindt The guy losing his voice Solanite Consulting Shane Young The guy with his voice SharePoint911 OFC310
Page 2: Todd Klindt The guy losing his voice Solanite Consulting Shane Young The guy with his voice SharePoint911 OFC310

SharePoint Admins: the Reluctant DBAs

Todd KlindtThe guy losing his voiceSolanite Consulting

Shane YoungThe guy with his voiceSharePoint911OFC310

Page 3: Todd Klindt The guy losing his voice Solanite Consulting Shane Young The guy with his voice SharePoint911 OFC310

Who Am I?

Shane YoungOwner of SharePoint911.comMicrosoft Office SharePoint Server MVPConsultant, Trainer, Writer, & Speaker

[email protected] Twitter - @shanescowsBlog

http://msmvps.com/shaneSharePoint Consulting

http://www.sharepoint911.comSharePoint Training

http://www.tedpattison.net

Page 4: Todd Klindt The guy losing his voice Solanite Consulting Shane Young The guy with his voice SharePoint911 OFC310

WSS MVP since 2006Speaker, writer, consultant, AquariusPersonal Blog

www.toddklindt.com/blogCompany web site

www.solanite.comE-mail

[email protected] Twitter @ToddKlindtI consider it an honor and privilege that Shane is so mean to me.

Who is this Todd Klindt guy?

Page 5: Todd Klindt The guy losing his voice Solanite Consulting Shane Young The guy with his voice SharePoint911 OFC310

Session Agenda

Overview of how SharePoint uses SQLOverview of SQL versions and which you would use for whatCare and feeding Best Practices for your SQL serverA couple of cool SQL 2008 features to consider

Page 6: Todd Klindt The guy losing his voice Solanite Consulting Shane Young The guy with his voice SharePoint911 OFC310

SQL? I’m a SharePoint admin!

WSS and MOSSFarm configuration is stored in SQL. All SharePoint content is stored in SQL. No exceptions! *Central Admin is a web application and is in its own content databaseSearch gets its own databases

* Except one

Page 7: Todd Klindt The guy losing his voice Solanite Consulting Shane Young The guy with his voice SharePoint911 OFC310

Content Databases

Every web application gets a content databaseA web app may have multiple content databasesA site collection must exist completely in a single content databaseA content database may have multiple site collections

Page 8: Todd Klindt The guy losing his voice Solanite Consulting Shane Young The guy with his voice SharePoint911 OFC310

SharePoint Containment

ItemsFiles, calendar items, contacts, customers, images, custom

Lists

Doc Lib, Pages, Events, Discussions, Surveys, etc…

Sites

Portal, Wikis, Blogs, Team, Doc, Workspaces, Search Center

Site Collections

The Bag

DatabasesContent, Config, SSP, Search

Web Applications

Central Admin, SSP Admin, Content

Servers

Web Front End, APP, SQL

Farm

Page 9: Todd Klindt The guy losing his voice Solanite Consulting Shane Young The guy with his voice SharePoint911 OFC310

Which Version of SQL?SQL 2005 or 200864 bit

If you want to keep a no cost install, use SQL Express instead

SQL 200032 bitBasic Install

Page 10: Todd Klindt The guy losing his voice Solanite Consulting Shane Young The guy with his voice SharePoint911 OFC310

Standard or Enterprise?

Standard featuresSupports up to 4 CPUs (including cores)Supports OS Maximum RAM, 4 GB of RAM on 32 bit OSFailover is manual and restricted to two nodesSupports database mirroringNative 64 bit support

Page 11: Todd Klindt The guy losing his voice Solanite Consulting Shane Young The guy with his voice SharePoint911 OFC310

Movin’ on up…Enterprise

Full SQL 2005 functionalitySupports more than 4 CPUsSupport for up to 32 GB of RAM on 32 bit OS, OS limitation, not SQL’sActive failover for mirrorsKPI and Analysis Server built inComparison chart of all the versions at http://www.microsoft.com/sql/prodinfo/features/compare-features.mspx

Page 12: Todd Klindt The guy losing his voice Solanite Consulting Shane Young The guy with his voice SharePoint911 OFC310

Keep your SQL Server Happy

Maintenance PlansCan be created manually or with a wizardEasily modified with a graphical interfaceCan include a variety of operations, including backupsCan use SMTP to email plan success

Page 13: Todd Klindt The guy losing his voice Solanite Consulting Shane Young The guy with his voice SharePoint911 OFC310

What should I do in these?

Check database integrityReindex or rebuild database IndexesUpdate statisticsBackupsDefrag the file system

Page 14: Todd Klindt The guy losing his voice Solanite Consulting Shane Young The guy with his voice SharePoint911 OFC310

Things you Should Do

Check Database IntegrityVerifies integrity of databasesUses T-SQL command DBCC checkdbVery disk and CPU intensive

Page 15: Todd Klindt The guy losing his voice Solanite Consulting Shane Young The guy with his voice SharePoint911 OFC310

Indexes

Reindex databasesDefragments database indexes

Rebuild IndexCompletely recreates the database indexNot needed as oftenShrinking databases fragments your indexes and your data

Page 16: Todd Klindt The guy losing his voice Solanite Consulting Shane Young The guy with his voice SharePoint911 OFC310

Backups

Can be part of maintenance planThree types

FullPartialDifferential

Transaction logs

Page 17: Todd Klindt The guy losing his voice Solanite Consulting Shane Young The guy with his voice SharePoint911 OFC310

More Backup Recommendations

Can use built in software or third partyAllows for database compression and encryptionResults in smaller backupsCould also result in faster backups, if drive speed is the bottleneck

SQL 2008 Enterprise support compression and encryption out of the box

Page 18: Todd Klindt The guy losing his voice Solanite Consulting Shane Young The guy with his voice SharePoint911 OFC310

File system fragmentationSQL will be faster if the database files are contiguous in the file systemUsing the built in defrag tool will have performance ramificationsConsider using something like Diskeeper and its intelligent defragConsider stopping SQL if possible

Page 19: Todd Klindt The guy losing his voice Solanite Consulting Shane Young The guy with his voice SharePoint911 OFC310

Drink me

Database size is reduced by dropping unused spaceDo not shrink databases unless something drastic has happened

Massive site or content deletionsRemoving site collections from v2 databasesAbandoning databases

Has a heavy impact on the server

Page 20: Todd Klindt The guy losing his voice Solanite Consulting Shane Young The guy with his voice SharePoint911 OFC310

Eat me

Databases grow, it is what they doGrow operations are slow in SQL and will likely result in a fragmented database fileCreate database with enough space for one year’s worth of growth

Page 21: Todd Klindt The guy losing his voice Solanite Consulting Shane Young The guy with his voice SharePoint911 OFC310

Database Best Practices

Create multiple TempDB filesPut database and corresponding transaction logs on different spindlesArrange databases according to speedUse autogrow sparinglyKeep your databases under 100 GBUse multiple content databases

Page 22: Todd Klindt The guy losing his voice Solanite Consulting Shane Young The guy with his voice SharePoint911 OFC310

More Points to Ponder

Do not alter databases - Microsoft HATES thatIf using SQL 2005, install SP2Can use SharePoint farm backups to back up SQLDon’t forget your system databasesSharePoint 2007 SP1 supports SQL 2008

Page 23: Todd Klindt The guy losing his voice Solanite Consulting Shane Young The guy with his voice SharePoint911 OFC310

Noodling around in SQL 2008Todd KlindtSenior ConsultantSolanite Consulting

demo

Page 24: Todd Klindt The guy losing his voice Solanite Consulting Shane Young The guy with his voice SharePoint911 OFC310

www.microsoft.com/teched

Sessions On-Demand & Community

http://microsoft.com/technet

Resources for IT Professionals

http://microsoft.com/msdn

Resources for Developers

www.microsoft.com/learningMicrosoft Certification and Training Resources

www.microsoft.com/learning

Microsoft Certification & Training Resources

Resources

Page 25: Todd Klindt The guy losing his voice Solanite Consulting Shane Young The guy with his voice SharePoint911 OFC310

Track ResourcesSpin the Wheel: Attend SharePoint breakout sessions Mon-Thurs and collect the picture of the day. Come by the booth for a chance to spin the SharePoint wheel. Collect all 4 pictures and enter to win a Microsoft Arc Mouse, drawing 11:30am on Friday, game cards at the booth.

Product Info http://www.microsoft.com/SharePoint

Dev ResourcesSharePoint MSDN Web Site: http://msdn.microsoft.com/sharepointSharePoint Developer Resources: http://mssharepointdeveloper.com/

SharePoint Conference 2009 www.mssharepointconference.com

ITPro ResourcesSharePoint Tech Center: http://technet.microsoft.com/en-us/office/sharepointserver/SharePoint Best Practices:http://technet.microsoft.com/en-us/office/sharepointserver/bb736746.aspx

Page 26: Todd Klindt The guy losing his voice Solanite Consulting Shane Young The guy with his voice SharePoint911 OFC310

Collect the SharePoint Session Picture of the Day

Attend an Interactive Theater Session and enter to win a Microsoft ARC Mouse

Thursday’s Picture is:

SharePoint Pie

Attend any SharePoint Breakout Session day 1 – 4 and check the last slide for a daily picture.

Come to the TLC yellow area, SharePoint booths OFC 4 & 5 to spin the wheel for a chance to win a prize. The wheel only spins when the SharePoint spotlight is flashing. One spin per person.

Collect all four daily SharePoint pictures and enter to win a Microsoft ARC Mouse. Game cards can be picked up at the booth.

Drawing for Mice on Friday at the wheel at 11:30AM.

Page 27: Todd Klindt The guy losing his voice Solanite Consulting Shane Young The guy with his voice SharePoint911 OFC310
Page 28: Todd Klindt The guy losing his voice Solanite Consulting Shane Young The guy with his voice SharePoint911 OFC310

Complete an evaluation on CommNet and enter to win!

Page 29: Todd Klindt The guy losing his voice Solanite Consulting Shane Young The guy with his voice SharePoint911 OFC310

© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS,

IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.