36
菲季利浦安東尼安德斯 Philip Antoniades Senior Director, MySQL Sales Consulting From Nice to Have to Mission Critical: MySQL Enterprise Edition

From Nice to Have to Mission Critical: MySQL Enterprise Edition

  • Upload
    -

  • View
    357

  • Download
    1

Embed Size (px)

Citation preview

Page 1: From Nice to Have to Mission Critical: MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 121

菲季利浦安東尼安德斯 Philip Antoniades Senior Director, MySQL Sales Consulting

From Nice to Have to Mission Critical: MySQL Enterprise Edition

Page 2: From Nice to Have to Mission Critical: MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 122

Program Agenda

MySQL and you Data in the modern enterprise MySQL Enterprise Edition Oracle Product Integrations/Certifications Learn more Questions?

Page 3: From Nice to Have to Mission Critical: MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 123

The following is intended to outline our general product direction. It is

intended for information purposes only, and may not be incorporated

into any contract. It is not a commitment to deliver any material, code,

or functionality, and should not be relied upon in making purchasing

decision. The development, release, and timing of any features or

functionality described for Oracle’s products remains at the sole

discretion of Oracle.

Safe Harbor Statement

Page 4: From Nice to Have to Mission Critical: MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 124

World’s Most Popular Open Source Database

• Over 15 million estimated installations• Used by 9 of top 10 web sites in the world• Embedded by 8 of the top 10 ISVs• #1 database in the Cloud• Integrated w/Hadoop in 80% of Big Data platforms• Facebook: 175K fans, +35% YoY Growth• Twitter: 28K followers, +67% YoY Growth• Numerous Awards: Linux Journal, CRN, PHP Architect...

Page 5: From Nice to Have to Mission Critical: MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 125

Cloud

Web & Enterprise OEM & ISVs

Industry Leaders Rely on MySQL

Page 6: From Nice to Have to Mission Critical: MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 126

From Nice to Have to Mission-Critical(and all points between)

Page 7: From Nice to Have to Mission Critical: MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 127

Users/Dependence

Sales dept can’t get accurate reports from IT. Builds Data Mart to query Order System to serve Sales Management with sales data reports

Works so well that access is extended to Executive Management and Accounting System added as second data source

Mission-Critical

Data Mart has entire Salesforce, Exec team,

leaders of Finance, Marketing and Service departments as

users (200+ people) and three back ends, Orders, Accounting & CRM

Day 1 6 months 1 year

Inflection point when “nice to have” becomes mission-

critical

nice to have

Custom Applications Mission Critical Over TimeExample

Page 8: From Nice to Have to Mission Critical: MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 128

Users/Dependence

“I’ll fix it myself”Spend time, save money,

some risk

“I’ll hire more DBAs!”Spend more time, save less money, more risk

Mission-Critical

“We need help!”Spend money, save time, mitigate risk

Day 1 6 months 1 year

1 minute of downtime = Lost $

nice to have

What’s At Risk?Revenue and Productivity

Page 9: From Nice to Have to Mission Critical: MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 129

40% DATA GROWTH PER YEAR

5.9BN MOBILE SUBS IN 2011

OVER 1.2 BILLION iOS & ANDROID APPS IN 2012

85% HANDSETS SHIPPED WITH A

BROWSER

$1TR BY 2013

$700BN IN 2011

2.2BN USERS

630M WEB SITES

400m TWEETS PER DAY

955M USERS

552M DAILY ACTIVE

72 HOURS UPLOADED EVERY

MINUTE

Page 10: From Nice to Have to Mission Critical: MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1210

..version of MySQL to run?

…servers down?

…will systems scale?

…security policies, change?

…performance issues?

Where/When/How to Tune?

…expensive, slow queries?

…Replication synch issues?

…managing Oracle and MySQL databases?

…Developers productive?

…can I recover?

And then, tough questions…

Page 11: From Nice to Have to Mission Critical: MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1211

Oracle Premier Lifetime Support

Oracle Product Certifications/Integrations

MySQL EnterpriseHigh Availability

MySQL EnterpriseSecurity

MySQL EnterpriseScalability

MySQL EnterpriseBackup

MySQL Enterprise Monitor/Query Analyzer

MySQL Workbench

MySQL Enterprise EditionHighest Levels of Security, Performance and Availability

MySQL EnterpriseAudit

Oracle Premier Lifetime Support

Oracle Product Certifications/Integrations

MySQL EnterpriseHigh Availability

MySQL EnterpriseSecurity

MySQL EnterpriseScalability

MySQL EnterpriseBackup

MySQL Enterprise Monitor/Query Analyzer

MySQL Workbench

MySQL EnterpriseAudit

Oracle Premier Lifetime Support

Oracle Product Certifications

MySQL Enterprise High Availability

MySQL Enterprise Security

MySQL Enterprise Scalability

MySQL Enterprise Backup

MySQL Enterprise Monitor/Query Analyzer

MySQL Workbench

MySQL EnterpriseAudit

Page 12: From Nice to Have to Mission Critical: MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1212

Out-of-the-box logging of connections, logins, query activity across all or specific MySQL servers

User defined policies, filtering and log rotation Dynamically enabled, disabled: no server restart XML-based audit stream per Oracle audit specification Easily implemented via MySQL 5.5 Audit API MySQL 5.5.28 and higher

Adds regulatory compliance to MySQL applications.HIPAA, Sarbanes-Oxley, PCI, etc.

New!MySQL Enterprise AuditPolicy-based Auditing for MySQL Applications

Page 13: From Nice to Have to Mission Critical: MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1213

2. User Joe Connects and Queries Server1

MySQL Enterprise Audit Flow

1. DBA Enables on Server1Server1

3. Joe’s connection, query logged

Page 14: From Nice to Have to Mission Critical: MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1214

PAM (Pluggable Authentication Modules)- Access external authentication methods- Standard interface (Unix, LDAP, Kerberos, others)- proxied and non-proxied users Windows- Access native Windows services- Authenticate users already logged into Windows (Windows Active

Directory) Pluggable Authentication API

Integrates MySQL with existing security infrastructures and SOPs.

MySQL Enterprise SecurityExternal Authentication

Page 15: From Nice to Have to Mission Critical: MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1215

MySQL default thread-handling – excellent performance, can limit scalability as user connections grow

MySQL Thread Pool improves sustained performance/scale as user connections grow

Thread Pool API

Ensures better, sustained performance as user loads continue to grow.

MySQL Enterprise ScalabilityMySQL Thread Pool

Page 16: From Nice to Have to Mission Critical: MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1216

Internal Clients

DefaultThread Handling

Connections/statements assigned to Threads

for life

Connections assigned to 1 thread for the life of the connection, same thread used for all statements

No prioritization of threads, statement executions Many concurrent connections = many concurrent execution threads to consume

server memory, limit scalability

Connection Execution Threads

External Clients

Default Thread Handling

Page 17: From Nice to Have to Mission Critical: MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1217

Internal Clients

Connection Execution Threads

External Clients

Thread PoolThread Group 1Threads 1 - 4096

Thread Group 2Threads 4097 - 8193

Thread Group NThreads 8194 - N

Thread Pool contains configurable number of thread groups (default = 16), each manages up to 4096 re-usable threads

Each connection assigned to thread group via round robin Threads are prioritized, statements queued to limit concurrent executions, load on

server, improve scalability as connections grow

Thread Group 1

Thread Group 2

Thread Group N

With Thread Pool Enabled

Page 18: From Nice to Have to Mission Critical: MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1218

MySQL Enterprise EditionWith Thread Pool

MySQL Community ServerWithout Thread Pool

20x Better Scalability with Thread Pool

8 32 128 512 1536 2560 35840

1000

2000

3000

4000

5000

6000

7000

8000

MySQL 5.5 Sysbench OLTP Read/Write

S imul taneous Databas e Connec tions

Tr ans ac tions Per Sec ond

MySQL 5.5.16Oracle Linux 6.1, Unbreakable Kernel 2.6.322 sockets, 24 cores, 2 X 12-coreIntel(R) Xeon(R) X5670 2.93GHz CPUs72GB DDR3 RAM2 X LSI SCSI Disk (MR9261-8i) (597GB)

With Thread Pool Enabled

Page 19: From Nice to Have to Mission Critical: MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1219

MySQL Enterprise EditionWith Thread Pool

MySQL Community ServerWithout Thread Pool

3x Better Scalability with Thread Pool

MySQL 5.5.16Oracle Linux 6.1, Unbreakable Kernel 2.6.322 sockets, 24 cores, 2 X 12-coreIntel(R) Xeon(R) X5670 2.93GHz CPUs72GB DDR3 RAM2 X LSI SCSI Disk (MR9261-8i) (597GB)

8 32 128 512 1536 2560 35840

2000

4000

6000

8000

10000

12000

MySQL 5.5 Sysbench OLTP Read Only

S imul taneous Databas e Connec tions

Tr ans ac tions Per Sec ond

With Thread Pool Enabled

Page 20: From Nice to Have to Mission Critical: MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1220

A Virtual MySQL DBA Assistant!

Web-based, global view of MySQL/Cluster applications (on-premise and Cloud deployments)

Automated, rules-based monitoring and alerts (SMTP, SNMP enabled)

Query capture, monitoring, analysis and tuning, correlated with Monitor graphs

Real-time Replication Monitor with auto-discovery of master-slave topologies

Integrated with Oracle Support

MySQL Enterprise Monitor

Page 21: From Nice to Have to Mission Critical: MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1221

Saves time writing, deploying, versioning, maintaining custom scripts. Visualize problems and tuning opportunities you cannot find yourself.

10 Advisors, 160+ Rules, 60+ MySQL, OS specific Graphs

AdministrationMonitors and Advises on Optimal Start up and Run time Configuration

SecurityMonitors and Advises on Unplanned Security Changes/Loopholes

UpgradeMonitors and Advises on Bugs/Upgrades that affect current installation

ReplicationMonitors and Advises on Master/Slave Latency

Memory UsageMonitors and advises on optimal memory/cache settings

SchemaMonitors and Advises on Unplanned Schema Change

PerformanceMonitors and Advises on Optimal Performance Variable Settings

Built by DBA to Enforce Organization specific best practices

Custom

MySQL ClusterMonitors and Advises on status/ performance of MySQL Cluster Data Nodes

BackupMonitors and Advises on Backup/Recovery processes

Automated Advisors and Alerts

Page 22: From Nice to Have to Mission Critical: MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1222

Centralized monitoring of queries without Slow Query Log, SHOW PROCESSLIST;

Aggregated view of query execution counts, time, and rows

Visual “grab and go” correlation with Monitor graphs

Enabled via Connectors (PHP, JDBC, .Net) or MySQL Proxy

Saves you time parsing atomic executions from logs. Finds problems you cannot find yourself.

MySQL Query Analyzer

Page 23: From Nice to Have to Mission Critical: MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1223

Example query exec with variable substitution

Trace query exec back to source code

Full exec EXPLAIN

Query Execution Drill Downs

Page 24: From Nice to Have to Mission Critical: MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1224

Auto-detects, groups/maintains Master/Slave topologies

Consolidated, real time status/synch check

Notifications on Synch Issues Proactive vs reactive

Saves you time monitoring and collecting replication status/synch data from MySQL command line.

Automated Replication Monitor

Page 25: From Nice to Have to Mission Critical: MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1225

Online Backup for InnoDB (scriptable interface) Full, Incremental, Partial Backups (with compression) Point in Time, Full, Partial Recovery options Enterprise Advisor Monitoring and Alerts on Backup Operations Metadata on status, progress, history Unlimited Database Size Cross-Platform

- Windows, Linux, Unix Certified with Oracle Secure Backup, NetBackup, Tivoli, others

Ensures quick, online backup and recovery of your on premise and Cloud based MySQL applications.

MySQL Enterprise Backup

Page 26: From Nice to Have to Mission Critical: MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1226

New! Database Migration Wizard for SQL Server, Sybase, PostgreSQL

Database Design- Visual Design, modeling- Forward/Reverse Engineer- Schema validation, Schema doc SQL Development- SQL Editor - Color Syntax

Highlighting - Objects - Import/Export,

Browse/EditDatabase Administration- Status, Configuration, Start/Stop- Users, Security, Sessions- Import/Export Dump Files

MySQL Workbench

Saves you time developing and managing your MySQL applications.

Page 27: From Nice to Have to Mission Critical: MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1227

Oracle Linux Oracle VM Oracle VM Manager Oracle Cluster File System 2 (OCFS2) MySQL Database 5.5 (Enterprise Edition)Pre-Installed & Pre-ConfiguredFull Integration & QA TestingSingle Point of Support

Oracle VM Servers

Oracle VM Server Pool

ocfs2

Oracle VM Manager

iSCSI / FC-AL

Oracle VM

Secure Live Migration (SSL)

Oracle VMAutomatic Fault

Detection & Recovery

http://mysql.com/why-mysql/white-papers/mysql_wp_oracle-vm-template-for-mee.php

MySQL Enterprise High AvailabilityOracle VM Template for MySQL Enterprise Edition

Page 28: From Nice to Have to Mission Critical: MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1228

Certified and fully supported by Oracle– DRBD integrated into Oracle Linux Unbreakable

Enterprise Kernel R2– Pacemaker and Corosync for clustering & failover– Updates to stack via ULN channel

Based on distributed storage, not a SAN– Synchronous replication eliminates risk of data

loss Open source, mature & proven

New!MySQL Enterprise High AvailabilityOracle Linux + DRBD Stack

Page 29: From Nice to Have to Mission Critical: MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1229

Native Windows HA clustering with MySQL Failures & Planned Maintenance Quorum (3rd vote), data (InnoDB + schema) & binaries

(optional) stored in shared storage (iSCSI & FCAL) Loss of service = couple of seconds + InnoDB recovery time

– App sees temporary loss of connection and reconnects on same IP address

– Replication slave recovers automatically Cluster managed through MS Failover Cluster Management

snap-in GUI No new software/scripts required

** Technical support for Windows Server Failover Clustering must be sourced from Microsoft.

Download the Guide: http://bit.ly/w3rSoP

App

Virtual IP

Data Bin

S lave App App

Vote

MySQL Enterprise High AvailabilityWindows Server Failover Clustering

Page 30: From Nice to Have to Mission Critical: MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1230

Kernel based heartbeat and monitoring SPARC and x86. Solaris Virtualization-aware MySQL agent included with Oracle Solaris Cluster Learn more:

http://www.oracle.com/technetwork/server-storage/solaris-cluster/overview/index.html

New!MySQL Enterprise High AvailabilityOracle Solaris Clustering

Page 31: From Nice to Have to Mission Critical: MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1231

Oracle Fusion MiddleWare- WebLogic Server- Database Adapter for Oracle SOA Suite- Oracle Business Process Management - Oracle Virtual Directory- Oracle Data Integrator- Oracle Enterprise Performance Management - Oracle Identity Analytics- Open SSO STS, Open SSO Fedlet

All ship with MySQL 5.x JDBC driver

Oracle Product Integrations/CertificationsAvailable Now

Page 32: From Nice to Have to Mission Critical: MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1232

Oracle Linux (w/DRBD Stack) Oracle VM Oracle VM Template for MySQL EE Oracle Solaris Clustering Oracle GoldenGate Oracle Secure Backup Oracle Database Firewall My Oracle Online Support

Oracle Product Integrations/CertificationsAvailable Now

Page 33: From Nice to Have to Mission Critical: MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1233

Oracle Product Integrations/CertificationsIn Progress

Oracle Fusion MiddleWare- WebCenter Suite - Enterprise Content Management - Oracle Business Intelligence Suite

Oracle Clusterware Oracle Audit Vault Oracle Enterprise Manager And More…

Page 34: From Nice to Have to Mission Critical: MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1234

Largest Team of MySQL Experts Backed by MySQL Developers Forward Compatible Hot Fixes MySQL Maintenance Releases Direct Access to MySQL Support Engineers Support in 29 Languages 24/7/365 Unlimited Incidents Knowledge Base MySQL Consultative Support

Only From Oracle

Oracle Premier Lifetime Support for MySQLRely on the Experts

"The rep that assisted me was simply outstanding. He immediately recognized the cause of my problem and provided the resolution.” mysql.com/support/quotes

Page 35: From Nice to Have to Mission Critical: MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1235

mysql.com- MySQL Products and Editions- TCO calculator- Customer use cases and success stories

dev.mysql.com- Downloads, Documentation- Forums- PlanetMySQL

eDelivery.oracle.com- Download and evaluate all MySQL products

Learn More

Page 36: From Nice to Have to Mission Critical: MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1236

Questions?

From Nice to Have to Mission Critical MySQL Enterprise Edition