02 -my_sql_roma-may2011

14
<Insert Picture Here> MySQL Enterprise Monitor Luca Olivari Sales Consulting Leader - MySQL

Upload: testfank

Post on 16-May-2015

229 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: 02  -my_sql_roma-may2011

<Insert Picture Here>

MySQL Enterprise Monitor

Luca OlivariSales Consulting Leader - MySQL

Page 2: 02  -my_sql_roma-may2011

DBAs and Developers Challenges

• Expensive SQL?• Scalability and Performance Issues?• Scale DBAs to manage more servers? • Where, When, How to ...?

Page 3: 02  -my_sql_roma-may2011

• 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

Page 4: 02  -my_sql_roma-may2011

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

Page 5: 02  -my_sql_roma-may2011

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

Page 6: 02  -my_sql_roma-may2011

Monitoring with Rules

Page 7: 02  -my_sql_roma-may2011

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.

Page 8: 02  -my_sql_roma-may2011

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 - ...

Page 9: 02  -my_sql_roma-may2011

• 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

Page 10: 02  -my_sql_roma-may2011

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

Page 11: 02  -my_sql_roma-may2011

• 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

Page 12: 02  -my_sql_roma-may2011

Query Execution Drill Downs Example query exec

with variable substitution

Trace query exec back to source code

Full exec EXPLAIN

Page 13: 02  -my_sql_roma-may2011

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

Page 14: 02  -my_sql_roma-may2011

Making MySQL Better Everyday

Thank You!