Todd Klindt The guy losing his voice Solanite Consulting Shane Young The guy with his voice SharePoint911 OFC310
Who Am I? Shane Young Owner of SharePoint911.com Microsoft Office SharePoint Server MVP Consultant, Trainer, Writer, & Speaker Twitter Blog SharePoint Consulting SharePoint Training
WSS MVP since 2006 Speaker, writer, consultant, Aquarius Personal Blog Company web site I consider it an honor and privilege that Shane is so mean to me. Who is this Todd Klindt guy?
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 and MOSS Farm 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 database Search gets its own databases * Except one
Content Databases Every web application gets a content database A web app may have multiple content databases A site collection must exist completely in a single content database A content database may have multiple site collections
SharePoint Containment Items Files, 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 Databases Content, Config, SSP, Search Web Applications Central Admin, SSP Admin, Content Servers Web Front End, APP, SQL Farm
Which Version of SQL? SQL 2005 or bit If you want to keep a no cost install, use SQL Express instead SQL 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…Enterprise 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 ompare-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 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
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 Recommendations Can use built in software or third party Allows 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 2007 SP1 supports SQL 2008
Noodling around in SQL 2008 Todd Klindt Senior Consultant Solanite Consulting
Sessions On-Demand & Community Resources for IT Professionals Resources for Developers Microsoft Certification and Training Resources Microsoft Certification & Training Resources Resources Required Slide Speakers, TechEd 2009 is not producing a DVD. Please announce that attendees can access session recordings at TechEd Online. Required Slide Speakers, TechEd 2009 is not producing a DVD. Please announce that attendees can access session recordings at TechEd Online.
Track Resources Spin 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 Product Info Dev Resources SharePoint MSDN Web Site: SharePoint Developer Resources: Required Slide Track PMs will supply the content for this slide, which will be inserted during the final scrub. Required Slide Track PMs will supply the content for this slide, which will be inserted during the final scrub. SharePoint Conference ITPro Resources SharePoint Tech Center: SharePoint Tech Center: SharePoint Best Practices: SharePoint Best Practices: us/office/sharepointserver/bb aspx us/office/sharepointserver/bb aspx
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.
Complete an evaluation on CommNet and enter to win! Required Slide
© 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. Required Slide