1321
Chapter 15. High Availability and Scalability
Table of Contents
15.1. Oracle VM Template for MySQL Enterprise Edition .......................................................... 1324
15.2. Overview of MySQL with DRBD/Pacemaker/Corosync/Oracle Linux .................................. 1324
15.3. Overview of MySQL with Windows Failover Clustering ...................................................... 1327
15.4. Using MySQL within an Amazon EC2 Instance ................................................................ 1329
15.4.1. Setting Up MySQL on an EC2 AMI ....................................................................... 1330
15.4.2. EC2 Instance Limitations ...................................................................................... 1331
15.4.3. Deploying a MySQL Database Using EC2 ............................................................. 1331
15.5. Using ZFS Replication .................................................................................................... 1334
15.5.1. Using ZFS for File System Replication .................................................................. 1335
15.5.2. Configuring MySQL for ZFS Replication ................................................................ 1336
15.5.3. Handling MySQL Recovery with ZFS .................................................................... 1337
15.6. Using MySQL with
memcached
....................................................................................... 1337
15.6.1. Installing
memcached
........................................................................................... 1339
15.6.2. Using
memcached
............................................................................................... 1340
15.6.3. Developing a
memcached
Application ................................................................... 1358
15.6.4. Getting
memcached
Statistics ............................................................................... 1381
15.6.5.
memcached
FAQ ................................................................................................. 1390
15.7. MySQL Proxy ................................................................................................................. 1392
15.7.1. MySQL Proxy Supported Platforms ....................................................................... 1393
15.7.2. Installing MySQL Proxy ........................................................................................ 1394
15.7.3. MySQL Proxy Command Options ......................................................................... 1396
15.7.4. MySQL Proxy Scripting ........................................................................................ 1405
15.7.5. Using MySQL Proxy ............................................................................................. 1420
15.7.6. MySQL Proxy FAQ .............................................................................................. 1425
Data is the currency of today's web, mobile, social, enterprise and cloud applications. Ensuring data is
always available is a top priority for any organization. Minutes of downtime can result in significant loss
of revenue and reputation.
There is no “one size fits all” approach to delivering High Availability (HA). Unique application
attributes, business requirements, operational capabilities and legacy infrastructure can all influence
HA technology selection. And technology is only one element in delivering HA: people and processes
are just as critical as the technology itself.
MySQL is deployed into many applications demanding availability and scalability. Availability refers to
the ability to cope with, and if necessary recover from, failures on the host, including failures of MySQL,
the operating system, or the hardware and maintenance activity that may otherwise cause downtime.
Scalability
refers to the ability to spread both the database and the load of your application queries
across multiple MySQL servers.
Because each application has different operational and availability requirements, MySQL offers a
range of certified and supported solutions, delivering the appropriate levels of High Availability (HA)
and scalability to meet service level requirements. Such solutions extend from replication, through
virtualization and geographically redundant, multi-data center solutions delivering 99.999% uptime.
Selecting the right high availability solution for an application largely depends on:
• The level of availability required.
• The type of application being deployed.
• Accepted best practices within your own environment.
Summary of Contents for 5.0
Page 1: ...MySQL 5 0 Reference Manual ...
Page 18: ...xviii ...
Page 60: ...40 ...
Page 396: ...376 ...
Page 578: ...558 ...
Page 636: ...616 ...
Page 844: ...824 ...
Page 1234: ...1214 ...
Page 1427: ...MySQL Proxy Scripting 1407 ...
Page 1734: ...1714 ...
Page 1752: ...1732 ...
Page 1783: ...Configuring Connector ODBC 1763 ...
Page 1793: ...Connector ODBC Examples 1773 ...
Page 1839: ...Connector Net Installation 1819 2 You must choose the type of installation to perform ...
Page 2850: ...2830 ...
Page 2854: ...2834 ...
Page 2928: ...2908 ...
Page 3000: ...2980 ...
Page 3122: ...3102 ...
Page 3126: ...3106 ...
Page 3174: ...3154 ...
Page 3232: ...3212 ...