SlideShare a Scribd company logo
1 of 27
Smarter Technology
for Better Business
Can you Restore Back to Yesterday?
Always Answer YES!
John Abrams
President and COO
Aspect Consulting, Inc.
Remote Monitoring Best Practices:
Agenda
Introductions
The Goals of Monitoring
The Traditional Method
New Centralized Method
The Approach
Aspect Solution
Introductions and Qualifications:
Introducing John Abrams…
• President and Founder of Aspect Consulting, Inc.
• Over 20 years of solid project leadership and technical experience in
Data Management, Data Integration, Database Administration.
• Certified Oracle DBA with extensive expertise with logical and
physical DBA activities with both Oracle and SQL Server.
• Currently providing remote database administration and monitoring
services for multiple clients across industries.
Introductions and Qualifications:
About Aspect Consulting
 Founded in 1994; specializing in helping
clients increase revenue and decrease
expenses in through:
 Database Administration: Both onsite and
remote. Qualified consultants experienced in
improving database performance and stability.
 Data Management: Data Warehouse
Development; BI Reporting.
 RDBMS Software Installation and
Configuration: Oracle, SQL Server, etc.
 Application Design and Architecture:
Full life cycle development of custom applications,
logical and physical design, coordination of
resources, custom application development.
Introductions and Qualifications:
Current Remote DBA Clients
Remote Monitoring Best Practices:
The Goals of Monitoring
Databases Always Up
No Missed Backups
Never Run out of Disk Space
No Performance Problems
And… achieve all this in the most
efficient way possible
Remote Monitoring Best Practices:
Traditional Monitoring Methods
Utilize Maintenance Plans
Send Both Success and Failure Notifications
Or….no monitoring at all
Remote Monitoring Best Practices:
Issues with the Traditional Method:
Missed Backups:
• Maintenance Plans are modified from All User to selected databases, potentially
leaving new databases without backup.
Stopped SQL Agent:
• Agent does not restart and no jobs run—without your knowledge.
Missed Alerts:
• Too many emails. Multiple success and failure notifications get buried in inboxes.
Time Consuming to Set Up and Maintain:
• Monitoring not centralized: difficult to set up, maintain and update.
Centralized Monitoring Solution:
Gather Data and Alert Process Flow
SQL Statement
Gathers Info
Results Data
Stored in Meta
Database
Stored
Procedure
Reviews
Data and
Sends Alert
Centralized Monitoring Solution:
Analytical Reporting Process Flow
SQL Statement
Gathers Info
Results Data
Stored in Meta
Database
Stored
Procedure
Reviews
Data and
Analyzes
Generate
Trending
Reports
Centralized Monitoring Solution:
Centralized Monitoring Components
Create
Multiple
Data Gather
Jobs
Sends
Single
Alert
EmailStore Data in
Result Tables
Stores
Data for
Trending
Reports
Alert Job
Centralized Monitoring Solution:
A Better Method:
Why
Centralized
Monitoring is
Better
 Nothing Slips Through the Cracks: you do not
miss when jobs do not run.
 One Single Email: email displays results across
entire environment-rather than multiple emails lost
in your inbox.
 Easily Scalable: Single set of jobs, rather than
deploying the same set of jobs across 100 servers.
 Historical Data Readily Available: data can be
used for trending and alerting.
 Flexible Framework: the sky is the limit—you
can easily expand and extend monitoring jobs.
Centralized Monitoring Solution:
Two Different Approaches
Single Tier
Approach
• Components running on
single, centralized
Database Server:
• Meta Data to hold
server, connection strings, jobs to
send alerts, results tables, etc.
• Linked servers to connect to all
destination databases.
• Dynamic SQL Generating
Procedure to run jobs, store
results, and send alerts.
Multi Tier
Approach
• Adds App Server and
additional components:
• Same Data Model: adds
additional tables for scheduling
jobs to run on instances.
• Utilizes Windows Service
Agent to connect, execute
SQL, and send alerts.
• Adds Front End to manage job
maintenance, view alerts, and
generate reports
Centralized Monitoring Solution:
Single-Tiered Approach
Centralized Monitoring Solution:
Multi-Tiered Approach
Centralized Monitoring Solution:
Implement Key Queries
Missed
Backups
Failed
Jobs
Rapid File
Growth
Failed
Jobs
Disk Space
Usage
Key Syntax:
SQL Query: Gather Database Backup Info
Key Syntax:
SQL Query: Gather Database Failed Jobs
Key Syntax:
SQL Query: Gather Database File Size
Key Syntax:
SQL Procedure: Gather Disk Free Space
Utilize SQL Hidden Procedure:
EXEC master..xp_fixeddrives
Key Syntax:
Detect and Alert SP: Failed Backups/Jobs
 SELECT Last Set of Records from Data Results
Table.
 Use MAX(LASTMOD) value to select
records.
 IF detects SOME records (i.e., where backup
date is older than 24 hours/where job status
indicates failure)
 THEN
 Generate alert email.
 Write records to an Alert table.
Stored
Procedure
Detects failures,
sends alert, and
stores alert history
Key Syntax:
Detect and Alert SP: Disk Space/File Size
 SELECT Current Set of Records from Data
Results Table AND Set of Records inserted X
hours (e.g. 24 hours) ago.
 Use MAX(LASTMOD) value to select both
sets of records.
 COMPARE file size/disk space.
 IF detects SOME records where size increased
by X%...
 THEN
 Generate alert email.
 Write records to alert table.
Stored
Procedure
Detects out of range
conditions, sends alert,
and stores alert history
The Aspect Monitoring Solution:
Introducing Prodative® WatchDog EMS
WatchDog
EMS
Centralizes
the Right Info
& Alerts Across
Platforms
Capture Key
Data for
Trending &
Forecasting
Easy to
Configure
and Use
Displays info and alerts (e.g.
availability, backup, and file size)via
a web portal; no need to go to the
server for info.
Solution is simple to configure and
use for immediate impact; no need
for full-time staff for support.
Enables you to analyze, predict,
prepare, and address issues before
users are impacted.
Introducing Prodative® WatchDog EMS
Features
Monitor Critical Information and Alerts:
 Database Availability
 Missed Backups
 Critical Disk Space & File System Usage
(at both the device and subdirectory level)
 Problematic Indexing and Queries
Monitor
Info & Alerts
View Trending Data, Analyze and
Generate Reports
 Track Server and Job Statistics
 Track Disk Space and Database
Growth Over Time
Analyze &
Report
Introducing Prodative® WatchDog EMS
Features
Maintain and Extend Monitoring
using Flexible Controls:
Extend and Add Monitoring Jobs
Set Alerting Parameters
Add Reports
Maintain Users
Maintain &
Extend
Introducing Prodative® WatchDog EMS
Features
Questions…

More Related Content

Similar to Sql saturday databasemonitoringbestpractices_updated

2010/09 - Database Architechs - Performance & Tuning Tool
2010/09 - Database Architechs - Performance & Tuning Tool2010/09 - Database Architechs - Performance & Tuning Tool
2010/09 - Database Architechs - Performance & Tuning ToolDatabase Architechs
 
(2011 10) rug - san ramon - autonomics and modernization
(2011 10) rug - san ramon - autonomics and modernization(2011 10) rug - san ramon - autonomics and modernization
(2011 10) rug - san ramon - autonomics and modernizationevgeni77
 
What is OLAP -Data Warehouse Concepts - IT Online Training @ Newyorksys
What is OLAP -Data Warehouse Concepts - IT Online Training @ NewyorksysWhat is OLAP -Data Warehouse Concepts - IT Online Training @ Newyorksys
What is OLAP -Data Warehouse Concepts - IT Online Training @ NewyorksysNEWYORKSYS-IT SOLUTIONS
 
Creating a Solid EPM Punch List
Creating a Solid EPM Punch ListCreating a Solid EPM Punch List
Creating a Solid EPM Punch ListDatavail
 
Data Collection Process And Integrity
Data Collection Process And IntegrityData Collection Process And Integrity
Data Collection Process And IntegrityGerrit Klaschke, CSM
 
2010/10 - Database Architechs - Perf. & Tuning Tools
2010/10 - Database Architechs - Perf. & Tuning Tools2010/10 - Database Architechs - Perf. & Tuning Tools
2010/10 - Database Architechs - Perf. & Tuning ToolsDatabase Architechs
 
SQL Server and System Center Advisor
SQL Server and System Center AdvisorSQL Server and System Center Advisor
SQL Server and System Center AdvisorEduardo Castro
 
Empowering Customers with Personalized Insights
Empowering Customers with Personalized InsightsEmpowering Customers with Personalized Insights
Empowering Customers with Personalized InsightsCloudera, Inc.
 
Increased IT infrastructure effectiveness by 80% with Microsoft system center...
Increased IT infrastructure effectiveness by 80% with Microsoft system center...Increased IT infrastructure effectiveness by 80% with Microsoft system center...
Increased IT infrastructure effectiveness by 80% with Microsoft system center...Aspire Systems
 
Demantra Case Study Doug
Demantra Case Study DougDemantra Case Study Doug
Demantra Case Study Dougsichie
 
Data Warehouses & Deployment By Ankita dubey
Data Warehouses & Deployment By Ankita dubeyData Warehouses & Deployment By Ankita dubey
Data Warehouses & Deployment By Ankita dubeyAnkita Dubey
 
Rdba Presentation
Rdba PresentationRdba Presentation
Rdba Presentationgln_gln_48
 
20IT501_DWDM_PPT_Unit_I.ppt
20IT501_DWDM_PPT_Unit_I.ppt20IT501_DWDM_PPT_Unit_I.ppt
20IT501_DWDM_PPT_Unit_I.pptSumathiG8
 
Document IT Communicate IT Succeed
Document IT Communicate IT SucceedDocument IT Communicate IT Succeed
Document IT Communicate IT SucceedDeborah Gleason
 
Automating IT Analytics to Optimize Service Delivery and Cost at Safeway - A ...
Automating IT Analytics to Optimize Service Delivery and Cost at Safeway - A ...Automating IT Analytics to Optimize Service Delivery and Cost at Safeway - A ...
Automating IT Analytics to Optimize Service Delivery and Cost at Safeway - A ...TeamQuest Corporation
 

Similar to Sql saturday databasemonitoringbestpractices_updated (20)

2010/09 - Database Architechs - Performance & Tuning Tool
2010/09 - Database Architechs - Performance & Tuning Tool2010/09 - Database Architechs - Performance & Tuning Tool
2010/09 - Database Architechs - Performance & Tuning Tool
 
(2011 10) rug - san ramon - autonomics and modernization
(2011 10) rug - san ramon - autonomics and modernization(2011 10) rug - san ramon - autonomics and modernization
(2011 10) rug - san ramon - autonomics and modernization
 
What is OLAP -Data Warehouse Concepts - IT Online Training @ Newyorksys
What is OLAP -Data Warehouse Concepts - IT Online Training @ NewyorksysWhat is OLAP -Data Warehouse Concepts - IT Online Training @ Newyorksys
What is OLAP -Data Warehouse Concepts - IT Online Training @ Newyorksys
 
Creating a Solid EPM Punch List
Creating a Solid EPM Punch ListCreating a Solid EPM Punch List
Creating a Solid EPM Punch List
 
Data Collection Process And Integrity
Data Collection Process And IntegrityData Collection Process And Integrity
Data Collection Process And Integrity
 
Jayachandran_Resume
Jayachandran_ResumeJayachandran_Resume
Jayachandran_Resume
 
2010/10 - Database Architechs - Perf. & Tuning Tools
2010/10 - Database Architechs - Perf. & Tuning Tools2010/10 - Database Architechs - Perf. & Tuning Tools
2010/10 - Database Architechs - Perf. & Tuning Tools
 
SAP CBM
SAP CBMSAP CBM
SAP CBM
 
SQL Server and System Center Advisor
SQL Server and System Center AdvisorSQL Server and System Center Advisor
SQL Server and System Center Advisor
 
Empowering Customers with Personalized Insights
Empowering Customers with Personalized InsightsEmpowering Customers with Personalized Insights
Empowering Customers with Personalized Insights
 
Increased IT infrastructure effectiveness by 80% with Microsoft system center...
Increased IT infrastructure effectiveness by 80% with Microsoft system center...Increased IT infrastructure effectiveness by 80% with Microsoft system center...
Increased IT infrastructure effectiveness by 80% with Microsoft system center...
 
Demantra Case Study Doug
Demantra Case Study DougDemantra Case Study Doug
Demantra Case Study Doug
 
CHRISTY BARRON 2
CHRISTY BARRON 2CHRISTY BARRON 2
CHRISTY BARRON 2
 
Data Warehouses & Deployment By Ankita dubey
Data Warehouses & Deployment By Ankita dubeyData Warehouses & Deployment By Ankita dubey
Data Warehouses & Deployment By Ankita dubey
 
CV_VishalSarode
CV_VishalSarodeCV_VishalSarode
CV_VishalSarode
 
Rdba Presentation
Rdba PresentationRdba Presentation
Rdba Presentation
 
20IT501_DWDM_PPT_Unit_I.ppt
20IT501_DWDM_PPT_Unit_I.ppt20IT501_DWDM_PPT_Unit_I.ppt
20IT501_DWDM_PPT_Unit_I.ppt
 
Document IT Communicate IT Succeed
Document IT Communicate IT SucceedDocument IT Communicate IT Succeed
Document IT Communicate IT Succeed
 
Trahan
TrahanTrahan
Trahan
 
Automating IT Analytics to Optimize Service Delivery and Cost at Safeway - A ...
Automating IT Analytics to Optimize Service Delivery and Cost at Safeway - A ...Automating IT Analytics to Optimize Service Delivery and Cost at Safeway - A ...
Automating IT Analytics to Optimize Service Delivery and Cost at Safeway - A ...
 

Recently uploaded

Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 

Recently uploaded (20)

Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 

Sql saturday databasemonitoringbestpractices_updated

  • 1. Smarter Technology for Better Business Can you Restore Back to Yesterday? Always Answer YES! John Abrams President and COO Aspect Consulting, Inc.
  • 2. Remote Monitoring Best Practices: Agenda Introductions The Goals of Monitoring The Traditional Method New Centralized Method The Approach Aspect Solution
  • 3. Introductions and Qualifications: Introducing John Abrams… • President and Founder of Aspect Consulting, Inc. • Over 20 years of solid project leadership and technical experience in Data Management, Data Integration, Database Administration. • Certified Oracle DBA with extensive expertise with logical and physical DBA activities with both Oracle and SQL Server. • Currently providing remote database administration and monitoring services for multiple clients across industries.
  • 4. Introductions and Qualifications: About Aspect Consulting  Founded in 1994; specializing in helping clients increase revenue and decrease expenses in through:  Database Administration: Both onsite and remote. Qualified consultants experienced in improving database performance and stability.  Data Management: Data Warehouse Development; BI Reporting.  RDBMS Software Installation and Configuration: Oracle, SQL Server, etc.  Application Design and Architecture: Full life cycle development of custom applications, logical and physical design, coordination of resources, custom application development.
  • 6. Remote Monitoring Best Practices: The Goals of Monitoring Databases Always Up No Missed Backups Never Run out of Disk Space No Performance Problems And… achieve all this in the most efficient way possible
  • 7. Remote Monitoring Best Practices: Traditional Monitoring Methods Utilize Maintenance Plans Send Both Success and Failure Notifications Or….no monitoring at all
  • 8. Remote Monitoring Best Practices: Issues with the Traditional Method: Missed Backups: • Maintenance Plans are modified from All User to selected databases, potentially leaving new databases without backup. Stopped SQL Agent: • Agent does not restart and no jobs run—without your knowledge. Missed Alerts: • Too many emails. Multiple success and failure notifications get buried in inboxes. Time Consuming to Set Up and Maintain: • Monitoring not centralized: difficult to set up, maintain and update.
  • 9. Centralized Monitoring Solution: Gather Data and Alert Process Flow SQL Statement Gathers Info Results Data Stored in Meta Database Stored Procedure Reviews Data and Sends Alert
  • 10. Centralized Monitoring Solution: Analytical Reporting Process Flow SQL Statement Gathers Info Results Data Stored in Meta Database Stored Procedure Reviews Data and Analyzes Generate Trending Reports
  • 11. Centralized Monitoring Solution: Centralized Monitoring Components Create Multiple Data Gather Jobs Sends Single Alert EmailStore Data in Result Tables Stores Data for Trending Reports Alert Job
  • 12. Centralized Monitoring Solution: A Better Method: Why Centralized Monitoring is Better  Nothing Slips Through the Cracks: you do not miss when jobs do not run.  One Single Email: email displays results across entire environment-rather than multiple emails lost in your inbox.  Easily Scalable: Single set of jobs, rather than deploying the same set of jobs across 100 servers.  Historical Data Readily Available: data can be used for trending and alerting.  Flexible Framework: the sky is the limit—you can easily expand and extend monitoring jobs.
  • 13. Centralized Monitoring Solution: Two Different Approaches Single Tier Approach • Components running on single, centralized Database Server: • Meta Data to hold server, connection strings, jobs to send alerts, results tables, etc. • Linked servers to connect to all destination databases. • Dynamic SQL Generating Procedure to run jobs, store results, and send alerts. Multi Tier Approach • Adds App Server and additional components: • Same Data Model: adds additional tables for scheduling jobs to run on instances. • Utilizes Windows Service Agent to connect, execute SQL, and send alerts. • Adds Front End to manage job maintenance, view alerts, and generate reports
  • 16. Centralized Monitoring Solution: Implement Key Queries Missed Backups Failed Jobs Rapid File Growth Failed Jobs Disk Space Usage
  • 17. Key Syntax: SQL Query: Gather Database Backup Info
  • 18. Key Syntax: SQL Query: Gather Database Failed Jobs
  • 19. Key Syntax: SQL Query: Gather Database File Size
  • 20. Key Syntax: SQL Procedure: Gather Disk Free Space Utilize SQL Hidden Procedure: EXEC master..xp_fixeddrives
  • 21. Key Syntax: Detect and Alert SP: Failed Backups/Jobs  SELECT Last Set of Records from Data Results Table.  Use MAX(LASTMOD) value to select records.  IF detects SOME records (i.e., where backup date is older than 24 hours/where job status indicates failure)  THEN  Generate alert email.  Write records to an Alert table. Stored Procedure Detects failures, sends alert, and stores alert history
  • 22. Key Syntax: Detect and Alert SP: Disk Space/File Size  SELECT Current Set of Records from Data Results Table AND Set of Records inserted X hours (e.g. 24 hours) ago.  Use MAX(LASTMOD) value to select both sets of records.  COMPARE file size/disk space.  IF detects SOME records where size increased by X%...  THEN  Generate alert email.  Write records to alert table. Stored Procedure Detects out of range conditions, sends alert, and stores alert history
  • 23. The Aspect Monitoring Solution: Introducing Prodative® WatchDog EMS WatchDog EMS Centralizes the Right Info & Alerts Across Platforms Capture Key Data for Trending & Forecasting Easy to Configure and Use Displays info and alerts (e.g. availability, backup, and file size)via a web portal; no need to go to the server for info. Solution is simple to configure and use for immediate impact; no need for full-time staff for support. Enables you to analyze, predict, prepare, and address issues before users are impacted.
  • 24. Introducing Prodative® WatchDog EMS Features Monitor Critical Information and Alerts:  Database Availability  Missed Backups  Critical Disk Space & File System Usage (at both the device and subdirectory level)  Problematic Indexing and Queries Monitor Info & Alerts
  • 25. View Trending Data, Analyze and Generate Reports  Track Server and Job Statistics  Track Disk Space and Database Growth Over Time Analyze & Report Introducing Prodative® WatchDog EMS Features
  • 26. Maintain and Extend Monitoring using Flexible Controls: Extend and Add Monitoring Jobs Set Alerting Parameters Add Reports Maintain Users Maintain & Extend Introducing Prodative® WatchDog EMS Features