<Insert Picture Here>
MySQL Enterprise Monitor
Luca OlivariSales Consulting Leader - MySQL
DBAs and Developers Challenges
• Expensive SQL?• Scalability and Performance Issues?• Scale DBAs to manage more servers? • Where, When, How to ...?
• Single, consolidated view into entire MySQL environment
• Automated, rules-based monitoring and alerts (SMTP, SNMP enabled)
• Query capture, monitoring, analysis and tuning, correlated with Monitor graphs
• Visual monitoring of “hot” applications and servers
• Real-time Replication Monitor with auto-discovery of master-slave topologies
• Integrated with MyOracle SupportA Virtual MySQL DBA Assistant!
MySQL Enterprise Monitor
MySQL Enterprise Monitor Architecture
• Configuration• Advisor Scheduling• Alerts/Notifications• Visual Monitoring• Query Analysis
Service Agent written in C and supports all MySQL Enterprise platforms
Service Manager written in Java servlets exposed as web services. Supports Linux, Solaris, Mac OSX and Microsoft Windows
Enterprise Dashboard Web-based, written in JSP
Repository holds historical performance data for analysis
Individual Servers w/Agent
Master-Slave ReplicationEnterprise Dashboard
Service Manager
Repository
• Advisor Monitoring• Event based Alerts• Advice/Corrective Actions
Collects MySQL and OS specific metrics, Query content/stats
Holds historical MySQL and OS data, Query Statistics
Monitoring Queries with Connector/J, NET
1. MySQL Enterprise Monitor & Query Analyzer
2. MySQL Agent
3. Connector/J v5.1 or newer/ Connector/NET v6.2 or newer
4. New! MySQL Enterprise Plugin for Connector/J, NET
List of components to download & configure:
MySQL Database
(SQL statements & result sets)
(MySQL & OS monitoring data)
3. Connector/J, NET
4. Plugin for Connector/J, NET
(SQL performance data: statements, examples, EXPLAINs, aggregated stats)
3306
18080
2. MySQL Agent
1. MySQL Enterprise Monitor (Service Manager, Dashboard)
Application Server
Monitoring with Rules
MySQL Enterprise Advisors
Save you time writing, deploying, versioning, maintaining custom scripts. Visualize problems and tuning opportunities you cannot find yourself.
140+ Rules, 40+ Graphs
Administration• Monitors and Advises on
Optimal Configuration
Security• Monitors and Advises
on Unplanned Security Changes/Loopholes
Upgrade• Monitors and Advises on
Bugs/Upgrades that affect current installation
Replication
• Monitors and Advises on Master/Slave Latency.
Memory Usage
• Monitors and advises on optimal memory/cache settings
Schema
• Monitors and Advises on Unplanned Schema Change
Performance
• Monitors and Advises on Optimal Performance Variable Settings
• Built by DBA to Enforce Organization specific best practices.
Custom
MySQL Cluster• Monitors and Advises on
status/ performance of MySQL Cluster Data Nodes.
Graphs• 40+ graphs immediately virtualize system behavior
• MySQL and OS data available
Binlog Cache - Connections - CPU – DB Activity – Transactions – Disk IO – Disk Space – Hit Ratios – InnoDB … - Load – Memory Usage – MyISAM … - Network – Opened Tables – Query Cache – Row Access – Table Locks - ...
• Auto-detects, groups/maintains Master/Slave topologies
• Consolidated, real time status/sync check
• Notification of any sync issues
• Saves you time by monitoring and collecting replication status/sync data from MySQL command line.
Automated Replication Monitor
Integration with MyOracle Support
MySQL Enterprise Monitor • Collect MySQL diagnostics and upload to MOS SR• Track SRs from Enterprise Dashboard • Saves DBA time
• collecting data for Support team, tracking status
• Centralized monitoring of queries across all servers
• No need to rely on Slow Query Logs, SHOW PROCESSLIST, VMSTAT, etc.
• Aggregated view of query execution counts, time, and rows
• Saves time parsing atomic executions for total query expense
• Visual “grab and go” correlation with Monitor graphs
MySQL Query Analyzer
Query Execution Drill Downs Example query exec
with variable substitution
Trace query exec back to source code
Full exec EXPLAIN
Relief for Administrators
Easy browser UI and Integration in SNMP frameworks
• quick overview, easy to use, same tools as always
140+ pre-defined rules enforce best-practice administration• No more waste of time to develop monitoring, adapt to new version, …
Regular rule updates to monitor new features• Fast adoption of new features without much effort
Comprehensive documentation• Assistance for junior MySQL admins
Query Analyzer• Easier to spot application problems
Support integration• Save time in handling support issues, faster solution, better uptime
Making MySQL Better Everyday
Thank You!