Presentation is loading. Please wait.

Presentation is loading. Please wait.

Utility Database Chris

Similar presentations


Presentation on theme: "Utility Database Chris"— Presentation transcript:

1 Utility Database Chris Shaw @SQLShaw Chris@SQLShaw.com

2 In case you wanted to know… Microsoft SQL Server MVP o Spent most of the last 15 years administering SQL Server http://chrisshaw.wordpress.com/ Chris@SQLShaw.com 2

3 Session Notes Growing presentation o Feedback is welcome The Demo’s in your environment o This is just the starting point o Demo is designed to show you potential options - customize Ask Questions Feel free to email me My environment o SQL Server Denali o Local Install o No Reporting Services on local install Quiz Time o Is my impression accurate

4 Quiz Time Do you have Daily Tasks o Check jobs o Check disk space o Read error Logs o Validate performance Processors Disk Procedure Execution Checking Indexes o Documenting growth How do you do it?

5 What is a Utility Database? A user defined, created database Keeps information on your server about your server Keeps the information you want as long as you want it Presents information you want the way you want to see it This is your database Acts as a repository for you the DBA

6 Is this your Daily To do?

7 Why use a Utility Database? Centralize your information Forecast your usage Ease your daily tasks Automation See potential issues before they happen o Understanding the baseline o Be one step ahead One View

8 Focus Your Efforts

9 My Report Delivered by email every day o My daily check list Mixed counter information o Hardware information Processor Utilization Disk Space Free o SQL Server information Error logs Failed Jobs Report run times o Business information Performance Indicators Identity Checks

10 Demo Building your database

11 Approach Styles With a table between the query and the DayCheckList Table DBCC FreeProcCache Using CLR Why all the nested procedures When to archive the data

12 Demo Building Your Report

13 What’s Next Thresholds Alerts Auto Re-index o Ola Hallengren (http://ola.hallengren.com/)http://ola.hallengren.com/ DMV’s o Glenn Berry (http://sqlserverperformance.wordpress.com/)http://sqlserverperformance.wordpress.com/ Other than SQL Server o WMI Don’t reinvent the wheel

14 Go Global Start small o Add one at a time, see the use and then make a list of what items you need long term Change the Schema Add servers o SSIS o Linked Servers Options o Data Collector o 3 rd party tools Report Server o ExecutionLog2

15 Summary Utility databases answer questions like: o What procedure performs the worst? o Is the performance getting better or worse? o What is the percentage of growth on my databases? o What errors have been registered in the error log? o What jobs failed last night? o Can the database support the work load you are asking it to. o When will you need to upgrade

16 Questions Thank you, your feedback is welcome Chris@sqlshaw.com


Download ppt "Utility Database Chris"

Similar presentations


Ads by Google