SlideShare a Scribd company logo
Is the database affecting your critical
business transactions?
Ian McGuinness Product Manager
A quick history of databases
•  Relational databases have been around since the 70’s
–  Oracle released it’s first database in 1978
•  Client/Server Applications evolve
–  SQL and Stored Procedure driven
•  Application Complexity increases
–  Object Relational Mappings help map relational to OO coded applications
•  Monolithic architecture à Clustered Database e.g. Oracle RAC
•  2015
–  “Structured data” still dominated by relational databases e.g. Oracle, SQL Server, MySQL etc.
–  NoSQL databases building market share fast e.g. MongoDB, Hadoop
Copyright © 2015 AppDynamics. All rights reserved. 2
Database problems over the years
•  Database problems today aren’t that different to they were
15 years a go!
Copyright © 2015 AppDynamics. All rights reserved. 3
Bad query performance
e.g. Poorly indexed queries
Conflict between users/queries
e.g. Batch activities causing lock contention for online users
Capacity Issues
e.g. Slow disk not enough IOPS for the needs of the app
Inefficient database configuration parameters
e.g. Buffer cache too small
Databases are not static
•  Data is exploding!
•  Data production will be 44x greater in 2020 versus 2009*
•  App users are generating data all the time
–  Companies are using that data for analytics to drive further sales
•  Biggest growth in unstructured data
Copyright © 2015 AppDynamics. All rights reserved. 4
* http://www.csc.com/insights/flxwd/78931-big_data_universe_beginning_to_explode
Usage patterns are unregulated
•  Most consumer applications have a loose usage pattern
•  Spikes in concurrency may occur any time day or night
•  Databases are a shared resource – contention on one part
can affect the whole
Copyright © 2015 AppDynamics. All rights reserved. 5
INTRODUCING APPDYNAMICS
DATABASE MONITORING
DB Agent
SaaS or On-Premise On-Premise
Controller
HTTP(S)
AppDynamics Integrated DB Monitoring
Key Features
§  Low overhead – Production Safe
§  Rapid Installation – Agentless
§  Detailed & comprehensive analysis
§  Current & historical granular data
§  Consolidate web based GUI
§  Support for almost all versions of DB2
LUW, MS-SQL, Oracle, Sybase ASE,
Sybase IQ, PostgreSQL, MySQL and
MongoDB
§  Server Monitoring for Windows, Linux,
AIX and Solaris
USE CASE EXAMPLES
#1 Long running SQL Queries
Slow Running Application SQL
Copyright © 2015 AppDynamics. All rights reserved. 9
•  APM can track query response time, but DBMon will tell the
user why the query is bad
•  Sometimes business critical queries will fall outside the top
few that are actively monitored by the DBA
Slow BT with high query response time
91.3% of time
spent in
Oracle call
Detailed Query information in DBMon
Coming to 4.2! – Snapshot Correlation
•  Available for Java à Oracle
•  Java BCI tags Oracle sessions with BT ID and GUID
•  Allows drilldown from Snapshot Flowmap to specific
queries within DBMon
Copyright © 2015 AppDynamics. All rights reserved. 12
USE CASE EXAMPLES
#2 Poorly configured database
Poorly sized buffer pool (MySQL)
Number of Physical I/
O’s to populate cache
Before and After - Buffer Pool Re-size
•  5 minute load tests were run
•  Before recommendations we can see 5 mins 34 secs spent in MySQL
•  After recommendations we can see just 27 secs of MySQL time
•  92% reduction in DB Time!
Coming to 4.2! – Improved Health Rules
Copyright © 2015 AppDynamics. All rights reserved. 16
•  Create a single health rule which applies to:
–  all databases
–  all databases of a certain type e.g. MySQL, SQL Server etc.
•  Use Health Rules in Custom Dashboards
DBMon Health Rules
Coming to 4.2! – Custom Dashboards
•  Custom dashboards now available for any DBMon metric
Copyright © 2015 AppDynamics. All rights reserved. 18
DBMon Custom Dashboard
DBMon Custom Dashboard
USE CASE EXAMPLES
#3 Capacity & Conflict
I/O Issues
•  Detailed time-series metrics clearly show contention
•  Time Spent in DB very high
•  Wait State analysis shows PAGEIOLATCH_EX wait
•  Host monitoring clearly shows increase in Read IOPS
Locking
34 seconds of Lock Wait Time!
88.8% of all activity time
spent in Lock Wait!
USE CASE EXAMPLES
#4 NoSQL Performance Issues
Key Concepts of the Solution
•  Collection of metrics is agentless and read-only i.e. No
running code on Monitored DB
•  Metrics are collected without the need to install/modify
additional components on monitored DB e.g. Modules/
Objects etc.
•  Provide historical time-series information on Time
spent within DB supplemented by DB specific Metrics
•  Gather information about all DB activity - not just
activity resulting from a monitored (with AppD APM)
application
Auto-Detection of the Cluster
•  If mongoS then all ReplicaSets in the cluster will be discovered.
•  If single ReplicaSet then Primary/Secondaries etc. will be monitored.
•  Otherwise standalone mongod
Detailed Time-Series Metrics
Drilldown to problematic Queries
Conclusions
•  Database performance issues will always be around!
•  Proactive performance management is what’s needed
–  Use a low overhead 24/7 monitoring solution to gain visibility
–  Capture the right type of data to allow rapid root cause analysis and
to prioritize tuning efforts
Copyright © 2015 AppDynamics. All rights reserved. 29
Thank You

More Related Content

PDF
Peter Zaitsev - Practical MySQL Performance Optimization
PPTX
Fishbowl's Packaged Tools for WebCenter Automation
PPTX
12 Ways to Use PLCs & SQL Databases Together
PPTX
Hi! Ho! Hi! Ho! SQL Server on Linux We Go!
DOC
Resume_Ram Dass
PPTX
What’s New in Assure MIMIX 10
PPTX
Monitoring and Reporting for IBM i Compliance and Security
Peter Zaitsev - Practical MySQL Performance Optimization
Fishbowl's Packaged Tools for WebCenter Automation
12 Ways to Use PLCs & SQL Databases Together
Hi! Ho! Hi! Ho! SQL Server on Linux We Go!
Resume_Ram Dass
What’s New in Assure MIMIX 10
Monitoring and Reporting for IBM i Compliance and Security

What's hot (20)

PDF
Java one2016
PPTX
U.S. Census presentation at DC API Meetup 12/13/12 by Alec Permison
PPT
Obiee 11g architecture_sigmora
PDF
Mastering SAP Monitoring - Determining the Health of your SAP Environment
PDF
Introducing the Latest in High Availability from Syncsort
PPTX
FlexDeploy Product Technical Overview
PPTX
Redgate database DevOps demo webinar (with Git & Jenkins)
PPTX
Обзор и практическое применение Dell Change Auditor
DOC
Continued Accomplishments during this position
PPTX
Data Caching Evolution - the SafePeak deck from webcast 2014-04-24
PDF
Full-Stack Observability for IoT Event Stream Data Processing at Penske
PPTX
Improving and Scaling SCADA Systems: Is WinCC OA Right for Me?
PPTX
Sharing the Point South America 2013 (STPSA) - Ultimate SharePoint Infrastruc...
PPTX
Moving from Snapshot to Snapshot
PPTX
Azure SQL DB V12 at your service by Pieter Vanhove
PPT
Websphere - Introduction to jdbc
PPTX
Continuous Availability and Scale-out for MySQL with ScaleBase Lite & Enterpr...
PPTX
Business Intelligence is Not an Oxymoron
PDF
Streamline your SOA Portfolio
Java one2016
U.S. Census presentation at DC API Meetup 12/13/12 by Alec Permison
Obiee 11g architecture_sigmora
Mastering SAP Monitoring - Determining the Health of your SAP Environment
Introducing the Latest in High Availability from Syncsort
FlexDeploy Product Technical Overview
Redgate database DevOps demo webinar (with Git & Jenkins)
Обзор и практическое применение Dell Change Auditor
Continued Accomplishments during this position
Data Caching Evolution - the SafePeak deck from webcast 2014-04-24
Full-Stack Observability for IoT Event Stream Data Processing at Penske
Improving and Scaling SCADA Systems: Is WinCC OA Right for Me?
Sharing the Point South America 2013 (STPSA) - Ultimate SharePoint Infrastruc...
Moving from Snapshot to Snapshot
Azure SQL DB V12 at your service by Pieter Vanhove
Websphere - Introduction to jdbc
Continuous Availability and Scale-out for MySQL with ScaleBase Lite & Enterpr...
Business Intelligence is Not an Oxymoron
Streamline your SOA Portfolio
Ad

Viewers also liked (8)

PDF
AppSphere 15 - How The Container Store Uses AppDynamics in their Development ...
PDF
Synthetic Monitoring Deep Dive - AppSphere16
PDF
Best Practices and Advanced Insights on Browser RUM Users - AppSphere16
PDF
Under the Hood: Monitoring Azure and .NET - AppSphere16
PDF
Getting More Out of the Node.js, PHP, and Python Agents - AppSphere16
PDF
Database Visibility and Troubleshooting Hands-on Lab - AppSphere16
PDF
Business Transactions with AppDynamics
PDF
Advanced APM .NET Hands-On Lab - AppSphere16
AppSphere 15 - How The Container Store Uses AppDynamics in their Development ...
Synthetic Monitoring Deep Dive - AppSphere16
Best Practices and Advanced Insights on Browser RUM Users - AppSphere16
Under the Hood: Monitoring Azure and .NET - AppSphere16
Getting More Out of the Node.js, PHP, and Python Agents - AppSphere16
Database Visibility and Troubleshooting Hands-on Lab - AppSphere16
Business Transactions with AppDynamics
Advanced APM .NET Hands-On Lab - AppSphere16
Ad

Similar to AppSphere 15 - Is the database affecting your critical business transactions? (20)

PPT
Kb 40 kevin_klineukug_reading20070717[1]
PPTX
Visibility-from web application interface to the database
PPTX
AzureSQL Managed Instance (SQLKonferenz 2018)
PDF
Oracle Enterprise Manager 12c: updates and upgrades.
PPTX
Data Vault Automation at the Bijenkorf
PPTX
Lecture 5- Data Collection and Storage.pptx
PPTX
Key to optimal end user experience
PPT
Building and Deploying Large Scale SSRS using Lessons Learned from Customer D...
PPT
Collaborate 2011-tuning-ebusiness-416502
PPTX
Monitorando performance no Azure SQL Database
PDF
Serverless SQL
PPTX
Micro service architecture
PDF
Remote DBA Experts SQL Server 2008 New Features
PPTX
Meetup Oracle Database MAD_BCN: 1.3 Gestión del ciclo de vida de Oracle Datab...
PDF
Oracle Database 19c - poslední z rodiny 12.2 a co přináší nového
PDF
Microservices - opportunities, dilemmas and problems
PPT
Lecture 5 Database management system.ppt
PDF
Ibm_IoT_Architecture_and_Capabilities
PPTX
high performance databases
PPT
Db trends final
Kb 40 kevin_klineukug_reading20070717[1]
Visibility-from web application interface to the database
AzureSQL Managed Instance (SQLKonferenz 2018)
Oracle Enterprise Manager 12c: updates and upgrades.
Data Vault Automation at the Bijenkorf
Lecture 5- Data Collection and Storage.pptx
Key to optimal end user experience
Building and Deploying Large Scale SSRS using Lessons Learned from Customer D...
Collaborate 2011-tuning-ebusiness-416502
Monitorando performance no Azure SQL Database
Serverless SQL
Micro service architecture
Remote DBA Experts SQL Server 2008 New Features
Meetup Oracle Database MAD_BCN: 1.3 Gestión del ciclo de vida de Oracle Datab...
Oracle Database 19c - poslední z rodiny 12.2 a co přináší nového
Microservices - opportunities, dilemmas and problems
Lecture 5 Database management system.ppt
Ibm_IoT_Architecture_and_Capabilities
high performance databases
Db trends final

More from AppDynamics (20)

PPTX
Good Migrations: APM Essentials For Cloud Success at AppD Global Tour London
PPTX
Top Tips For AppD Adoption Success at AppD Global Tour London
PPTX
How To Create An AppD Centre of Excellence at AppD Global Tour London
PPTX
Ensure Every Customer Matters With End User Monitoring at AppD Global Tour Lo...
PPTX
Just Eat: DevOps at Scale at AppD Global Tour London
PPTX
What’s Next For AppDynamics and Cisco? AppD Global Tour London
PPTX
Unlock The Power Of Real-Time Performance Data With Business iQ - AppD Global...
PPTX
Overcoming Transformational Barriers with Ensono - AppD Global Tour London
PPTX
Equinor: What does normal look like?
PPTX
Unlock The Power Of Real-Time Performance Data With Business iQ - AppD Global...
PPTX
Top Tips For AppD Adoption Success - AppD Global Tour Stockholm
PPTX
What's next for AppD and Cisco? - AppD Global Tour
PPTX
Cisco and AppDynamics: Redefining Application Intelligence - AppD Summit Europe
PPTX
British Medical Journal: Refine Your Metrics For Digital Success - AppD Summi...
PPTX
Forrester Research: How To Organise Your Business For Digital Success - AppD ...
PPTX
Mastering APM With End User Monitoring - AppD Summit Europe
PPTX
Become an AppDynamics Dashboard Rockstar - AppD Summit Europe
PPTX
Business iQ: What It Is and How to Start - AppD Summit Europe
PPTX
Containers: Give Me The Facts, Not The Hype - AppD Summit Europe
PPTX
Automation: The Good, The Bad and The Ugly with DevOpsGuys - AppD Summit Europe
Good Migrations: APM Essentials For Cloud Success at AppD Global Tour London
Top Tips For AppD Adoption Success at AppD Global Tour London
How To Create An AppD Centre of Excellence at AppD Global Tour London
Ensure Every Customer Matters With End User Monitoring at AppD Global Tour Lo...
Just Eat: DevOps at Scale at AppD Global Tour London
What’s Next For AppDynamics and Cisco? AppD Global Tour London
Unlock The Power Of Real-Time Performance Data With Business iQ - AppD Global...
Overcoming Transformational Barriers with Ensono - AppD Global Tour London
Equinor: What does normal look like?
Unlock The Power Of Real-Time Performance Data With Business iQ - AppD Global...
Top Tips For AppD Adoption Success - AppD Global Tour Stockholm
What's next for AppD and Cisco? - AppD Global Tour
Cisco and AppDynamics: Redefining Application Intelligence - AppD Summit Europe
British Medical Journal: Refine Your Metrics For Digital Success - AppD Summi...
Forrester Research: How To Organise Your Business For Digital Success - AppD ...
Mastering APM With End User Monitoring - AppD Summit Europe
Become an AppDynamics Dashboard Rockstar - AppD Summit Europe
Business iQ: What It Is and How to Start - AppD Summit Europe
Containers: Give Me The Facts, Not The Hype - AppD Summit Europe
Automation: The Good, The Bad and The Ugly with DevOpsGuys - AppD Summit Europe

AppSphere 15 - Is the database affecting your critical business transactions?

  • 1. Is the database affecting your critical business transactions? Ian McGuinness Product Manager
  • 2. A quick history of databases •  Relational databases have been around since the 70’s –  Oracle released it’s first database in 1978 •  Client/Server Applications evolve –  SQL and Stored Procedure driven •  Application Complexity increases –  Object Relational Mappings help map relational to OO coded applications •  Monolithic architecture à Clustered Database e.g. Oracle RAC •  2015 –  “Structured data” still dominated by relational databases e.g. Oracle, SQL Server, MySQL etc. –  NoSQL databases building market share fast e.g. MongoDB, Hadoop Copyright © 2015 AppDynamics. All rights reserved. 2
  • 3. Database problems over the years •  Database problems today aren’t that different to they were 15 years a go! Copyright © 2015 AppDynamics. All rights reserved. 3 Bad query performance e.g. Poorly indexed queries Conflict between users/queries e.g. Batch activities causing lock contention for online users Capacity Issues e.g. Slow disk not enough IOPS for the needs of the app Inefficient database configuration parameters e.g. Buffer cache too small
  • 4. Databases are not static •  Data is exploding! •  Data production will be 44x greater in 2020 versus 2009* •  App users are generating data all the time –  Companies are using that data for analytics to drive further sales •  Biggest growth in unstructured data Copyright © 2015 AppDynamics. All rights reserved. 4 * http://www.csc.com/insights/flxwd/78931-big_data_universe_beginning_to_explode
  • 5. Usage patterns are unregulated •  Most consumer applications have a loose usage pattern •  Spikes in concurrency may occur any time day or night •  Databases are a shared resource – contention on one part can affect the whole Copyright © 2015 AppDynamics. All rights reserved. 5
  • 7. DB Agent SaaS or On-Premise On-Premise Controller HTTP(S) AppDynamics Integrated DB Monitoring Key Features §  Low overhead – Production Safe §  Rapid Installation – Agentless §  Detailed & comprehensive analysis §  Current & historical granular data §  Consolidate web based GUI §  Support for almost all versions of DB2 LUW, MS-SQL, Oracle, Sybase ASE, Sybase IQ, PostgreSQL, MySQL and MongoDB §  Server Monitoring for Windows, Linux, AIX and Solaris
  • 8. USE CASE EXAMPLES #1 Long running SQL Queries
  • 9. Slow Running Application SQL Copyright © 2015 AppDynamics. All rights reserved. 9 •  APM can track query response time, but DBMon will tell the user why the query is bad •  Sometimes business critical queries will fall outside the top few that are actively monitored by the DBA
  • 10. Slow BT with high query response time 91.3% of time spent in Oracle call
  • 12. Coming to 4.2! – Snapshot Correlation •  Available for Java à Oracle •  Java BCI tags Oracle sessions with BT ID and GUID •  Allows drilldown from Snapshot Flowmap to specific queries within DBMon Copyright © 2015 AppDynamics. All rights reserved. 12
  • 13. USE CASE EXAMPLES #2 Poorly configured database
  • 14. Poorly sized buffer pool (MySQL) Number of Physical I/ O’s to populate cache
  • 15. Before and After - Buffer Pool Re-size •  5 minute load tests were run •  Before recommendations we can see 5 mins 34 secs spent in MySQL •  After recommendations we can see just 27 secs of MySQL time •  92% reduction in DB Time!
  • 16. Coming to 4.2! – Improved Health Rules Copyright © 2015 AppDynamics. All rights reserved. 16 •  Create a single health rule which applies to: –  all databases –  all databases of a certain type e.g. MySQL, SQL Server etc. •  Use Health Rules in Custom Dashboards
  • 18. Coming to 4.2! – Custom Dashboards •  Custom dashboards now available for any DBMon metric Copyright © 2015 AppDynamics. All rights reserved. 18
  • 21. USE CASE EXAMPLES #3 Capacity & Conflict
  • 22. I/O Issues •  Detailed time-series metrics clearly show contention •  Time Spent in DB very high •  Wait State analysis shows PAGEIOLATCH_EX wait •  Host monitoring clearly shows increase in Read IOPS
  • 23. Locking 34 seconds of Lock Wait Time! 88.8% of all activity time spent in Lock Wait!
  • 24. USE CASE EXAMPLES #4 NoSQL Performance Issues
  • 25. Key Concepts of the Solution •  Collection of metrics is agentless and read-only i.e. No running code on Monitored DB •  Metrics are collected without the need to install/modify additional components on monitored DB e.g. Modules/ Objects etc. •  Provide historical time-series information on Time spent within DB supplemented by DB specific Metrics •  Gather information about all DB activity - not just activity resulting from a monitored (with AppD APM) application
  • 26. Auto-Detection of the Cluster •  If mongoS then all ReplicaSets in the cluster will be discovered. •  If single ReplicaSet then Primary/Secondaries etc. will be monitored. •  Otherwise standalone mongod
  • 29. Conclusions •  Database performance issues will always be around! •  Proactive performance management is what’s needed –  Use a low overhead 24/7 monitoring solution to gain visibility –  Capture the right type of data to allow rapid root cause analysis and to prioritize tuning efforts Copyright © 2015 AppDynamics. All rights reserved. 29