Red Rock Consulting Rock Solid
Red Rock Consulting Overview <ul><li>Australian-owned company; established in 1998 </li></ul><ul><li>Focused on providing ...
Overview Tony Bain,  Rock Solid  Product Manager <ul><li>12 years SQL Server DBA Management experience </li></ul><ul><li>F...
Overview   The  Rock Solid  Product <ul><li>RockSolid software currently provides automated DBA support for more than 1000...
Overview   The  Rock Solid  Product
Overview  Rock Solid  Architecture Data Store Client  Agent Server Agent Web Service Analysis Agent Notification Agent Web...
Deployment Model:  Enterprise <ul><li>RockSolid is fully installed onsite </li></ul><ul><li>Licensed on perpetual license ...
Deployment Model:  Enterprise  - Cloud Enabler <ul><li>Seamless management between local & cloud based instances </li></ul...
Deployment Model:  Service Provider <ul><li>Allows a Service Provider to manage multiple customers </li></ul><ul><li>Servi...
Deployment Model:  SaaS <ul><li>Multi-tenanted RockSolid installation </li></ul><ul><li>Sites are independent and managed ...
Goal:  “Allow DBAs to manage any number of SQL Server Instances to the same service quality possible if they were just man...
Core Concepts – A Constant High Robust Service Level <ul><li>Virtualized Management </li></ul><ul><li>Automated Management...
A Constant High Robust Service Level   Virtualized Database Management
A Constant High Robust Service Level   Virtualized Database Management <ul><li>Virtualized Database </li></ul><ul><li>All ...
A Constant High Robust Service Level   Virtualized Database Management Hierarchy <ul><li>Instance Hierarchy </li></ul><ul>...
A Constant High Robust Service Level   Virtualized Database Management Routing <ul><li>Routing allows databases to be auto...
A Constant High Robust Service Level   Virtualized Database Management Management Set Prod Test Dev
A Constant High Robust Service Level   Real Time SQL Server Analysis <ul><li>Monitoring </li></ul><ul><ul><li>Our monitori...
Cost of SQL Server Management   Automated Issue Resolution <ul><li>DBA actions are defined as activities </li></ul><ul><li...
Cost of SQL Server Management   Automated Issue Resolution <ul><li>Fault Resolution </li></ul><ul><li>Availability Failure...
A Constant High Robust Service Level   Automated Database Management <ul><li>A Good Operational DBA process is flowchartab...
Detailed Functionality Example: Index Management <ul><li>Index management approach is different to “typical” approach. </l...
Cost of SQL Server Management   Zero Screen Time <ul><li>Normal DBA operations can be fully completed without requiring lo...
Cost of SQL Server Management   Reduced Investigation & Resolution Timeframes <ul><li>Data Gathering & Presentation </li><...
Cost of SQL Server Management  Reduced Investigation & Resolution Timeframes Eventing <ul><li>Eventing is the capture and ...
Detailed Functionality   Performance Management <ul><li>Executed queries are parsed to isolate root query </li></ul><ul><l...
A Constant High Robust Service Level     Reduced Investigation & Resolution Timeframes <ul><li>Capacity Planning </li></ul...
THANK YOU
Upcoming SlideShare
Loading in …5
×

Rock Solid SQL Server Management

901 views

Published on

Overview of the RockSolid SQL Server Management tool. http://www.redrock.net.au/RockSolid/

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
901
On SlideShare
0
From Embeds
0
Number of Embeds
6
Actions
Shares
0
Downloads
21
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Rock Solid SQL Server Management

  1. 1. Red Rock Consulting Rock Solid
  2. 2. Red Rock Consulting Overview <ul><li>Australian-owned company; established in 1998 </li></ul><ul><li>Focused on providing the best solutions using Microsoft SQL Server & Oracle technologies </li></ul><ul><li>SQL Server Group </li></ul><ul><ul><li>Support </li></ul></ul><ul><ul><li>Consulting </li></ul></ul><ul><ul><li>RockSolid Product </li></ul></ul><ul><li>Over 350 staff with offices in Sydney, Melbourne, Brisbane, Adelaide, Canberra, Wellington and Auckland </li></ul><ul><li>Microsoft Gold Certified Partner </li></ul><ul><li>Government endorsed supplier </li></ul><ul><li>Member of UXC - ASX Top 300 listed business solutions company </li></ul>
  3. 3. Overview Tony Bain, Rock Solid Product Manager <ul><li>12 years SQL Server DBA Management experience </li></ul><ul><li>Former SQL Server MVP </li></ul><ul><li>Author (SQL Server 2000 Stored Procedure Handbook, SQL Server 2000 From Novice to Pro, Data Warehousing with SQL Server 2000 Analysis Services, Building an Effective Data Layer with SQL Server 2000 and VB.NET) </li></ul><ul><li>Frequent speaker at Microsoft Tech Ed </li></ul>
  4. 4. Overview The Rock Solid Product <ul><li>RockSolid software currently provides automated DBA support for more than 10000 commercial instances </li></ul><ul><li>One of the worlds largest IT Services Company uses RockSolid to provide outsourced DBA support to large Australian customers </li></ul><ul><li>Several of the largest banks in Australia—(w/2006 revenues of AUD$19B)—manage their large SQL database infrastructures with RockSolid </li></ul><ul><li>RockSolid is developed in Microsoft .NET & is a group of Windows Services, ASP.NET Web Site, ASP.NET Web Service, TSQL and Reporting Services Reports </li></ul><ul><li>RockSolid is over 500,000 lines of code </li></ul><ul><li>Product team of 10 </li></ul><ul><ul><li>Development, testing, documentation, support </li></ul></ul>
  5. 5. Overview The Rock Solid Product
  6. 6. Overview Rock Solid Architecture Data Store Client Agent Server Agent Web Service Analysis Agent Notification Agent Web Portal Report Library Site SQL Servers Client Agent Site SQL Servers
  7. 7. Deployment Model: Enterprise <ul><li>RockSolid is fully installed onsite </li></ul><ul><li>Licensed on perpetual license model </li></ul>Site RockSolid
  8. 8. Deployment Model: Enterprise - Cloud Enabler <ul><li>Seamless management between local & cloud based instances </li></ul><ul><li>Allows organizations to start a transition to cloud based SQL infrastructure </li></ul>Site RockSolid
  9. 9. Deployment Model: Service Provider <ul><li>Allows a Service Provider to manage multiple customers </li></ul><ul><li>Service Provider has a “global” view of all customers </li></ul><ul><li>Customer has a “local” view of just their site </li></ul>Site RockSolid Site Service Provider
  10. 10. Deployment Model: SaaS <ul><li>Multi-tenanted RockSolid installation </li></ul><ul><li>Sites are independent and managed locally by site resources </li></ul><ul><li>SaaS provider can make available “best practice” defaults to SaaS clients </li></ul>Site RockSolid Site
  11. 11. Goal: “Allow DBAs to manage any number of SQL Server Instances to the same service quality possible if they were just managing one.”
  12. 12. Core Concepts – A Constant High Robust Service Level <ul><li>Virtualized Management </li></ul><ul><li>Automated Management </li></ul><ul><li>Real Time SQL Server Analysis </li></ul><ul><li>Issue Escalation, Notification & Change Control </li></ul><ul><li>Information Availability </li></ul>
  13. 13. A Constant High Robust Service Level Virtualized Database Management
  14. 14. A Constant High Robust Service Level Virtualized Database Management <ul><li>Virtualized Database </li></ul><ul><li>All the configuration, management, security and recovery options that effect the database </li></ul><ul><li>Not just “SQL Server” settings, but the monitoring and management of the database </li></ul><ul><li>Virtualized Instance </li></ul><ul><li>All the configuration, management, security options that effect the Instance </li></ul><ul><li>Again not just “SQL Server” settings, but the instance management, patching and availability settings. </li></ul>
  15. 15. A Constant High Robust Service Level Virtualized Database Management Hierarchy <ul><li>Instance Hierarchy </li></ul><ul><li>All the configuration, management, security and recovery options that effect the database </li></ul><ul><li>Settings are inherited from the parent, and can overridden at the children </li></ul><ul><li>Database Hierarchy </li></ul><ul><li>All the configuration, management, security and recovery options that effect the database </li></ul><ul><li>Not just “SQL Server” settings, but the monitoring and management of the database </li></ul>Service Provider Group Site Domain Instance Bucket Site Domain Instance Database
  16. 16. A Constant High Robust Service Level Virtualized Database Management Routing <ul><li>Routing allows databases to be automatically managed to standard on discovery </li></ul><ul><li>Routing ensures databases are not “forgotten” about </li></ul>Prod Test Dev XYZ DB_Test DEF ABC
  17. 17. A Constant High Robust Service Level Virtualized Database Management Management Set Prod Test Dev
  18. 18. A Constant High Robust Service Level Real Time SQL Server Analysis <ul><li>Monitoring </li></ul><ul><ul><li>Our monitoring of SQL Server is highly detailed and specific to SQL Server </li></ul></ul><ul><ul><li>Monitoring is carried out for Analysis and Reporting </li></ul></ul><ul><ul><li>Our monitoring of SQL Server is comprehensive </li></ul></ul><ul><li>Analysis </li></ul><ul><ul><li>RockSolid does all the expected reactive checks </li></ul></ul><ul><ul><li>Proactive Checks are key point of difference </li></ul></ul><ul><ul><li>Uses relevant historical information to isolate potential issues </li></ul></ul><ul><ul><li>Examples: </li></ul></ul><ul><ul><ul><li>Backup space in advance </li></ul></ul></ul><ul><ul><ul><li>tps decrease </li></ul></ul></ul><ul><ul><ul><li>Growth rate increase </li></ul></ul></ul><ul><ul><ul><li>Security login activity </li></ul></ul></ul>Blocking data (blocker, blockee, blocking query) SQL Server Version, License, Clustering,Edition Information Database User Database User Roles Server Role Members Data Database File (space, type, used etc) Database File Groups Stored Procedure checksums Table (rows, space etc) Indexes (space etc) Databases Internal Memory Status (DBCC MemoryStatus) Connection counts Database Virtual File Stats SQL Agent jobs SQL Agent job steps SQL Agent job schedules SQL Agent job histories Instance Wait Stats (select * from sys.dm_os_wait_stats) SQL Configuration (sysconfigures) SQL Registry keys (backup location, log location etc) Backup histories (sysbackups, backupsets etc) Logins SQL Server Error Log rows SQL Server Error Log sizes Profiler Login Failed Event Profiler Login Completed Event Profiler Object Create Event Profiler Object Modified Event Profiler Object Dropped Event Profiler RPC:Completed Profiler SQL Batch Completed Profiler Recompile Profiler Database Auto Srhink Event SQL Agent Error Log Windows Service Status Disk Information Disk Usage Index usage (2005) Index recommendations (2005) Selective Query Plan (showplans) SQL Server Build Server Role Membership Authentication Mode Database Ownership SQL Login Password Policy Compliance Disk Allocations and Usage Instance Configuration Disk Growth and Projected Capacity Backups Failing Backups not running or not scheduled Service Availability Log Shipping Issues Log Backups not run DBCC Checks not run Database options in violation of standard Instance options in violation of standard Transactions per second rate CPU Pressure I/O Pressure Common Query Performance Blocking issues Database Growth rate issues Error Log Issues Login Failures Security Issues Memory Pressure Job Executions times abnormal Users performing administrator functions Changes occurring without change control New Index recommendations Unused Index removal recommendations Performance Issue Analysis
  19. 19. Cost of SQL Server Management Automated Issue Resolution <ul><li>DBA actions are defined as activities </li></ul><ul><li>RockSolid contains a comprehensive business rules engine which organizes activities into resolution processes. Resolutions use best practices. </li></ul>Performance Decrease Backup Failure Disk Space Issue Shrink Data File Remove Old Backups Shrink Log File Backup Database Check Blocking Check Open Trans Kill Non Critical Spid Shrink Data File Remove Old Backups Shrink Log File Remove Old Backups Backup Database Check Open Trans Check Blocking Kill Non Critical Spid Create Job Start Job Run Script Change DB Option Apply Service Pack Create Database Create Login Create Object Remove Database Restore Database
  20. 20. Cost of SQL Server Management Automated Issue Resolution <ul><li>Fault Resolution </li></ul><ul><li>Availability Failure </li></ul><ul><li>Service Failure </li></ul><ul><li>Job Failure </li></ul><ul><li>Backup Failure </li></ul><ul><li>I/O Corruption </li></ul><ul><li>Disk Space Issues </li></ul><ul><li>Performance Degradation </li></ul><ul><li>Repeated Login Failure </li></ul><ul><li>Error Log Errors </li></ul><ul><li>Replication Failures </li></ul><ul><li>Log Shipping Failures </li></ul><ul><li>Task Resolution </li></ul><ul><li>Creating </li></ul><ul><ul><li>Databases, Logins, Users, Roles </li></ul></ul><ul><li>Assigning Permissions </li></ul><ul><li>Altering Database Configuration </li></ul><ul><li>Altering Instance Configuration </li></ul><ul><li>Apply Service Packs </li></ul><ul><li>Backing up a Database </li></ul><ul><li>Move Database / Data File </li></ul><ul><li>Restoring Databases from Backup </li></ul><ul><li>Database Ownership </li></ul><ul><li>Create / Alert / Drop jobs </li></ul><ul><li>Run Script </li></ul><ul><li>Update Statistics </li></ul>
  21. 21. A Constant High Robust Service Level Automated Database Management <ul><li>A Good Operational DBA process is flowchartable </li></ul><ul><li>Numerous automated management tasks exist e.g. </li></ul><ul><ul><li>Index Maintenance </li></ul></ul><ul><ul><li>Data File Management </li></ul></ul><ul><ul><ul><li>Automatically resizing data files during maintenance windows </li></ul></ul></ul><ul><ul><li>Statistics Management </li></ul></ul><ul><ul><li>Backup Management </li></ul></ul><ul><ul><li>Database Consistency Checks </li></ul></ul><ul><ul><li>Patch Management </li></ul></ul><ul><ul><li>Error Log Management </li></ul></ul><ul><ul><li>History Table Management </li></ul></ul><ul><ul><li>CPU Affinity & Parallelism Management </li></ul></ul>
  22. 22. Detailed Functionality Example: Index Management <ul><li>Index management approach is different to “typical” approach. </li></ul><ul><li>Using calendars DBA assigns times when Index Maintenance is allowable </li></ul><ul><li>RockSolid decides how to use that time to full potential </li></ul><ul><li>RockSolid evaluates what indexes to maintain in that window based on </li></ul><ul><ul><li>Index size </li></ul></ul><ul><ul><li>Index fragmentation </li></ul></ul><ul><ul><li>Index usage </li></ul></ul><ul><ul><li>Index relevance to “common queries” (query plan analysis) </li></ul></ul><ul><ul><li>Index rebuild history </li></ul></ul><ul><li>Large chunks of time and not necessary to maintain indexes. Small pockets of time between batch processes etc can be used to their full potential to maintain the database </li></ul>
  23. 23. Cost of SQL Server Management Zero Screen Time <ul><li>Normal DBA operations can be fully completed without requiring log in to the SQL Server itself to carry out the tasks </li></ul><ul><li>Task Completion Time Frame </li></ul><ul><ul><li>Tasks are completed faster as login access is not required </li></ul></ul><ul><ul><li>Tasks are completed more accurately as task is implemented as per request approved by change approvers </li></ul></ul><ul><ul><li>Tasks are carried out using a consistent approach and methodology </li></ul></ul><ul><li>Security </li></ul><ul><ul><li>Does not require DBAs to have login access to SQL Server </li></ul></ul><ul><ul><li>Enforces all changes to have a history and have change records </li></ul></ul><ul><ul><li>Certain tasks can be prevented from certain users. </li></ul></ul>
  24. 24. Cost of SQL Server Management Reduced Investigation & Resolution Timeframes <ul><li>Data Gathering & Presentation </li></ul><ul><ul><li>When an issue is passed to a DBA for manual resolution, an error message is not simply passed </li></ul></ul><ul><ul><li>Instead all the detailed relevant information required to resolve the issue is passed to the DBA for immediate analysis. </li></ul></ul>
  25. 25. Cost of SQL Server Management Reduced Investigation & Resolution Timeframes Eventing <ul><li>Eventing is the capture and recording of every task, change, process or situation of interest that occurs within a SQL Server instance </li></ul><ul><li>Events are not issues, events are simply things that have happened </li></ul><ul><li>Events are categorized based on their impact on areas such as performance, security, recoverability and availability. </li></ul><ul><li>Examples: </li></ul><ul><ul><li>Backup completed, index create, table altered, query run for first time, application detected for first time, login failed, login succesful, data file grown, statistics update, stored procedure plan recompiled…… </li></ul></ul><ul><li>Events can then be used for analysis in the context of issues. </li></ul><ul><li>For Example: </li></ul><ul><ul><li>A stored procedure is failing, what changes have been recently made and by who… </li></ul></ul><ul><ul><li>Or, I can see that performance of this query has slowed down significantly, but why? </li></ul></ul>16/10/2007 10:00 Index &quot;ix_TableABC_Index1&quot; was dropped by Login &quot;DOMAIN oms&quot; 16/10/2007 10:13 Common Query &quot;SELECT * FROM ABC WHERE A={numericvalue}&quot; query plan recompiled 16/10/2007 10:20 Common Query &quot;SELECT * FROM ABC WHERE A={numericvalue}&quot; performance changed by more than 70% 16/10/2007 10:40 Table ABC statistics update automatically by SQL Server 16/10/2007 11:45 Table ABC long term exclusive locks causing 5 concurrent process to blocked for 120 seconds 16/10/2007 17:00 Table ABC Index &quot;ix_TableABC_Index2&quot; offline rebuild completed successfully
  26. 26. Detailed Functionality Performance Management <ul><li>Executed queries are parsed to isolate root query </li></ul><ul><li>Root query is then aggregated to show try impact of query execution </li></ul>Server Agent SELECT a,b,c FROM xyz WHERE Y=10 SELECT a,b,c FROM xyz WHERE Y=30 SELECT a,b,c FROM xyz WHERE Y=50 SELECT a,b,c FROM xyz WHERE Y={numeric} EXEC proc_DEF ‘ON’,1,’10/2/2007 EXEC proc_DEF ‘OFF’,5,’12/2/2007 EXEC proc_DEF {string},{numeric},{date} Sp_executesql ‘SELECT a,b,c FROM hij WHERE Y=@P1’,’int’,’1’ SELECT a,b,c FROM hij WHERE Y={numeric}
  27. 27. A Constant High Robust Service Level Reduced Investigation & Resolution Timeframes <ul><li>Capacity Planning </li></ul><ul><li>Real time projections of I/O, CPU and Memory resources </li></ul><ul><ul><li>Configured hardware “lead time” to provide heads up when resources are reaching capacity </li></ul></ul><ul><li>Capacity Planning Analysis </li></ul><ul><ul><li>Show me this database with double the users </li></ul></ul><ul><ul><li>Show me the infrastructure requirements for this instance in 24 months based on historical growth </li></ul></ul><ul><ul><li>Show me the infrastructure requirements for this instance in 24 months based on irregular growth </li></ul></ul><ul><li>Consolidation Analysis </li></ul><ul><ul><li>Find databases with compatible characteristics </li></ul></ul><ul><ul><ul><li>Workload patterns </li></ul></ul></ul><ul><ul><ul><li>System requirements (collations etc) </li></ul></ul></ul><ul><ul><li>Consolidated picture capacity specification </li></ul></ul>
  28. 28. THANK YOU

×