SlideShare ist ein Scribd-Unternehmen logo
1 von 22
Downloaden Sie, um offline zu lesen
Optimizing The Database
 SQL and NoSQL Alike
    August 31st, 2010 @ 11AM PST
              Brian Doll
   Application Performance Engineer
Monitoring Data Stores in RPM




                          NewRelic.com
Monitoring Data Stores in RPM



                                       *

                  * Requires rpm_contrib




                                      NewRelic.com
“SQL Instrumentation”
 ==
“NoSQL Instrumentation”

=> true


                      NewRelic.com
Add rpm_contrib and go!

#Gemfile
gem 'rpm_contrib'
Contribute at http://github.com/newrelic/rpm_contrib




                                                       NewRelic.com
Easy Instrumentation
Learn more @ http://bit.ly/custom-instrumentation




                                              NewRelic.com
Easy Instrumentation
Learn more @ http://bit.ly/custom-instrumentation



add_method_tracer :find, ‘Database/#{self.name}/find’
                       #Database/Post/find




                                              NewRelic.com
So what does RPM tell us
about the database tier?



                      NewRelic.com
How much time are we in there?




                          NewRelic.com
NewRelic.com
DB vs. Cache: Fight!




                       NewRelic.com
Database Overview




                    NewRelic.com
NewRelic.com
Generic SELECTs




                  NewRelic.com
Table#find




            NewRelic.com
Web Transaction Detail




                         NewRelic.com
NewRelic.com
EXPLAIN PLAN




               NewRelic.com
But does it scale?




                     NewRelic.com
Database Report




                  NewRelic.com
What have we learned?

RPM provides detailed database metrics

RPM provides high-level database scalability metrics

RPM is db agnostic: SQL or NoSQL = no problem

It’s easy to instrument fancy new database engines if
its not covered yet

You can’t scale without metrics

                                                 NewRelic.com
Any Questions?

Live Q&A during the webinar

http://support.newrelic.com/

Email: brian@newrelic.com / support@newrelic.com

Twitter: @NewRelic

IRC: #NewRelic on Freenode


                                             NewRelic.com

Weitere ähnliche Inhalte

Was ist angesagt?

Oracle Fusion 11G RCU Instalaltion
Oracle Fusion 11G RCU InstalaltionOracle Fusion 11G RCU Instalaltion
Oracle Fusion 11G RCU InstalaltionVijay Reddy
 
It's What's Inside that Counts!
It's What's Inside that Counts!It's What's Inside that Counts!
It's What's Inside that Counts!New Relic
 
LogmaticPresentation
LogmaticPresentationLogmaticPresentation
LogmaticPresentationlogmatic.io
 
Meetup Angular.JS #12 Paris
Meetup Angular.JS #12 ParisMeetup Angular.JS #12 Paris
Meetup Angular.JS #12 ParisSylvain Utard
 
Hot tech 20160824 - ep0011 - idera - the art of visibility - enabling multi p...
Hot tech 20160824 - ep0011 - idera - the art of visibility - enabling multi p...Hot tech 20160824 - ep0011 - idera - the art of visibility - enabling multi p...
Hot tech 20160824 - ep0011 - idera - the art of visibility - enabling multi p...Dez Blanchfield
 
Algolia's Fury Road to a Worldwide API - Take Off Conference 2016
Algolia's Fury Road to a Worldwide API - Take Off Conference 2016Algolia's Fury Road to a Worldwide API - Take Off Conference 2016
Algolia's Fury Road to a Worldwide API - Take Off Conference 2016Olivier Lance
 
Nagios Conference 2012 - Nicolas Brousse - Optimizing your Monitoring and Tre...
Nagios Conference 2012 - Nicolas Brousse - Optimizing your Monitoring and Tre...Nagios Conference 2012 - Nicolas Brousse - Optimizing your Monitoring and Tre...
Nagios Conference 2012 - Nicolas Brousse - Optimizing your Monitoring and Tre...Nagios
 
(DVO205) Monitoring Evolution: Flying Blind to Flying by Instrument
(DVO205) Monitoring Evolution: Flying Blind to Flying by Instrument(DVO205) Monitoring Evolution: Flying Blind to Flying by Instrument
(DVO205) Monitoring Evolution: Flying Blind to Flying by InstrumentAmazon Web Services
 
OSMC 2013 | The future of Nagios by Andreas Ericsson
OSMC 2013 | The future of Nagios by Andreas EricssonOSMC 2013 | The future of Nagios by Andreas Ericsson
OSMC 2013 | The future of Nagios by Andreas EricssonNETWAYS
 
HTTP Event Collector, Simplified Developer Logging
HTTP Event Collector, Simplified Developer LoggingHTTP Event Collector, Simplified Developer Logging
HTTP Event Collector, Simplified Developer LoggingGlenn Block
 
New Relic Zapier Case Study Platform
New Relic Zapier Case Study PlatformNew Relic Zapier Case Study Platform
New Relic Zapier Case Study PlatformNew Relic
 
Altitude SF 2017: Building a continuous deployment pipeline
Altitude SF 2017: Building a continuous deployment pipelineAltitude SF 2017: Building a continuous deployment pipeline
Altitude SF 2017: Building a continuous deployment pipelineFastly
 
A Lap Around Developer Awesomeness in Splunk 6.3
A Lap Around Developer Awesomeness in Splunk 6.3A Lap Around Developer Awesomeness in Splunk 6.3
A Lap Around Developer Awesomeness in Splunk 6.3Glenn Block
 
How JIRA Service Desk Saved Twitter's Global Help Desk - Alex Stillings
How JIRA Service Desk Saved Twitter's Global Help Desk - Alex StillingsHow JIRA Service Desk Saved Twitter's Global Help Desk - Alex Stillings
How JIRA Service Desk Saved Twitter's Global Help Desk - Alex StillingsAtlassian
 
Cireson Sessions: Asset Management
Cireson Sessions: Asset Management Cireson Sessions: Asset Management
Cireson Sessions: Asset Management Cireson
 
Cf summit-2016-monitoring-cf-sensu-graphite
Cf summit-2016-monitoring-cf-sensu-graphiteCf summit-2016-monitoring-cf-sensu-graphite
Cf summit-2016-monitoring-cf-sensu-graphiteJeff Barrows
 
Building Event Streaming Applications with Pac-Man (Ricardo Ferreira, Conflue...
Building Event Streaming Applications with Pac-Man (Ricardo Ferreira, Conflue...Building Event Streaming Applications with Pac-Man (Ricardo Ferreira, Conflue...
Building Event Streaming Applications with Pac-Man (Ricardo Ferreira, Conflue...HostedbyConfluent
 

Was ist angesagt? (20)

New relic
New relicNew relic
New relic
 
Oracle Fusion 11G RCU Instalaltion
Oracle Fusion 11G RCU InstalaltionOracle Fusion 11G RCU Instalaltion
Oracle Fusion 11G RCU Instalaltion
 
It's What's Inside that Counts!
It's What's Inside that Counts!It's What's Inside that Counts!
It's What's Inside that Counts!
 
LogmaticPresentation
LogmaticPresentationLogmaticPresentation
LogmaticPresentation
 
CATzure Azure Functions
CATzure Azure FunctionsCATzure Azure Functions
CATzure Azure Functions
 
Meetup Angular.JS #12 Paris
Meetup Angular.JS #12 ParisMeetup Angular.JS #12 Paris
Meetup Angular.JS #12 Paris
 
Hot tech 20160824 - ep0011 - idera - the art of visibility - enabling multi p...
Hot tech 20160824 - ep0011 - idera - the art of visibility - enabling multi p...Hot tech 20160824 - ep0011 - idera - the art of visibility - enabling multi p...
Hot tech 20160824 - ep0011 - idera - the art of visibility - enabling multi p...
 
Algolia's Fury Road to a Worldwide API - Take Off Conference 2016
Algolia's Fury Road to a Worldwide API - Take Off Conference 2016Algolia's Fury Road to a Worldwide API - Take Off Conference 2016
Algolia's Fury Road to a Worldwide API - Take Off Conference 2016
 
Nagios Conference 2012 - Nicolas Brousse - Optimizing your Monitoring and Tre...
Nagios Conference 2012 - Nicolas Brousse - Optimizing your Monitoring and Tre...Nagios Conference 2012 - Nicolas Brousse - Optimizing your Monitoring and Tre...
Nagios Conference 2012 - Nicolas Brousse - Optimizing your Monitoring and Tre...
 
(DVO205) Monitoring Evolution: Flying Blind to Flying by Instrument
(DVO205) Monitoring Evolution: Flying Blind to Flying by Instrument(DVO205) Monitoring Evolution: Flying Blind to Flying by Instrument
(DVO205) Monitoring Evolution: Flying Blind to Flying by Instrument
 
OSMC 2013 | The future of Nagios by Andreas Ericsson
OSMC 2013 | The future of Nagios by Andreas EricssonOSMC 2013 | The future of Nagios by Andreas Ericsson
OSMC 2013 | The future of Nagios by Andreas Ericsson
 
HTTP Event Collector, Simplified Developer Logging
HTTP Event Collector, Simplified Developer LoggingHTTP Event Collector, Simplified Developer Logging
HTTP Event Collector, Simplified Developer Logging
 
New Relic Zapier Case Study Platform
New Relic Zapier Case Study PlatformNew Relic Zapier Case Study Platform
New Relic Zapier Case Study Platform
 
Altitude SF 2017: Building a continuous deployment pipeline
Altitude SF 2017: Building a continuous deployment pipelineAltitude SF 2017: Building a continuous deployment pipeline
Altitude SF 2017: Building a continuous deployment pipeline
 
Serverless
ServerlessServerless
Serverless
 
A Lap Around Developer Awesomeness in Splunk 6.3
A Lap Around Developer Awesomeness in Splunk 6.3A Lap Around Developer Awesomeness in Splunk 6.3
A Lap Around Developer Awesomeness in Splunk 6.3
 
How JIRA Service Desk Saved Twitter's Global Help Desk - Alex Stillings
How JIRA Service Desk Saved Twitter's Global Help Desk - Alex StillingsHow JIRA Service Desk Saved Twitter's Global Help Desk - Alex Stillings
How JIRA Service Desk Saved Twitter's Global Help Desk - Alex Stillings
 
Cireson Sessions: Asset Management
Cireson Sessions: Asset Management Cireson Sessions: Asset Management
Cireson Sessions: Asset Management
 
Cf summit-2016-monitoring-cf-sensu-graphite
Cf summit-2016-monitoring-cf-sensu-graphiteCf summit-2016-monitoring-cf-sensu-graphite
Cf summit-2016-monitoring-cf-sensu-graphite
 
Building Event Streaming Applications with Pac-Man (Ricardo Ferreira, Conflue...
Building Event Streaming Applications with Pac-Man (Ricardo Ferreira, Conflue...Building Event Streaming Applications with Pac-Man (Ricardo Ferreira, Conflue...
Building Event Streaming Applications with Pac-Man (Ricardo Ferreira, Conflue...
 

Ähnlich wie New Relic: Optimizing The Database SQL and NoSQL Alike

Finding and fixing top performance issues with new relic rpm
Finding and fixing top performance issues with new relic rpmFinding and fixing top performance issues with new relic rpm
Finding and fixing top performance issues with new relic rpmBrian Doll
 
A Call for Sanity in NoSQL
A Call for Sanity in NoSQLA Call for Sanity in NoSQL
A Call for Sanity in NoSQLC4Media
 
Performance Tuning Your Puppet Infrastructure - PuppetConf 2014
Performance Tuning Your Puppet Infrastructure - PuppetConf 2014Performance Tuning Your Puppet Infrastructure - PuppetConf 2014
Performance Tuning Your Puppet Infrastructure - PuppetConf 2014Puppet
 
Denver SQL Saturday The Next Frontier
Denver SQL Saturday The Next FrontierDenver SQL Saturday The Next Frontier
Denver SQL Saturday The Next FrontierKellyn Pot'Vin-Gorman
 
4392091081755796971 emea10 zero_downtimeoperations
4392091081755796971 emea10 zero_downtimeoperations4392091081755796971 emea10 zero_downtimeoperations
4392091081755796971 emea10 zero_downtimeoperationsLocuto Riorama
 
Overview of Blue Medora - New Relic Plugin for Oracle Databases
Overview of Blue Medora - New Relic Plugin for Oracle DatabasesOverview of Blue Medora - New Relic Plugin for Oracle Databases
Overview of Blue Medora - New Relic Plugin for Oracle DatabasesBlue Medora
 
Database automated build and test - SQL In The City Cambridge
Database automated build and test - SQL In The City CambridgeDatabase automated build and test - SQL In The City Cambridge
Database automated build and test - SQL In The City CambridgeRed Gate Software
 
Secrets of highly_avail_oltp_archs
Secrets of highly_avail_oltp_archsSecrets of highly_avail_oltp_archs
Secrets of highly_avail_oltp_archsTarik Essawi
 
MySQL optimisations of Docplanner services
MySQL optimisations of Docplanner servicesMySQL optimisations of Docplanner services
MySQL optimisations of Docplanner servicesTomasz Wójcik
 
Spark Summit EU talk by John Musser
Spark Summit EU talk by John MusserSpark Summit EU talk by John Musser
Spark Summit EU talk by John MusserSpark Summit
 
DATABASE AUTOMATION with Thousands of database, monitoring and backup
DATABASE AUTOMATION with Thousands of database, monitoring and backupDATABASE AUTOMATION with Thousands of database, monitoring and backup
DATABASE AUTOMATION with Thousands of database, monitoring and backupSaewoong Lee
 
RubyKaigi 2022 - Fast data processing with Ruby and Apache Arrow
RubyKaigi 2022 - Fast data processing with Ruby and Apache ArrowRubyKaigi 2022 - Fast data processing with Ruby and Apache Arrow
RubyKaigi 2022 - Fast data processing with Ruby and Apache ArrowKouhei Sutou
 
261197832 8-performance-tuning-part i
261197832 8-performance-tuning-part i261197832 8-performance-tuning-part i
261197832 8-performance-tuning-part iNaviSoft
 
Webinar replay: MySQL Query Tuning Trilogy: Query tuning process and tools
Webinar replay: MySQL Query Tuning Trilogy: Query tuning process and toolsWebinar replay: MySQL Query Tuning Trilogy: Query tuning process and tools
Webinar replay: MySQL Query Tuning Trilogy: Query tuning process and toolsSeveralnines
 
Les nouveautés de MySQL 8.0
Les nouveautés de MySQL 8.0Les nouveautés de MySQL 8.0
Les nouveautés de MySQL 8.0Frederic Descamps
 
Building an SRE Organization @ Squarespace
Building an SRE Organization @ SquarespaceBuilding an SRE Organization @ Squarespace
Building an SRE Organization @ SquarespaceFranklin Angulo
 
Deep Dive: More Oracle Data Pump Performance Tips and Tricks
Deep Dive: More Oracle Data Pump Performance Tips and TricksDeep Dive: More Oracle Data Pump Performance Tips and Tricks
Deep Dive: More Oracle Data Pump Performance Tips and TricksGuatemala User Group
 

Ähnlich wie New Relic: Optimizing The Database SQL and NoSQL Alike (20)

Finding and fixing top performance issues with new relic rpm
Finding and fixing top performance issues with new relic rpmFinding and fixing top performance issues with new relic rpm
Finding and fixing top performance issues with new relic rpm
 
A Call for Sanity in NoSQL
A Call for Sanity in NoSQLA Call for Sanity in NoSQL
A Call for Sanity in NoSQL
 
Performance Tuning Your Puppet Infrastructure - PuppetConf 2014
Performance Tuning Your Puppet Infrastructure - PuppetConf 2014Performance Tuning Your Puppet Infrastructure - PuppetConf 2014
Performance Tuning Your Puppet Infrastructure - PuppetConf 2014
 
Copy Data Management for the DBA
Copy Data Management for the DBACopy Data Management for the DBA
Copy Data Management for the DBA
 
Denver SQL Saturday The Next Frontier
Denver SQL Saturday The Next FrontierDenver SQL Saturday The Next Frontier
Denver SQL Saturday The Next Frontier
 
4392091081755796971 emea10 zero_downtimeoperations
4392091081755796971 emea10 zero_downtimeoperations4392091081755796971 emea10 zero_downtimeoperations
4392091081755796971 emea10 zero_downtimeoperations
 
Overview of Blue Medora - New Relic Plugin for Oracle Databases
Overview of Blue Medora - New Relic Plugin for Oracle DatabasesOverview of Blue Medora - New Relic Plugin for Oracle Databases
Overview of Blue Medora - New Relic Plugin for Oracle Databases
 
Database automated build and test - SQL In The City Cambridge
Database automated build and test - SQL In The City CambridgeDatabase automated build and test - SQL In The City Cambridge
Database automated build and test - SQL In The City Cambridge
 
Secrets of highly_avail_oltp_archs
Secrets of highly_avail_oltp_archsSecrets of highly_avail_oltp_archs
Secrets of highly_avail_oltp_archs
 
MySQL optimisations of Docplanner services
MySQL optimisations of Docplanner servicesMySQL optimisations of Docplanner services
MySQL optimisations of Docplanner services
 
Spark Summit EU talk by John Musser
Spark Summit EU talk by John MusserSpark Summit EU talk by John Musser
Spark Summit EU talk by John Musser
 
DATABASE AUTOMATION with Thousands of database, monitoring and backup
DATABASE AUTOMATION with Thousands of database, monitoring and backupDATABASE AUTOMATION with Thousands of database, monitoring and backup
DATABASE AUTOMATION with Thousands of database, monitoring and backup
 
RubyKaigi 2022 - Fast data processing with Ruby and Apache Arrow
RubyKaigi 2022 - Fast data processing with Ruby and Apache ArrowRubyKaigi 2022 - Fast data processing with Ruby and Apache Arrow
RubyKaigi 2022 - Fast data processing with Ruby and Apache Arrow
 
261197832 8-performance-tuning-part i
261197832 8-performance-tuning-part i261197832 8-performance-tuning-part i
261197832 8-performance-tuning-part i
 
Webinar replay: MySQL Query Tuning Trilogy: Query tuning process and tools
Webinar replay: MySQL Query Tuning Trilogy: Query tuning process and toolsWebinar replay: MySQL Query Tuning Trilogy: Query tuning process and tools
Webinar replay: MySQL Query Tuning Trilogy: Query tuning process and tools
 
Database story by DevOps
Database story by DevOpsDatabase story by DevOps
Database story by DevOps
 
Les nouveautés de MySQL 8.0
Les nouveautés de MySQL 8.0Les nouveautés de MySQL 8.0
Les nouveautés de MySQL 8.0
 
Building an SRE Organization @ Squarespace
Building an SRE Organization @ SquarespaceBuilding an SRE Organization @ Squarespace
Building an SRE Organization @ Squarespace
 
Neo4j
Neo4jNeo4j
Neo4j
 
Deep Dive: More Oracle Data Pump Performance Tips and Tricks
Deep Dive: More Oracle Data Pump Performance Tips and TricksDeep Dive: More Oracle Data Pump Performance Tips and Tricks
Deep Dive: More Oracle Data Pump Performance Tips and Tricks
 

New Relic: Optimizing The Database SQL and NoSQL Alike