Omri Bahat Principal Program Manager Microsoft Session ID: DAT311
Everyone is being called on to administer more servers, databases, and applications
You’re looking for ways to cope with keeping your systems up and running
How do you go from what you know from SQL Server 2000 and 2005…
To taking control of your environment with the new features in SQL Server 2008 and from our partners?
PowerShell By Example PowerShell Subsystem SQL Sentry Using Resource Governor Maintenance Plans Flow Agenda Server Provisioning DB Mail Review
Microsoft IT
MSIT Standard Server Provisioning 21 Day Backup Plan One disk holds seven days of backups - one full, and six days of differentials Switch disks every seven days Transaction logs go to a different disk Purge on drive rotation On Demand Jobs Cleanup backup history DBCC All IndexDefrag UpdateStats IndexRebuild Includes exception lists For SharePoint Index defrag and maintenance, see :
Configuring Database Mail for SQL Agent
What Did We See? Configuring DB Mail via the wizard Using Hotmail as your SMTP server Examples of sending mail Hooking up SQL Agent to send mail
PowerShell By Example PowerShell Subsystem SQL Sentry Agenda Using Resource Governor Maintenance Plans Flow Server Provisioning DB Mail Review
Using Resource Governor to Throttle Jobs
Resource Governor Recap Creating Pool and Workload Group for Jobs Using Classifier Function Verifying the results
Inside of Maintenance Plans
What Did We See? Creating Maintenance Plans in SSMS Using sub plans for segmenting multi-server plans Importing plans into SSIS Debugging plans in SSIS Exporting plans to another instance and cleaning up the result
Maintenance Plans Strategies When to use them Great for small shops – create/schedule/forget Easy way to manage multiple instances with sub-plans Easy way to cover all user database objects with DB iteration in SSIS Combined with SSIS additional functionality When to avoid them When you want to share them – no scripting When SQL Authentication is your only option
PowerShell By Example PowerShell Subsystem SQL Sentry Agenda Using Resource Governor Maintenance Plans Flow Server Provisioning DB Mail Review
PowerShell Overview
What Did We See? Shell profile customization SQLPS launched from SSMS where server treated like a drive Command piping, conditions, sorting, output columns, output to HTML Calling WMI to list server instances Integration with.Net libraries PowerGUI.Org Chad Miller’s SQLPSX
Using the PowerShell Agent Subsystem
What Did We See? Review of Agent’s subsystems Using the PowerShell subsystem Executing script fragments Executing script files Using a proxy account for script execution Enterprise Policy Based Management on CodePlex scripts Note Each job step launching sqlps consumes ~20MB
SQLSentry for SQL Server
SQLSentry Chaining, Eventing, and Queuing
PowerShell By Example PowerShell Subsystem SQL Sentry Recap Using Resource Governor Maintenance Plans Flow Server Provisioning DB Mail Review
SQL Server Community Resources Become a FREE PASS Member: Learn more about the PASS organization Additional Community Resources SQL Server Community Center center.aspxwww.microsoft.com/sqlserver/2008/en/us/community- center.aspx TechNet Community for IT Professionals Developer Center SQL Server 2008 Learning Portal Connect: Local Chapters, Special Interest Groups, Online Community Share: PASSPort Social Networking, Community Connection Event Learn: PASS Summit Annual Conference, Technical Articles, Webcasts More about the PASS organization Connect: Local Chapters, Special Interest Groups, Online Community Share: PASSPort Social Networking, Community Connection Event Learn: PASS Summit Annual Conference, Technical Articles, Webcasts More about the PASS organization The Professional Association for SQL Server (PASS) is an independent, not-for-profit association, dedicated to supporting, educating, and promoting the Microsoft SQL Server community.
SQL Server Word of the Day DATA COMPRESSION Wednesday, May 13 *Game cards may be picked up at the SQL Server booths in the TLC
Additional Resources External Resources SQL Server 2008 Business Value Calculator: Speaker Blog: Team Forum: US/sqltoolshttp://social.msdn.microsoft.com/Forums/en- US/sqltools Other: Speaker Blog: Team Forum: US/sqltoolshttp://social.msdn.microsoft.com/Forums/en- US/sqltools Other:
Sessions On-Demand & Community Resources for IT Professionals Resources for Developers Microsoft Certification and Training Resources Microsoft Certification & Training Resources Resources
Related Content Breakout Sessions BIN207 Upgrading DTS Packages to Microsoft SQL Server Integration Services Brian Knight Fri 5/15 | 2:45 PM-4:00 PM | Petree Hall C Hands-on Labs DAT04-HOL Microsoft SQL Server 2008 Data Recovery and Preventative Techniques DAT16-HOL Using Microsoft SQL Server 2008 Resource Governor for Predictable Performance
Complete an evaluation on CommNet and enter to win an Xbox 360 Elite!
© 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.