MySQL Server Architecture and Technology
MySQL Marcelo Souza [email_address] MySQL Account Manager Henrique Leandro [email_address] MySQL Sales Consultant
  Agenda <ul><li>Introdução </li></ul><ul><li>Opções de Alta Disponibilidade </li></ul><ul><li>Conceito de Alta Disponibil...
Pluggable Storage Engines Architecture InnoDB MyISAM Cluster Etc… Partners Community More.. MySQL Server Clients and Apps ...
High Availability & Disaster Recovery <ul><li>MySQL replication </li></ul><ul><li>Built into MySQL database </li></ul><ul>...
High Availability software upgrades hardware upgrades maintenance operations software failures network failures power fail...
MySQL Replication Virtual IP Replication Applications Master HA Slave Scale-out Slave Scale-out Slave Scale-out Slave Repl...
Replication Topologies A Flexible Way to Scale Multiple Single Chain Circular © 2010 Oracle Corporation – Proprietary and ...
Shared Disk Clusters <ul><ul><li>Active/Passive server or process configuration </li></ul></ul><ul><ul><ul><li>Links serve...
DRBD <ul><li>Distributed Replicated Block Device </li></ul><ul><li>Runs over standard IP networks </li></ul><ul><li>Distri...
MySQL Cluster Application Layer Interface/SQL Layer Data Layer Data Nodes Management Server Client Applications MySQL Serv...
MySQL Server 5.5
Making MySQL Better  Everyday Announced at MySQL Sunday:   MySQL 5.5 Release Candidate
MySQL 5.5 SysBench Benchmarks Windows MySQL 5.1.50 (InnoDB built-in) MySQL 5.1.50  (InnoDB Plug-in) MySQL 5.5.6  (New Inno...
A Virtual MySQL DBA Assistant! MySQL Enterprise Monitor
MySQL Enterprise Monitor 2.3 Confidential, Oracle Internal Only
MySQL Enterprise Monitor
© 2010 Oracle Corporation – Proprietary and Confidential  MySQL Marcelo Souza [email_address] MySQL Account Manager Henriq...
 
 
Upcoming SlideShare
Loading in …5
×

MySQL Alta Disponibilidade com Replicação

2,975 views

Published on

MySQL Alta Disponibilidade com Replicação no Fórum da Comunidade MySQL

  • Be the first to comment

  • Be the first to like this

MySQL Alta Disponibilidade com Replicação

  1. 1. MySQL Server Architecture and Technology
  2. 2. MySQL Marcelo Souza [email_address] MySQL Account Manager Henrique Leandro [email_address] MySQL Sales Consultant
  3. 3. Agenda <ul><li>Introdução </li></ul><ul><li>Opções de Alta Disponibilidade </li></ul><ul><li>Conceito de Alta Disponibilidade </li></ul><ul><li>Soluções para Alta Disponibilidade </li></ul><ul><li>MySQL 5.5 Update </li></ul><ul><li>MySQL Enterprise Overview </li></ul><ul><li>Q&A </li></ul>
  4. 4. Pluggable Storage Engines Architecture InnoDB MyISAM Cluster Etc… Partners Community More.. MySQL Server Clients and Apps © 2010 Oracle Corporation – Proprietary and Confidential Filesystems, Files and Logs Redo, Undo, Data, Index, Binary, Error, Query and Slow Connectors Native C API, JDBC, ODBC, .Net, PHP, Ruby, Python, VB, Perl Connection Pool Authentication – Thread Reuse – Connection Limits – Check Memory – Caches Enterprise Management Services and Utilities Backup & Recovery Security Replication Cluster Partitioning Instance Manager Information_Schema MySQL Workbench SQL Interface DDL, DML, Stored Procedures, Views, Triggers, Etc.. Parser Query Translation, Object Privileges Optimizer Access Paths, Statistics Caches Global and Engine Specific Caches and Buffers Pluggable Storage Engines Memory, Index and Storage Management
  5. 5. High Availability & Disaster Recovery <ul><li>MySQL replication </li></ul><ul><li>Built into MySQL database </li></ul><ul><li>Fast & easy implementation </li></ul><ul><li>Sync disk replication </li></ul><ul><li>DRBD, AVS </li></ul><ul><li>Replicate at disk level </li></ul><ul><li>Shared disk cluster </li></ul><ul><li>Shared storage device </li></ul><ul><li>Cluster mgt. software </li></ul><ul><li>MySQL Cluster </li></ul><ul><li>Active/Active solution </li></ul><ul><li>Five 9 ’ s </li></ul><ul><li>Very high performance </li></ul><ul><li>Not for all workloads </li></ul>Active Node Passive DRBD
  6. 6. High Availability software upgrades hardware upgrades maintenance operations software failures network failures power failures disasters hardware failures Clustering and geographical redundancy Clustering Technologies Replication Technologies Well-Managed Unmanaged Small Business ISP & Mainstream Business Data Centers Banking Medical Telco Military Defense . 35 days 4 days 50 mins 5 mins 8 hours 9 9 9 9 9 %
  7. 7. MySQL Replication Virtual IP Replication Applications Master HA Slave Scale-out Slave Scale-out Slave Scale-out Slave Replication
  8. 8. Replication Topologies A Flexible Way to Scale Multiple Single Chain Circular © 2010 Oracle Corporation – Proprietary and Confidential Master Slave
  9. 9. Shared Disk Clusters <ul><ul><li>Active/Passive server or process configuration </li></ul></ul><ul><ul><ul><li>Links servers with 3rd party software and virtual IP </li></ul></ul></ul><ul><ul><li>Reliability </li></ul></ul><ul><ul><ul><li>Commonly used solution </li></ul></ul></ul><ul><ul><li>Fault Tolerance </li></ul></ul><ul><ul><ul><li>No single point of failure with appropriate hardware </li></ul></ul></ul><ul><ul><li>High Availability </li></ul></ul><ul><ul><ul><li>Data handled by a SAN or NAS and always available </li></ul></ul></ul><ul><ul><ul><li>Automatic fail-over </li></ul></ul></ul><ul><ul><li>Simplified Management </li></ul></ul><ul><ul><ul><li>Cluster management utilities </li></ul></ul></ul><ul><li>Sun Cluster </li></ul><ul><li>Red Hat Enterprise Server </li></ul><ul><li>Novell Suse Enterprise Server </li></ul><ul><li>Veritas Cluster Server </li></ul><ul><li>Linux HA with Heartbeat </li></ul><ul><li>HP Serviceguard </li></ul><ul><li>SCO Reliant-HA </li></ul><ul><li>Microsoft Cluster Server </li></ul>MySQL Server Nodes Shared Storage Applications
  10. 10. DRBD <ul><li>Distributed Replicated Block Device </li></ul><ul><li>Runs over standard IP networks </li></ul><ul><li>Distributed storage </li></ul><ul><li>Similar to network RAID </li></ul><ul><li>Synchronous </li></ul><ul><li>Characteristics </li></ul><ul><li>No special networking components (except Heartbeat) </li></ul><ul><li>Excellent performance (blocks vs. rows of data) </li></ul><ul><li>Manages inconsistencies of data during a failure </li></ul><ul><li>Hides the complexity of many recovery actions </li></ul><ul><li>Linux heartbeat manages fail over and virtual IPs </li></ul>Applications Virtual IP Active Node Passive Node DRBD
  11. 11. MySQL Cluster Application Layer Interface/SQL Layer Data Layer Data Nodes Management Server Client Applications MySQL Server Access through native API MySQL Server Management Client
  12. 12. MySQL Server 5.5
  13. 13. Making MySQL Better Everyday Announced at MySQL Sunday: MySQL 5.5 Release Candidate
  14. 14. MySQL 5.5 SysBench Benchmarks Windows MySQL 5.1.50 (InnoDB built-in) MySQL 5.1.50 (InnoDB Plug-in) MySQL 5.5.6 (New InnoDB) Intel x86_64 4 CPU x 2 Cores/CPU 3.166 GHz, 8GB RAM Windows Server 2008 1561% performance gain for MySQL 5.5 over 5.1.50; at scale © 2010 Oracle Corporation – Proprietary and Confidential RC
  15. 15. A Virtual MySQL DBA Assistant! MySQL Enterprise Monitor
  16. 16. MySQL Enterprise Monitor 2.3 Confidential, Oracle Internal Only
  17. 17. MySQL Enterprise Monitor
  18. 18. © 2010 Oracle Corporation – Proprietary and Confidential MySQL Marcelo Souza [email_address] MySQL Account Manager Henrique Leandro [email_address] MySQL Sales Consultant

×