Optimizing Security, Performance and Availability Mysql Enterprise Edition

You might also like

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 45

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

. Insert Information Protection Policy Classification from Slide 12 1



MySQL Product Management

Optimizing Security, Performance and Availability
MySQL Enterprise Edition
Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 2
Program Agenda
Oracles Investment in MySQL
From Nice to Have to Mission Critical
MySQL Enterprise Edition
Oracle Product Integrations/Certifications
Learn more
Questions?
Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 3
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 Oracles products remains at the sole
discretion of Oracle.

Safe Harbor Statement
Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 4
Oracle Database and MySQL
Complementary on the Web and in The Cloud
Web and Cloud computing is not a one size fits all model
Together Servicing Broader User Needs
MySQL Well Suited for Web-based & Custom Departmental
apps
Users can Benefit by Running MySQL and Oracle Together
For both on-premise and Cloud computing



Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 5
Oracle Significantly Invests in MySQL


Complete Solutions
Best of Breed at Every Level
On Premise and in the Cloud
MySQL: Web, Mobile & Embedded



Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 6
MySQL Enterprise Monitor 2.2
MySQL Cluster 7.1
MySQL Cluster Manager 1.0
MySQL Workbench 5.2
MySQL Database 5.5
MySQL Enterprise Backup 3.5
MySQL Enterprise Monitor 2.3
MySQL Cluster Manager 1.1


DRIVING MySQL
INNOVATION
All GA!
MySQL Enterprise Backup 3.7
Oracle VM Template for MySQL
Enterprise Edition
MySQL Enterprise Oracle
Certifications
MySQL Windows Installer
MySQL Enterprise Security
MySQL Enterprise Scalability
MySQL Database 5.6 DMR*
MySQL Cluster 7.2 DMR
MySQL Labs!
(early and often)
All GA!

MySQL Cluster 7.2
MySQL Cluster Manager 1.4
MySQL Utilities 1.0.6
MySQL Migration Wizard
MySQL Enterprise Backup 3.8
MySQL Enterprise Audit


MySQL Cluster 7.3 DMR
MySQL Database 5.6 RC

A BETTER
MySQL
*Development Milestone Release
2010
2011
Q1-Q3 2012
All GA!
Available Now!
Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 7
MySQL 5.6 builds on MySQL 5.5 by improving:
- Performance and Scalability
- Optimizer for better query execution times, diagnostics
- InnoDB for better transactional throughput, availability
- Replication for higher availability, data integrity
- Performance Schema for better instrumentation
- Other Important Enhancements
Available Now! Get it here:
dev.mysql.com/downloads/mysql/
MySQL 5.6 Release Candidate
New!
Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 8
MySQL 5.6.7

MySQL 5.6 SysBench Benchmarks


Scales to 48 CPU Threads
Oracle Linux 6
Intel(R) Xeon(R) E7540 x86_64
MySQL leveraging:
- 48 of 96 available CPU threads
- 2 GHz, 512GB RAM
0
2,000
4,000
6,000
8,000
10,000
12,000
12 24 36 48
T
r
a
n
s
a
c
t
i
o
n
s

p
e
r

S
e
c
o
n
d

CPU Threads
MySQL 5.6 Read Write (Linux)
Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 9
MySQL 5.6.7

MySQL 5.6 SysBench Benchmarks


Scales to 48 CPU Threads
Oracle Linux 6
Intel(R) Xeon(R) E7540 x86_64
MySQL leveraging:
- 48 of 96 available CPU threads
- 2 GHz, 512GB RAM
0
2,000
4,000
6,000
8,000
10,000
12,000
14,000
16,000
18,000
12 24 36 48
T
r
a
n
s
a
c
t
i
o
n
s

p
e
r

S
e
c
o
n
d

CPU Threads
MySQL 5.6 Read Only (Linux)
Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 10
MySQL 5.5.28

MySQL 5.6.7

MySQL 5.6 SysBench Benchmarks


Up to 151% Performance Gain
0
2,000
4,000
6,000
8,000
10,000
12,000
32 64 128 256 512
T
r
a
n
s
a
c
t
i
o
n
s

p
e
r

S
e
c
o
n
d

Connections
MySQL 5.6 vs. 5.5 - Read Write (Linux)
Oracle Linux 6
Intel(R) Xeon(R) E7540 x86_64
MySQL leveraging:
- 48 of 96 available CPU threads
- 2 GHz, 512GB RAM
Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 11
MySQL 5.5.28

MySQL 5.6.7

MySQL 5.6 SysBench Benchmarks


Up to 234% Performance Gain
0
2,000
4,000
6,000
8,000
10,000
12,000
14,000
16,000
18,000
32 64 128 256 512
T
r
a
n
s
a
c
t
i
o
n
s

p
e
r

S
e
c
o
n
d

Connections
MySQL 5.6 vs. 5.5 - Read Only (Linux)
Oracle Linux 6
Intel(R) Xeon(R) E7540 x86_64
MySQL leveraging:
- 48 of 96 available CPU threads
- 2 GHz, 512GB RAM
Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 12
MySQL Database (Community Server)
MySQL Cluster
MySQL Workbench
MySQL Migration Wizard
MySQL Utilities (in Python)
MySQL Connectors
MySQL Proxy
Documentation (not covered under GPL)
Forums
Set your ambitions high!
Oracles Investment in MySQL Community
Available to download and use under the GPL
Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 13
Cloud
Web & Enterprise
OEM & ISVs
Industry Leaders Rely on MySQL
Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 14
Ubiquitous in the Cloud

Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 15
Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 16
U
s
e
r
s
/
D
e
p
e
n
d
e
n
c
e

IT creates Web site and
DataMart for Sales dept.
to register/track/report
orders, renewals
Web site generating
most new orders,
Exec team added as
BI users, Accounting
data added to
DataMart
Mission-Critical
Web site main source
of new orders,
DataMart feeding and
back-ended by many
data sources, used
by entire organization
for daily operations
Day 1 6 months 1 year
Inflection point when
nice to have
becomes mission-
critical
nice to have
How it happens
Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 17
U
s
e
r
s
/
D
e
p
e
n
d
e
n
c
e

Ill fix it myself
Spend time, save
money, some risk
Ill hire more DBAs!
Spend more time, save
less money, more risk
We need help!
Spend money,
save time,
mitigate risk

Day 1 6 months 1 year
free time
1 minute of downtime
= Lost $
Whats the cost?
Time and Productivity
No free time
Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 18
..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
Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 19
Oracle Premier
Lifetime Support
Oracle Product
Certifications/Integrations
MySQL Enterprise
High Availability
MySQL Enterprise
Security
MySQL Enterprise
Scalability
MySQL Enterprise
Backup
MySQL Enterprise
Monitor/Query Analyzer
MySQL Workbench
MySQL Enterprise Edition
Highest Levels of Security, Performance and Availability
MySQL Enterprise
Audit
Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 20
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 Audit
Policy-based Auditing for MySQL Applications
Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 21
2. User Joe Connects and Queries Server1
MySQL Enterprise Audit Flow
1. DBA Enables on Server1
Server1
3. Joes connection, query logged
Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 22
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 Security
External Authentication
Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 23
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
1B USERS
552M DAILY ACTIVE
72 HOURS
UPLOADED EVERY
MINUTE
Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 24
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 Scalability
MySQL Thread Pool
Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 25
Internal Clients
Default
Thread 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
Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 26
Internal Clients
Connection Execution Threads
External Clients
Thread Pool
Thread Group 1
Threads 1 - 4096
Thread Group 2
Threads 4097 - 8193
Thread Group N
Threads 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
Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 27
MySQL Enterprise Edition
With Thread Pool
MySQL Community Server
Without Thread Pool
20x Better Scalability with Thread Pool
0
1,000
2,000
3,000
4,000
5,000
6,000
7,000
8,000
T
r
a
n
s
a
c
t
i
o
n
s

P
e
r

S
e
c
o
n
d

Simultaneous Database Connections
MySQL 5.5 Sysbench OLTP Read/Write
MySQL 5.5.16
Oracle Linux 6.1, Unbreakable Kernel 2.6.32
2 sockets, 24 cores, 2 X 12-core
Intel(R) Xeon(R) X5670 2.93GHz CPUs
72GB DDR3 RAM
2 X LSI SCSI Disk (MR9261-8i) (597GB)
With Thread Pool Enabled
Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 28
MySQL Enterprise Edition
With Thread Pool
MySQL Community Server
Without Thread Pool
3x Better Scalability with Thread Pool
MySQL 5.5.16
Oracle Linux 6.1, Unbreakable Kernel 2.6.32
2 sockets, 24 cores, 2 X 12-core
Intel(R) Xeon(R) X5670 2.93GHz CPUs
72GB DDR3 RAM
2 X LSI SCSI Disk (MR9261-8i) (597GB)
0
2,000
4,000
6,000
8,000
10,000
12,000
T
r
a
n
s
a
c
t
i
o
n
s

P
e
r

S
e
c
o
n
d

Simultaneous Database Connections
MySQL 5.5 Sysbench OLTP Read Only
With Thread Pool Enabled
Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 29
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
Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 30
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
Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 31
Example query exec with
variable substitution
Trace query exec back to
source code
Full exec EXPLAIN
Query Execution Drill Downs
Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 32
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
Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 33
Online Backup for InnoDB (scriptable interface)
Full, Incremental, Partial Backups (with compression)
Point in Time, Full, Partial Recovery options
Parallel, multi-threaded backup/recovery operations
Metadata on status, progress, history
Unlimited Database Size
Cross-Platform
- Windows, Linux, Unix
Certified with Oracle Secure Backup
MEB Backup
Files
MySQL
Database Files
mysqlbackup
Ensures quick, online backup and recovery of your on premise and Cloud
based MySQL applications.
MySQL Enterprise Backup
Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 34
Database Design
- Visual Design, modeling
- Forward/Reverse Engineer
- Schema validation, Schema doc
SQL Development
- SQL Editor - Color Syntax Highlighting
- Objects - Import/Export, Browse/Edit
Database Administration
- Status, Configuration, Start/Stop
- Users, Security, Sessions
- Import/Export Dump Files
New! Database Migration Wizard
for SQL Server, Sybase, PostgreSQL MySQL Workbench
Saves you time developing and
managing your MySQL applications.
Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 35

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


Oracle VM Servers
Oracle VM Server Pool
ocfs2
Oracle VM
Manager
iSCSI / FC-AL
Oracle VM
Secure Live
Migration (SSL)
Oracle VM
Automatic Fault
Detection &
Recovery
http://mysql.com/why-mysql/white-papers/mysql_wp_oracle-vm-template-for-mee.php
MySQL Enterprise High Availability
Oracle VM Template for MySQL Enterprise Edition
Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 36
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 Availability
Oracle Linux + DRBD Stack
Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 37
Native Windows HA clustering with MySQL
Failures & Planned Maintenance
Quorum (3
rd
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
Slave App App
Vote
MySQL Enterprise High Availability
Windows Server Failover Clustering
Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 38
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 Availability
Oracle Solaris Clustering
Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 39
Oracle Premier
Lifetime Support
Oracle Product
Certifications/Integrations
MySQL Enterprise
High Availability
MySQL Enterprise
Security
MySQL Enterprise
Scalability
MySQL Enterprise
Backup
MySQL Enterprise
Monitor/Query Analyzer
MySQL Workbench
MySQL Enterprise Edition
MySQL Enterprise
Audit
Enables you to manage your Oracle and MySQL databases with
Oracle tools/solutions you are already using.
Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 40
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/Certifications
Available Now
Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 41
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/Certifications
Available Now
Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 42
Oracle Product Integrations/Certifications
In Progress
Oracle Fusion MiddleWare
- WebCenter Suite
- Enterprise Content Management
- Oracle Business Intelligence Suite
Oracle Clusterware
Oracle Audit Vault
Oracle Enterprise Manager
And More
Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 43
Largest Team of MySQL Experts
Backed by MySQL Developers
Technical Support in 29 Languages
Forward Compatible Hot Fixes
MySQL Maintenance Releases
Direct Access to MySQL Support Engineers
24/7/365
Unlimited Incidents
Knowledge Base
MySQL Consultative Support


"The rep that assisted me was simply
outstanding. He immediately recognized
the cause of my problem and provided the
resolution.
mysql.com/support/quotes
Only From
Oracle
Oracle Premier Lifetime Support for MySQL
Rely on the Experts
Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 44
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
Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 45

Questions?
Optimizing Security, Performance and Availability
MySQL Enterprise Edition

You might also like