SlideShare a Scribd company logo
1 of 15
MySQL
Software Livre de Banco de Dados Mais Popular do Mundo

Henrique Leandro Brasil
Craig Sylvester - USA
               Consultores MySQL/Database
Agenda
                                  Introducao ao MySQL
                                  Alta Disponibilidade com Replicacao
                                  Monitoracao de MySQL




Copyright 2008 Sun Microsystems               MySQL - The Online Database of the 3rd Millennium
MySQL Architecture

                                                                              MySQL Server




Copyright 2008 Sun Microsystems   MySQL - The Online Database of the 3rd Millennium
MySQL Enterprise Monitor

• Consolidated view
• Auto discovery
• Customizable
• Reduce risk
• Query Analysis
• More effective DBAs


                                                                            “Virtual MySQL DBA”
                                                                                   Assistant

Copyright 2008 Sun Microsystems   MySQL - The Online Database of the 3rd Millennium
Enterprise Monitor Architecture
                                                                                                  Customer Datacenter
                   Enterprise Dashboard
                   -Web-based, JSPs


                   Service Manager
                   -Java servlets exposed as web
                   services
                   -Linux, Solaris, Mac OSX and
                   MS Windows
                                                                                                             MySQL Servers w/Agent
                   Repository
                   -MySQL DB
                   -historical performance data
                   for analysis

                   Service Agent
                   -lightweight C application
                   -for all Enterprise platforms




Copyright 2008 Sun Microsystems                    MySQL - The Online Database of the 3rd Millennium
Copyright 2008 Sun Microsystems   MySQL - The Online Database of the 3rd Millennium
Copyright 2008 Sun Microsystems   MySQL - The Online Database of the 3rd Millennium
MySQL Replication




Copyright 2008 Sun Microsystems   MySQL - The Online Database of the 3rd Millennium
MySQL Replication


                                                                   Applications




                                  Virtual IP




            Master                                      HA Slave           Scale-out Slave   Scale-out Slave   Scale-out Slave




                                         Replication



                                                                           Replication



Copyright 2008 Sun Microsystems                        MySQL - The Online Database of the 3rd Millennium
Replication Topologies
                     Single                           Chain                              Circular




                  Multiple                      Multi - Master                        Multi - Circular




Copyright 2008 Sun Microsystems   MySQL - The Online Database of the 3rd Millennium
MySQL Replication
                                                                                                                               Write
                                                                                                                               Read
                                                                               Applications




                                                                             Master




                                                              Slave/Master       Slave/Master   Slave/Master




                             Scale-out Slave Scale-out Slave Scale-out Slave Scale-out Slave Scale-out Slave Scale-out Slave   Scale-out Slave




Copyright 2008 Sun Microsystems                       MySQL - The Online Database of the 3rd Millennium
Application Partitioning
•        Significantly improves performance and scalability, but the
         application must be designed to implement it
•        Vertical Partitioning - 1:1 tables to reduce the size of rows,
         tables and indexes
•        Horizontal Partitioning - 1 table split on multiple tables with
         different rows
•        Tables can be split on multiple servers



           Vertical Partitioning                                         Horizontal Partitioning
    Col1 Col2 Col3 Col4 Col5      Col1 Col2   Col1 Col3 Col4 Col5         Col1 Col2 Col3 Col4 Col5   Col1 Col2 Col3 Col4 Col5




                                                                                                     Col1 Col2 Col3 Col4 Col5




Copyright 2008 Sun Microsystems          MySQL - The Online Database of the 3rd Millennium
Sharding
                                           Web/Application Servers


                                                                                      Write

                                                                                      Read




Copyright 2008 Sun Microsystems   MySQL - The Online Database of the 3rd Millennium
Wikipedia                                                            Application
                                                                          Online Encyclopedia - Constantly in the top
                                                                             10 of the most visited websites worldwide
                                                                          • 5M+ articles in 100 languages
                                                                          • Tens of millions of visitors each day with
                                                                             500K edits
                                                                          • Based on LAMP
                                                                          • 20+ replicated DB servers + lightweight
                                                                             MySQL instances as distributed archive
                                                                             solutions
                                                                          Language based server splitting (application
                                                                             partitioning)

                                                                          Performance
                                                                          • 3,000 pageviews / second
                                                                          • 8,000+ http requests / second
                                                                          • 25,000+ SQL requests / second
                                                                          MySQL Key Points
                                                                          • 90% of DB Server Memory is InnoDB
                                                                            buffer pool
                                                                          • General availability and scalability using
                                                                              replication




Copyright 2008 Sun Microsystems   MySQL - The Online Database of the 3rd Millennium
Obrigado

Henrique.Leandro@oracle.com
Craig.sylvester@oracle.com

  www.mysql.com

More Related Content

Similar to MySQL Consegi

UKOUG 2011: MySQL Architectures for Oracle DBA's
UKOUG 2011: MySQL Architectures for Oracle DBA'sUKOUG 2011: MySQL Architectures for Oracle DBA's
UKOUG 2011: MySQL Architectures for Oracle DBA's
FromDual GmbH
 
What's New in MySQL 5.6
What's New in MySQL 5.6What's New in MySQL 5.6
What's New in MySQL 5.6
Santo Leto
 
MySQL - powering the web economy v1.0
MySQL - powering the web economy v1.0MySQL - powering the web economy v1.0
MySQL - powering the web economy v1.0
IDG Romania
 
Gear6 Webinar - MySQL Scaling with Memcached
Gear6 Webinar - MySQL Scaling with MemcachedGear6 Webinar - MySQL Scaling with Memcached
Gear6 Webinar - MySQL Scaling with Memcached
Gear6
 

Similar to MySQL Consegi (20)

MySQL Cluster
MySQL ClusterMySQL Cluster
MySQL Cluster
 
Usability of MySQL
Usability of MySQLUsability of MySQL
Usability of MySQL
 
RightScale Minneapolis Lightning Talk
RightScale Minneapolis Lightning TalkRightScale Minneapolis Lightning Talk
RightScale Minneapolis Lightning Talk
 
RightScale CloudCamp Austin Slides
RightScale CloudCamp Austin SlidesRightScale CloudCamp Austin Slides
RightScale CloudCamp Austin Slides
 
Scaling MySQL -- Swanseacon.co.uk
Scaling MySQL -- Swanseacon.co.uk Scaling MySQL -- Swanseacon.co.uk
Scaling MySQL -- Swanseacon.co.uk
 
UKOUG 2011: MySQL Architectures for Oracle DBA's
UKOUG 2011: MySQL Architectures for Oracle DBA'sUKOUG 2011: MySQL Architectures for Oracle DBA's
UKOUG 2011: MySQL Architectures for Oracle DBA's
 
Posscon my sql56
Posscon my sql56Posscon my sql56
Posscon my sql56
 
MySQL State of the Dolphin - Rich Mason
MySQL State of the Dolphin - Rich MasonMySQL State of the Dolphin - Rich Mason
MySQL State of the Dolphin - Rich Mason
 
Case study on mysql in rdbms
Case study on mysql in rdbmsCase study on mysql in rdbms
Case study on mysql in rdbms
 
Sunshine php my sql 8.0 v2
Sunshine php my sql 8.0 v2Sunshine php my sql 8.0 v2
Sunshine php my sql 8.0 v2
 
Oracle mysql comparison
Oracle mysql comparisonOracle mysql comparison
Oracle mysql comparison
 
Scalable Database Options on AWS
Scalable Database Options on AWSScalable Database Options on AWS
Scalable Database Options on AWS
 
My sql crashcourse_intro_kdl
My sql crashcourse_intro_kdlMy sql crashcourse_intro_kdl
My sql crashcourse_intro_kdl
 
2 my sql overview technology etc[1]. etc
2 my sql overview   technology etc[1]. etc2 my sql overview   technology etc[1]. etc
2 my sql overview technology etc[1]. etc
 
Webinar Slides: Geo-Scale MySQL in AWS
Webinar Slides: Geo-Scale MySQL in AWSWebinar Slides: Geo-Scale MySQL in AWS
Webinar Slides: Geo-Scale MySQL in AWS
 
What's New in MySQL 5.6
What's New in MySQL 5.6What's New in MySQL 5.6
What's New in MySQL 5.6
 
Eucalyptus 3 Product Overview
Eucalyptus 3 Product OverviewEucalyptus 3 Product Overview
Eucalyptus 3 Product Overview
 
MySQL - powering the web economy v1.0
MySQL - powering the web economy v1.0MySQL - powering the web economy v1.0
MySQL - powering the web economy v1.0
 
Gear6 Webinar - MySQL Scaling with Memcached
Gear6 Webinar - MySQL Scaling with MemcachedGear6 Webinar - MySQL Scaling with Memcached
Gear6 Webinar - MySQL Scaling with Memcached
 
MySQL for Oracle DBA -- Rocky Mountain Oracle User Group Training Days '15
MySQL for Oracle DBA -- Rocky Mountain Oracle User Group Training Days '15MySQL for Oracle DBA -- Rocky Mountain Oracle User Group Training Days '15
MySQL for Oracle DBA -- Rocky Mountain Oracle User Group Training Days '15
 

Recently uploaded

Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 

Recently uploaded (20)

Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 

MySQL Consegi

  • 1. MySQL Software Livre de Banco de Dados Mais Popular do Mundo Henrique Leandro Brasil Craig Sylvester - USA Consultores MySQL/Database
  • 2. Agenda Introducao ao MySQL Alta Disponibilidade com Replicacao Monitoracao de MySQL Copyright 2008 Sun Microsystems MySQL - The Online Database of the 3rd Millennium
  • 3. MySQL Architecture MySQL Server Copyright 2008 Sun Microsystems MySQL - The Online Database of the 3rd Millennium
  • 4. MySQL Enterprise Monitor • Consolidated view • Auto discovery • Customizable • Reduce risk • Query Analysis • More effective DBAs “Virtual MySQL DBA” Assistant Copyright 2008 Sun Microsystems MySQL - The Online Database of the 3rd Millennium
  • 5. Enterprise Monitor Architecture Customer Datacenter Enterprise Dashboard -Web-based, JSPs Service Manager -Java servlets exposed as web services -Linux, Solaris, Mac OSX and MS Windows MySQL Servers w/Agent Repository -MySQL DB -historical performance data for analysis Service Agent -lightweight C application -for all Enterprise platforms Copyright 2008 Sun Microsystems MySQL - The Online Database of the 3rd Millennium
  • 6. Copyright 2008 Sun Microsystems MySQL - The Online Database of the 3rd Millennium
  • 7. Copyright 2008 Sun Microsystems MySQL - The Online Database of the 3rd Millennium
  • 8. MySQL Replication Copyright 2008 Sun Microsystems MySQL - The Online Database of the 3rd Millennium
  • 9. MySQL Replication Applications Virtual IP Master HA Slave Scale-out Slave Scale-out Slave Scale-out Slave Replication Replication Copyright 2008 Sun Microsystems MySQL - The Online Database of the 3rd Millennium
  • 10. Replication Topologies Single Chain Circular Multiple Multi - Master Multi - Circular Copyright 2008 Sun Microsystems MySQL - The Online Database of the 3rd Millennium
  • 11. MySQL Replication Write Read Applications Master Slave/Master Slave/Master Slave/Master Scale-out Slave Scale-out Slave Scale-out Slave Scale-out Slave Scale-out Slave Scale-out Slave Scale-out Slave Copyright 2008 Sun Microsystems MySQL - The Online Database of the 3rd Millennium
  • 12. Application Partitioning • Significantly improves performance and scalability, but the application must be designed to implement it • Vertical Partitioning - 1:1 tables to reduce the size of rows, tables and indexes • Horizontal Partitioning - 1 table split on multiple tables with different rows • Tables can be split on multiple servers Vertical Partitioning Horizontal Partitioning Col1 Col2 Col3 Col4 Col5 Col1 Col2 Col1 Col3 Col4 Col5 Col1 Col2 Col3 Col4 Col5 Col1 Col2 Col3 Col4 Col5 Col1 Col2 Col3 Col4 Col5 Copyright 2008 Sun Microsystems MySQL - The Online Database of the 3rd Millennium
  • 13. Sharding Web/Application Servers Write Read Copyright 2008 Sun Microsystems MySQL - The Online Database of the 3rd Millennium
  • 14. Wikipedia Application Online Encyclopedia - Constantly in the top 10 of the most visited websites worldwide • 5M+ articles in 100 languages • Tens of millions of visitors each day with 500K edits • Based on LAMP • 20+ replicated DB servers + lightweight MySQL instances as distributed archive solutions Language based server splitting (application partitioning) Performance • 3,000 pageviews / second • 8,000+ http requests / second • 25,000+ SQL requests / second MySQL Key Points • 90% of DB Server Memory is InnoDB buffer pool • General availability and scalability using replication Copyright 2008 Sun Microsystems MySQL - The Online Database of the 3rd Millennium

Editor's Notes

  1. This is a summary presentation of MySQL from Sun.\n\nThis presentation is aimed at both MySQL and Sun customers and prospects with whom we are seeking alignment to new business initiatives. This overview resides on <URL>. \n\nYou will need to adapt this material for each customer situation. \nPrepare for your presentation by understanding the following things from the customer or sales rep on the account:\nCurrent status of the account\nWhat the customer wants to achieve from the presentation\nWhat the sales rep wants you to achieve from the presentation\nWhat is your role, what can you help to do — for customer or rep?\nSpeak with energy and authority, and ensure that you connect with the customer. Make your presentation highly interactive. Check in with your audience before you start, and keep checking in that they are getting what they need from you and from Sun.\n
  2. \n
  3. Many choose MySQL Enterprise because it offers a new and different paradigm of database management. One key technical differentiator between MySQL and other database platforms — whether they are proprietary or open source — is the pluggable storage engine architecture of MySQL.\nThe MySQL pluggable storage engine architecture enables a database professional to select a specialized storage engine for a particular application need while being completely shielded from the need to manage any specific application coding requirements. The pluggable storage engine architecture provides a standard set of management and support services that are common among all underlying storage engines. The storage engines themselves are the components of the database server that actually perform actions on the underlying data that is maintained at the physical-server level.\nThis efficient and modular architecture provides large performance and manageability benefits for those wishing to specifically target a particular application need — such as data warehousing, transaction processing, high-availability/cluster situations, etc. — while enjoying the advantage of utilizing a set of interfaces and services that are independent of any one storage engine.\nThe technical advantage of MySQL Enterprise is clearly evident in this respect, as unnecessary overhead is avoided when only certain engines are chosen for application use.\n
  4. Point to make:\n\nMySQL Monitoring & Advisor Service = “Virtual MySQL DBA”\n\nThere are 3 main features, each with business rewarding features…\n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. Check if there is an European customer\n
  15. Thank you very much for your time today!\n
  16. This is a summary presentation of MySQL from Sun.\n\nThis presentation is aimed at both MySQL and Sun customers and prospects with whom we are seeking alignment to new business initiatives. This overview resides on <URL>. \n\nYou will need to adapt this material for each customer situation. \nPrepare for your presentation by understanding the following things from the customer or sales rep on the account:\nCurrent status of the account\nWhat the customer wants to achieve from the presentation\nWhat the sales rep wants you to achieve from the presentation\nWhat is your role, what can you help to do — for customer or rep?\nSpeak with energy and authority, and ensure that you connect with the customer. Make your presentation highly interactive. Check in with your audience before you start, and keep checking in that they are getting what they need from you and from Sun.\n