SlideShare une entreprise Scribd logo
1  sur  65
Télécharger pour lire hors ligne
<Insert Picture Here>




            Introduction to MySQL
            Giuseppe Maxia
            MySQL Community Team Lead at Oracle



Monday, 19 April 2010
about me -Giuseppe Maxia
          a.k.a. The Data Charmer
          MySQL Community Team Lead
          Long time hacking with MySQL features
          Formerly, database consultant, designer, coder.
          A passion for QA
          An even greater passion for open source
          ... and community
          Passionate blogger
          http://datacharmer.blogspot.com




Monday, 19 April 2010
If I wanted to make you invest in MySQL

      If you were a
       VC
      Using Guy
       Kawasaki's
       rules

Monday, 19 April 2010
Introducing MySQL




              10/20/30
                        4


Monday, 19 April 2010
1. Why MySQL? (the problem)
      •   Startup
      •   Small business
      •   Small budget
      •   Need a open system




                                  5


Monday, 19 April 2010
2. MySQL: What is it? (the solution)
      •   A lightweight database server
      •   Fast
      •   Stable
      •   Easy to install
      •   Easy to use




                                          6


Monday, 19 April 2010
3. Business model
      • Let everyone use it
      • When their business grow, sell them services and
        additional software




                                                      7


Monday, 19 April 2010
4. MySQL Technology
      •   Multiple storage engines
      •   Full ACID compliant (with InnoDB)
      •   Stored routines, views, triggers
      •   Built-in replication
      •   Built-in partitioning
      •   Event scheduler
      •   Plugin architecture
      •   MySQL Cluster

                                              8


Monday, 19 April 2010
5. Marketing and sales
      •   Open the doors
      •   Optional registration on downloads
      •   Registration on some additional contents
      •   Events
      •   Offers and campaigns
      •   MySQL Enterprise tools
      •   Excellent support


                                                     9


Monday, 19 April 2010
6. Competition
      • Small
          > PostgreSQL
          > SQLite
          > MySQL forks
          > NoSQL


      • Big
          > Microsoft
          > IBM
          > Oracle?

                          10


Monday, 19 April 2010
7. Team
      • Developers in house
      • Support closely tied to engineering
      • Carefully hired talents




                                              11


Monday, 19 April 2010
8. Projection and milestones
      • World domination achieved for ubiquity
          > Via other open source projects (e.g. Linux, PHP)
      • World domination in business on the way
          > Through Oracle stewardship




                                                               12


Monday, 19 April 2010
9. Status and timeline
      • MySQL 5.1 current G.A.
      • MySQL 5.5 in the making
          > Performance and scalability enhancements
          > Semi-synch replication
          > Partitioning enhancements
          > Better usability




                                                       13


Monday, 19 April 2010
10. Summary and call to action
      • MySQL is a phenomenon (You'll see soon)
      • Go get it!
          > And give me $1 billion, pretty please!
      • http://dev.mysql.com




                                                     14


Monday, 19 April 2010
What? No cash?




               Then I should probably
              introduce a new element

                                   15


Monday, 19 April 2010
Introducing MySQL




             Passion
                        16


Monday, 19 April 2010
MySQL
      • My - See - Quel
      • My - Ess - Kyu - Ell

      • we make databases




                               17


Monday, 19 April 2010
What is MySQL?
      •   a noun?
      •   a verb?
      •   an abstract concept?
      •   It's a PHENOMENON !
      •   Let's ask Google.




                                 18


Monday, 19 April 2010
• “mysql”   = 210,000,000




                                         19


Monday, 19 April 2010
The business competition




             •   “mysql”        = 210,000,000
             •   “postgresql”   = 19,700,000
             •   “db2”          = 19,800,000
             •   “sql server”   = 75,900,000
             •   “oracle”       = 102,000,000


                                                20


Monday, 19 April 2010
The show business competition




                          • “mysql”       =
                            210,000,000
                          • “madonna”     =
                            98,000,000




                                          21


Monday, 19 April 2010
The political competition




                           • “mysql”      =
                             210,000,000
                           • “berlusconi”
                             = 28,300,000




                                         22


Monday, 19 April 2010
The political competition




                           • “mysql”       =
                             210,000,000
                           • “sarkozy”     =
                             31,100,000




                                           23


Monday, 19 April 2010
The political competition
            (november 2008)



                           • “mysql”       =
                             210,000,000
                           • “obama”     =
                             201,000,000




                                          24


Monday, 19 April 2010
a phenomenon!

        MySQL is twice as popular as
        Madonna and has almost the
        same chance as Obama for US
        President.


                                  25


Monday, 19 April 2010
OK.
    But really, what is it?
      •   a piece of database software
      •   the backbone of the web economy
      •   a community of millions of users
      •   the employer that gives me a pay check
      •   All of the above



                                                   26


Monday, 19 April 2010
or, more practically ...
             • Let me give you an example
             • what about Facebook?




                                            27


Monday, 19 April 2010
facebook




Facebook. Powered by MySQL


Monday, 19 April 2010
MySQL powers the Web
            according to Alexa - Apr. 18, 2010
          1             Google                   11 Twitter
          2             Facebook                 12 Yahoo.co.jp
          3             Youtube                  13 Google.co.in
          4             Yahoo!                   14 Google.de
          5             Live                     15 Sina.com.cn
          6             Wikipedia                16 taobao.com
          7             Blogger                  17 wordpress
          8             Baidu                    18 myspace
          9             MSN                      19 google.co.hk
          10            qq.com                   20 google.co.uk
  ...and many more: Flickr, Second Life, Craigslist, Slashdot, LiveJournal,
                                                                     29
  Digg, Del.icio.us, Pricegrabber.com, Weather.com etc.
Monday, 19 April 2010
most popular




                        30


Monday, 19 April 2010
the LAMP stack
                            Linux
                        L
                            Apache
                        A
                            MySQL
                        M
                            Perl/PHP/Python
                        P
                                     31


Monday, 19 April 2010
From ubiquity to business


                                Enterprise
                                customers




 MySQL User Base


                                      32


Monday, 19 April 2010
MySQL Enterprise
      • Full control
        on your
        database




                        33


Monday, 19 April 2010
MySQL Query Analyzer
      • Part of MySQL Enterprise
      • finds and solves
        performance problems on
        the spot
      • find out more:
        www.mysql.com




                                   34


Monday, 19 April 2010
people
             • freedom to
               work
               anywhere




                            35


Monday, 19 April 2010
people




                        36


Monday, 19 April 2010
Community
       MySQL
       Forge
                Projects
                Tools
                Code
                Worklogs
                Wiki
http://forge.mysql.com     37


Monday, 19 April 2010
Downloads
    Community              Articles
                           Blogs
                           Bug reports
                           Forums
                           Events
                           University




                   http://dev.mysql.com   38


Monday, 19 April 2010
Community




       http://planet.mysql.com   39


Monday, 19 April 2010
friends - Operating Systems
      •   Linux
      •   Solaris
      •   Windows
      •   Mac OS X
      •   *BSD
      •   *NIX



                                  40


Monday, 19 April 2010
friends - Connectors

                                           C library   C/C++
                 MySQL server
                                                       Perl    PHP

                                Java library           Python
       .NET library
                                                       ODBC
                                    Java

   VB

   C#
                                                          41


Monday, 19 April 2010
Engines

                 engine                Notes


              MyISAM      fast, non-transactional, full-text

               InnoDB      transactions, FK, concurrent
                 HEAP               In memory

               MERGE       merges many MyISAM tables


42
Monday, 19 April 2010
More Engines

                         engine                notes


                        Federated          remote tables
                                            relay engine
                        Blackhole
                                             no storage

                         Archive         compressed storage


43
Monday, 19 April 2010
Federated




              MySQL server               MySQL server
               table t1f                  table t1
               federated                  MyISAM




44
Monday, 19 April 2010
Black hole




              record
               record
                record                 binary log
                 record
                                       triggers




45
Monday, 19 April 2010
Archive



                        record
                         record
                          record
                           record




46
Monday, 19 April 2010
Plugin




47
Monday, 19 April 2010
MySQL Proxy




48
Monday, 19 April 2010
MySQL Core Values
      • Stability
      • Performance
      • Ease of use




                        49


Monday, 19 April 2010
Stability
      • tested by millions
      • built to last




                             50


Monday, 19 April 2010
Performance
      • designed to be
        fast
      • The web wants
        instant
        responses
      • MySQL provides
        them



                         51


Monday, 19 April 2010
Ease of use
      • the "15 minutes rule"
           > you should be up and running
               with MySQL within 15 minutes




                                              52


Monday, 19 April 2010
Scalability


                                                    slave
                                         MySQL server
                                                         R
        MySQL server
            master
            R/W

                                                        slave
                                        MySQL server R
     REPLICATION
                        For read intensive high concurrency
                                                          53


Monday, 19 April 2010
Scalability

                                                              R/W
                        data node                  MySQL server
   MySQL server
          R/W                       data node
                        data node
                                      data node

                                                                    R/W
                                                     MySQL server
     MySQL Cluster
                              For write intensive high concurrency and HA
                                                                54


Monday, 19 April 2010
Performance : partitioning
                        1-99


                100-199                       select *
                                              from
                200-299                       table_name
                                              where colx =
                300-399                       120

                400-499        Boosting performance with MySQL partitions
                               Wednesday, April 21, 2010
                               1:00 PM
                500-599        ROOM: SURF C                  55


Monday, 19 April 2010
Performance: InnoDB 1.0
      •   Faster
      •   More scalable
      •   Available as plugin in MySQL 5.1
      •   Built-in in MySQL 5.5




                                             56


Monday, 19 April 2010
host2   MySQL server
                                                                       without
                                                                       SPIDER
 From community:
 the Spider engine                                           host3   MySQL server
                                                                       without
                                                                       SPIDER

            table employees                                  host4   MySQL server
    partition 1 year 1997         host2                                without
                                                                       SPIDER
    partition 2 year 1998         host3
    partition 3 year 1999         host4                      host5   MySQL server
                                                                       without
    partition 4 year 2000         host5                                SPIDER
    partition 5 year 2001         host6
    partition 6 year 2002         host7                      host6   MySQL server
                                                                       without
                                                                       SPIDER
    host1           MySQL server
                               Sharding
                                      for the masses. MySQL for large projects
                     with SPIDER
                             Tuesday, April 20, 2010        host7 MySQL server
                                                                         without
                             11:45AM                                    SPIDER
                             ROOM: SURF B                           57


Monday, 19 April 2010
Usability: MySQL Workbench




                                      58


Monday, 19 April 2010
Usability: MySQL Workbench




                                      59


Monday, 19 April 2010
Usability: MySQL Workbench




                                      60


Monday, 19 April 2010
Usability: MySQL Workbench




                                      61


Monday, 19 April 2010
Get involved
      • http://dev.mysql.com
      •   Downloads
      •   Documentation
      •   Articles
      •   Blogs
      •   Forums
      •   Mailing lists
      •   Bugs database
      •   And more!            62


Monday, 19 April 2010
More sessions on MySQL
Sharding for the masses. MySQL for large projects
Tuesday, April 20, 2010
11:45AM
ROOM: SURF B


Boosting performance with MySQL partitions
Wednesday, April 21, 2010
1:00 PM
ROOM: SURF C
                                          63


Monday, 19 April 2010
The preceding 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 decisions.
    The development, release, and timing of any
    features or functionality described for Oracle’s
    products remains at the sole discretion of
    Oracle.
                                             64


Monday, 19 April 2010
THANKS!

                        Q&A
                        Comment on Twitter:
                        @datacharmer
Monday, 19 April 2010

Contenu connexe

Tendances

Learning sql from w3schools
Learning sql from w3schoolsLearning sql from w3schools
Learning sql from w3schoolsfarhan516
 
introdution to SQL and SQL functions
introdution to SQL and SQL functionsintrodution to SQL and SQL functions
introdution to SQL and SQL functionsfarwa waqar
 
An Introduction to MongoDB Compass
An Introduction to MongoDB CompassAn Introduction to MongoDB Compass
An Introduction to MongoDB CompassMongoDB
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDBRavi Teja
 
Getting Started with MySQL I
Getting Started with MySQL IGetting Started with MySQL I
Getting Started with MySQL ISankhya_Analytics
 
Indexing with MongoDB
Indexing with MongoDBIndexing with MongoDB
Indexing with MongoDBMongoDB
 
Introduction to NoSQL Databases
Introduction to NoSQL DatabasesIntroduction to NoSQL Databases
Introduction to NoSQL DatabasesDerek Stainer
 
Database Design Slide 1
Database Design Slide 1Database Design Slide 1
Database Design Slide 1ahfiki
 
Sql queries presentation
Sql queries presentationSql queries presentation
Sql queries presentationNITISH KUMAR
 
MongoDB at Scale
MongoDB at ScaleMongoDB at Scale
MongoDB at ScaleMongoDB
 
SQL Queries
SQL QueriesSQL Queries
SQL QueriesNilt1234
 

Tendances (20)

Learning sql from w3schools
Learning sql from w3schoolsLearning sql from w3schools
Learning sql from w3schools
 
Introduction to triggers
Introduction to triggersIntroduction to triggers
Introduction to triggers
 
NoSQL databases
NoSQL databasesNoSQL databases
NoSQL databases
 
introdution to SQL and SQL functions
introdution to SQL and SQL functionsintrodution to SQL and SQL functions
introdution to SQL and SQL functions
 
An Introduction to MongoDB Compass
An Introduction to MongoDB CompassAn Introduction to MongoDB Compass
An Introduction to MongoDB Compass
 
jQuery for beginners
jQuery for beginnersjQuery for beginners
jQuery for beginners
 
SQL Overview
SQL OverviewSQL Overview
SQL Overview
 
Sql ppt
Sql pptSql ppt
Sql ppt
 
HBase
HBaseHBase
HBase
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDB
 
Getting Started with MySQL I
Getting Started with MySQL IGetting Started with MySQL I
Getting Started with MySQL I
 
Indexing with MongoDB
Indexing with MongoDBIndexing with MongoDB
Indexing with MongoDB
 
Chapter 4 Structured Query Language
Chapter 4 Structured Query LanguageChapter 4 Structured Query Language
Chapter 4 Structured Query Language
 
MYSQL-Database
MYSQL-DatabaseMYSQL-Database
MYSQL-Database
 
Introduction to NoSQL Databases
Introduction to NoSQL DatabasesIntroduction to NoSQL Databases
Introduction to NoSQL Databases
 
MYSQL.ppt
MYSQL.pptMYSQL.ppt
MYSQL.ppt
 
Database Design Slide 1
Database Design Slide 1Database Design Slide 1
Database Design Slide 1
 
Sql queries presentation
Sql queries presentationSql queries presentation
Sql queries presentation
 
MongoDB at Scale
MongoDB at ScaleMongoDB at Scale
MongoDB at Scale
 
SQL Queries
SQL QueriesSQL Queries
SQL Queries
 

Similaire à Introduction to MySQL

Introductiontomysql 100420092731-phpapp01
Introductiontomysql 100420092731-phpapp01Introductiontomysql 100420092731-phpapp01
Introductiontomysql 100420092731-phpapp01sagaroceanic11
 
通用JS时代的模块机制和编译工具
通用JS时代的模块机制和编译工具通用JS时代的模块机制和编译工具
通用JS时代的模块机制和编译工具Dexter Yang
 
A Match Made In The Cloud
A Match Made In The CloudA Match Made In The Cloud
A Match Made In The CloudChapter Three
 
Presentation to wdim_students
Presentation to wdim_studentsPresentation to wdim_students
Presentation to wdim_studentsScott Motte
 
오픈소스 스타트업 5년의 경험
오픈소스 스타트업 5년의 경험오픈소스 스타트업 5년의 경험
오픈소스 스타트업 5년의 경험"Il "Will"​" Yeo
 
The Future of Business Intelligence
The Future of Business IntelligenceThe Future of Business Intelligence
The Future of Business IntelligenceTim O'Reilly
 
Open Source and Open Data in the Age of the Cloud
Open Source and Open Data in the Age of the CloudOpen Source and Open Data in the Age of the Cloud
Open Source and Open Data in the Age of the CloudTim O'Reilly
 
Implementing MongoDB at Shutterfly (Kenny Gorman)
Implementing MongoDB at Shutterfly (Kenny Gorman)Implementing MongoDB at Shutterfly (Kenny Gorman)
Implementing MongoDB at Shutterfly (Kenny Gorman)MongoSF
 
Cloud Computing at Academia UOL
Cloud Computing at Academia UOLCloud Computing at Academia UOL
Cloud Computing at Academia UOLRodrigo Campos
 
Plone Conference 2010 – Where we go from here
Plone Conference 2010 – Where we go from herePlone Conference 2010 – Where we go from here
Plone Conference 2010 – Where we go from hereEric Steele
 
Collaborate sneak preview: MySQL, the Ecosystem, the Product
Collaborate sneak preview: MySQL, the Ecosystem, the ProductCollaborate sneak preview: MySQL, the Ecosystem, the Product
Collaborate sneak preview: MySQL, the Ecosystem, the ProductKaj Arnö
 
Digital - Where to next? An API future
Digital - Where to next? An API futureDigital - Where to next? An API future
Digital - Where to next? An API futureDominique Hind
 
Future of Digital - an API vision - Youngbloods - October 2011
Future of Digital - an API vision - Youngbloods - October 2011Future of Digital - an API vision - Youngbloods - October 2011
Future of Digital - an API vision - Youngbloods - October 2011WiTH Collective
 
SBTUG 27 October 2010 Agenda
SBTUG 27 October 2010 AgendaSBTUG 27 October 2010 Agenda
SBTUG 27 October 2010 AgendaCraig Bailey
 
Consumententrends 2010
Consumententrends 2010Consumententrends 2010
Consumententrends 2010Vincent Everts
 
Drupalcon keynote: Open Source and Open Data in the age of the cloud
Drupalcon keynote: Open Source and Open Data in the age of the cloudDrupalcon keynote: Open Source and Open Data in the age of the cloud
Drupalcon keynote: Open Source and Open Data in the age of the cloudTim O'Reilly
 
Forking Successfully - or is a branch better?
Forking Successfully - or is a branch better?Forking Successfully - or is a branch better?
Forking Successfully - or is a branch better?Colin Charles
 
Atlassian User Group #6 Welcome + State of the Atlassian Union
Atlassian User Group #6 Welcome + State of the Atlassian UnionAtlassian User Group #6 Welcome + State of the Atlassian Union
Atlassian User Group #6 Welcome + State of the Atlassian UnionTom Moors
 

Similaire à Introduction to MySQL (20)

Introductiontomysql 100420092731-phpapp01
Introductiontomysql 100420092731-phpapp01Introductiontomysql 100420092731-phpapp01
Introductiontomysql 100420092731-phpapp01
 
通用JS时代的模块机制和编译工具
通用JS时代的模块机制和编译工具通用JS时代的模块机制和编译工具
通用JS时代的模块机制和编译工具
 
A Match Made In The Cloud
A Match Made In The CloudA Match Made In The Cloud
A Match Made In The Cloud
 
MySQL - Open Database
MySQL - Open DatabaseMySQL - Open Database
MySQL - Open Database
 
Presentation to wdim_students
Presentation to wdim_studentsPresentation to wdim_students
Presentation to wdim_students
 
오픈소스 스타트업 5년의 경험
오픈소스 스타트업 5년의 경험오픈소스 스타트업 5년의 경험
오픈소스 스타트업 5년의 경험
 
Greenplum 100419142438 Phpapp02
Greenplum 100419142438 Phpapp02Greenplum 100419142438 Phpapp02
Greenplum 100419142438 Phpapp02
 
The Future of Business Intelligence
The Future of Business IntelligenceThe Future of Business Intelligence
The Future of Business Intelligence
 
Open Source and Open Data in the Age of the Cloud
Open Source and Open Data in the Age of the CloudOpen Source and Open Data in the Age of the Cloud
Open Source and Open Data in the Age of the Cloud
 
Implementing MongoDB at Shutterfly (Kenny Gorman)
Implementing MongoDB at Shutterfly (Kenny Gorman)Implementing MongoDB at Shutterfly (Kenny Gorman)
Implementing MongoDB at Shutterfly (Kenny Gorman)
 
Cloud Computing at Academia UOL
Cloud Computing at Academia UOLCloud Computing at Academia UOL
Cloud Computing at Academia UOL
 
Plone Conference 2010 – Where we go from here
Plone Conference 2010 – Where we go from herePlone Conference 2010 – Where we go from here
Plone Conference 2010 – Where we go from here
 
Collaborate sneak preview: MySQL, the Ecosystem, the Product
Collaborate sneak preview: MySQL, the Ecosystem, the ProductCollaborate sneak preview: MySQL, the Ecosystem, the Product
Collaborate sneak preview: MySQL, the Ecosystem, the Product
 
Digital - Where to next? An API future
Digital - Where to next? An API futureDigital - Where to next? An API future
Digital - Where to next? An API future
 
Future of Digital - an API vision - Youngbloods - October 2011
Future of Digital - an API vision - Youngbloods - October 2011Future of Digital - an API vision - Youngbloods - October 2011
Future of Digital - an API vision - Youngbloods - October 2011
 
SBTUG 27 October 2010 Agenda
SBTUG 27 October 2010 AgendaSBTUG 27 October 2010 Agenda
SBTUG 27 October 2010 Agenda
 
Consumententrends 2010
Consumententrends 2010Consumententrends 2010
Consumententrends 2010
 
Drupalcon keynote: Open Source and Open Data in the age of the cloud
Drupalcon keynote: Open Source and Open Data in the age of the cloudDrupalcon keynote: Open Source and Open Data in the age of the cloud
Drupalcon keynote: Open Source and Open Data in the age of the cloud
 
Forking Successfully - or is a branch better?
Forking Successfully - or is a branch better?Forking Successfully - or is a branch better?
Forking Successfully - or is a branch better?
 
Atlassian User Group #6 Welcome + State of the Atlassian Union
Atlassian User Group #6 Welcome + State of the Atlassian UnionAtlassian User Group #6 Welcome + State of the Atlassian Union
Atlassian User Group #6 Welcome + State of the Atlassian Union
 

Plus de Giuseppe Maxia

MySQL NDB 8.0 clusters in your laptop with dbdeployer
MySQL NDB 8.0 clusters in your laptop with dbdeployerMySQL NDB 8.0 clusters in your laptop with dbdeployer
MySQL NDB 8.0 clusters in your laptop with dbdeployerGiuseppe Maxia
 
Dbdeployer, the universal installer
Dbdeployer, the universal installerDbdeployer, the universal installer
Dbdeployer, the universal installerGiuseppe Maxia
 
Test complex database systems in your laptop with dbdeployer
Test complex database systems in your laptop with dbdeployerTest complex database systems in your laptop with dbdeployer
Test complex database systems in your laptop with dbdeployerGiuseppe Maxia
 
A quick tour of Mysql 8 roles
A quick tour of Mysql 8 rolesA quick tour of Mysql 8 roles
A quick tour of Mysql 8 rolesGiuseppe Maxia
 
Synchronise your data between MySQL and MongoDB
Synchronise your data between MySQL and MongoDBSynchronise your data between MySQL and MongoDB
Synchronise your data between MySQL and MongoDBGiuseppe Maxia
 
Juggle your data with Tungsten Replicator
Juggle your data with Tungsten ReplicatorJuggle your data with Tungsten Replicator
Juggle your data with Tungsten ReplicatorGiuseppe Maxia
 
Tungsten Replicator tutorial
Tungsten Replicator tutorialTungsten Replicator tutorial
Tungsten Replicator tutorialGiuseppe Maxia
 
Preventing multi master conflicts with tungsten
Preventing multi master conflicts with tungstenPreventing multi master conflicts with tungsten
Preventing multi master conflicts with tungstenGiuseppe Maxia
 
MySQL high availability power and usability
MySQL high availability power and usabilityMySQL high availability power and usability
MySQL high availability power and usabilityGiuseppe Maxia
 
Solving MySQL replication problems with Tungsten
Solving MySQL replication problems with TungstenSolving MySQL replication problems with Tungsten
Solving MySQL replication problems with TungstenGiuseppe Maxia
 
State of the art of MySQL replication and clustering
State of the art of MySQL replication and clusteringState of the art of MySQL replication and clustering
State of the art of MySQL replication and clusteringGiuseppe Maxia
 
Testing mysql creatively in a sandbox
Testing mysql creatively in a sandboxTesting mysql creatively in a sandbox
Testing mysql creatively in a sandboxGiuseppe Maxia
 
Mysql 5.5 and 5.6 replication
Mysql 5.5 and 5.6 replicationMysql 5.5 and 5.6 replication
Mysql 5.5 and 5.6 replicationGiuseppe Maxia
 

Plus de Giuseppe Maxia (20)

MySQL NDB 8.0 clusters in your laptop with dbdeployer
MySQL NDB 8.0 clusters in your laptop with dbdeployerMySQL NDB 8.0 clusters in your laptop with dbdeployer
MySQL NDB 8.0 clusters in your laptop with dbdeployer
 
Test like a_boss
Test like a_bossTest like a_boss
Test like a_boss
 
Dbdeployer, the universal installer
Dbdeployer, the universal installerDbdeployer, the universal installer
Dbdeployer, the universal installer
 
Test complex database systems in your laptop with dbdeployer
Test complex database systems in your laptop with dbdeployerTest complex database systems in your laptop with dbdeployer
Test complex database systems in your laptop with dbdeployer
 
Dbdeployer
DbdeployerDbdeployer
Dbdeployer
 
Dbdeployer
DbdeployerDbdeployer
Dbdeployer
 
A quick tour of Mysql 8 roles
A quick tour of Mysql 8 rolesA quick tour of Mysql 8 roles
A quick tour of Mysql 8 roles
 
MySQL document_store
MySQL document_storeMySQL document_store
MySQL document_store
 
Replication skeptic
Replication skepticReplication skeptic
Replication skeptic
 
Synchronise your data between MySQL and MongoDB
Synchronise your data between MySQL and MongoDBSynchronise your data between MySQL and MongoDB
Synchronise your data between MySQL and MongoDB
 
Juggle your data with Tungsten Replicator
Juggle your data with Tungsten ReplicatorJuggle your data with Tungsten Replicator
Juggle your data with Tungsten Replicator
 
MySQL in your laptop
MySQL in your laptopMySQL in your laptop
MySQL in your laptop
 
Script it
Script itScript it
Script it
 
Tungsten Replicator tutorial
Tungsten Replicator tutorialTungsten Replicator tutorial
Tungsten Replicator tutorial
 
Preventing multi master conflicts with tungsten
Preventing multi master conflicts with tungstenPreventing multi master conflicts with tungsten
Preventing multi master conflicts with tungsten
 
MySQL high availability power and usability
MySQL high availability power and usabilityMySQL high availability power and usability
MySQL high availability power and usability
 
Solving MySQL replication problems with Tungsten
Solving MySQL replication problems with TungstenSolving MySQL replication problems with Tungsten
Solving MySQL replication problems with Tungsten
 
State of the art of MySQL replication and clustering
State of the art of MySQL replication and clusteringState of the art of MySQL replication and clustering
State of the art of MySQL replication and clustering
 
Testing mysql creatively in a sandbox
Testing mysql creatively in a sandboxTesting mysql creatively in a sandbox
Testing mysql creatively in a sandbox
 
Mysql 5.5 and 5.6 replication
Mysql 5.5 and 5.6 replicationMysql 5.5 and 5.6 replication
Mysql 5.5 and 5.6 replication
 

Dernier

TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 

Dernier (20)

TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 

Introduction to MySQL

  • 1. <Insert Picture Here> Introduction to MySQL Giuseppe Maxia MySQL Community Team Lead at Oracle Monday, 19 April 2010
  • 2. about me -Giuseppe Maxia  a.k.a. The Data Charmer  MySQL Community Team Lead  Long time hacking with MySQL features  Formerly, database consultant, designer, coder.  A passion for QA  An even greater passion for open source  ... and community  Passionate blogger  http://datacharmer.blogspot.com Monday, 19 April 2010
  • 3. If I wanted to make you invest in MySQL  If you were a VC  Using Guy Kawasaki's rules Monday, 19 April 2010
  • 4. Introducing MySQL 10/20/30 4 Monday, 19 April 2010
  • 5. 1. Why MySQL? (the problem) • Startup • Small business • Small budget • Need a open system 5 Monday, 19 April 2010
  • 6. 2. MySQL: What is it? (the solution) • A lightweight database server • Fast • Stable • Easy to install • Easy to use 6 Monday, 19 April 2010
  • 7. 3. Business model • Let everyone use it • When their business grow, sell them services and additional software 7 Monday, 19 April 2010
  • 8. 4. MySQL Technology • Multiple storage engines • Full ACID compliant (with InnoDB) • Stored routines, views, triggers • Built-in replication • Built-in partitioning • Event scheduler • Plugin architecture • MySQL Cluster 8 Monday, 19 April 2010
  • 9. 5. Marketing and sales • Open the doors • Optional registration on downloads • Registration on some additional contents • Events • Offers and campaigns • MySQL Enterprise tools • Excellent support 9 Monday, 19 April 2010
  • 10. 6. Competition • Small > PostgreSQL > SQLite > MySQL forks > NoSQL • Big > Microsoft > IBM > Oracle? 10 Monday, 19 April 2010
  • 11. 7. Team • Developers in house • Support closely tied to engineering • Carefully hired talents 11 Monday, 19 April 2010
  • 12. 8. Projection and milestones • World domination achieved for ubiquity > Via other open source projects (e.g. Linux, PHP) • World domination in business on the way > Through Oracle stewardship 12 Monday, 19 April 2010
  • 13. 9. Status and timeline • MySQL 5.1 current G.A. • MySQL 5.5 in the making > Performance and scalability enhancements > Semi-synch replication > Partitioning enhancements > Better usability 13 Monday, 19 April 2010
  • 14. 10. Summary and call to action • MySQL is a phenomenon (You'll see soon) • Go get it! > And give me $1 billion, pretty please! • http://dev.mysql.com 14 Monday, 19 April 2010
  • 15. What? No cash? Then I should probably introduce a new element 15 Monday, 19 April 2010
  • 16. Introducing MySQL Passion 16 Monday, 19 April 2010
  • 17. MySQL • My - See - Quel • My - Ess - Kyu - Ell • we make databases 17 Monday, 19 April 2010
  • 18. What is MySQL? • a noun? • a verb? • an abstract concept? • It's a PHENOMENON ! • Let's ask Google. 18 Monday, 19 April 2010
  • 19. • “mysql” = 210,000,000 19 Monday, 19 April 2010
  • 20. The business competition • “mysql” = 210,000,000 • “postgresql” = 19,700,000 • “db2” = 19,800,000 • “sql server” = 75,900,000 • “oracle” = 102,000,000 20 Monday, 19 April 2010
  • 21. The show business competition • “mysql” = 210,000,000 • “madonna” = 98,000,000 21 Monday, 19 April 2010
  • 22. The political competition • “mysql” = 210,000,000 • “berlusconi” = 28,300,000 22 Monday, 19 April 2010
  • 23. The political competition • “mysql” = 210,000,000 • “sarkozy” = 31,100,000 23 Monday, 19 April 2010
  • 24. The political competition (november 2008) • “mysql” = 210,000,000 • “obama” = 201,000,000 24 Monday, 19 April 2010
  • 25. a phenomenon! MySQL is twice as popular as Madonna and has almost the same chance as Obama for US President. 25 Monday, 19 April 2010
  • 26. OK. But really, what is it? • a piece of database software • the backbone of the web economy • a community of millions of users • the employer that gives me a pay check • All of the above 26 Monday, 19 April 2010
  • 27. or, more practically ... • Let me give you an example • what about Facebook? 27 Monday, 19 April 2010
  • 28. facebook Facebook. Powered by MySQL Monday, 19 April 2010
  • 29. MySQL powers the Web according to Alexa - Apr. 18, 2010 1 Google 11 Twitter 2 Facebook 12 Yahoo.co.jp 3 Youtube 13 Google.co.in 4 Yahoo! 14 Google.de 5 Live 15 Sina.com.cn 6 Wikipedia 16 taobao.com 7 Blogger 17 wordpress 8 Baidu 18 myspace 9 MSN 19 google.co.hk 10 qq.com 20 google.co.uk ...and many more: Flickr, Second Life, Craigslist, Slashdot, LiveJournal, 29 Digg, Del.icio.us, Pricegrabber.com, Weather.com etc. Monday, 19 April 2010
  • 30. most popular 30 Monday, 19 April 2010
  • 31. the LAMP stack Linux L Apache A MySQL M Perl/PHP/Python P 31 Monday, 19 April 2010
  • 32. From ubiquity to business Enterprise customers MySQL User Base 32 Monday, 19 April 2010
  • 33. MySQL Enterprise • Full control on your database 33 Monday, 19 April 2010
  • 34. MySQL Query Analyzer • Part of MySQL Enterprise • finds and solves performance problems on the spot • find out more: www.mysql.com 34 Monday, 19 April 2010
  • 35. people • freedom to work anywhere 35 Monday, 19 April 2010
  • 36. people 36 Monday, 19 April 2010
  • 37. Community MySQL Forge Projects Tools Code Worklogs Wiki http://forge.mysql.com 37 Monday, 19 April 2010
  • 38. Downloads Community Articles Blogs Bug reports Forums Events University http://dev.mysql.com 38 Monday, 19 April 2010
  • 39. Community http://planet.mysql.com 39 Monday, 19 April 2010
  • 40. friends - Operating Systems • Linux • Solaris • Windows • Mac OS X • *BSD • *NIX 40 Monday, 19 April 2010
  • 41. friends - Connectors C library C/C++ MySQL server Perl PHP Java library Python .NET library ODBC Java VB C# 41 Monday, 19 April 2010
  • 42. Engines engine Notes MyISAM fast, non-transactional, full-text InnoDB transactions, FK, concurrent HEAP In memory MERGE merges many MyISAM tables 42 Monday, 19 April 2010
  • 43. More Engines engine notes Federated remote tables relay engine Blackhole no storage Archive compressed storage 43 Monday, 19 April 2010
  • 44. Federated MySQL server MySQL server table t1f table t1 federated MyISAM 44 Monday, 19 April 2010
  • 45. Black hole record record record binary log record triggers 45 Monday, 19 April 2010
  • 46. Archive record record record record 46 Monday, 19 April 2010
  • 49. MySQL Core Values • Stability • Performance • Ease of use 49 Monday, 19 April 2010
  • 50. Stability • tested by millions • built to last 50 Monday, 19 April 2010
  • 51. Performance • designed to be fast • The web wants instant responses • MySQL provides them 51 Monday, 19 April 2010
  • 52. Ease of use • the "15 minutes rule" > you should be up and running with MySQL within 15 minutes 52 Monday, 19 April 2010
  • 53. Scalability slave MySQL server R MySQL server master R/W slave MySQL server R REPLICATION For read intensive high concurrency 53 Monday, 19 April 2010
  • 54. Scalability R/W data node MySQL server MySQL server R/W data node data node data node R/W MySQL server MySQL Cluster For write intensive high concurrency and HA 54 Monday, 19 April 2010
  • 55. Performance : partitioning 1-99 100-199 select * from 200-299 table_name where colx = 300-399 120 400-499 Boosting performance with MySQL partitions Wednesday, April 21, 2010 1:00 PM 500-599 ROOM: SURF C 55 Monday, 19 April 2010
  • 56. Performance: InnoDB 1.0 • Faster • More scalable • Available as plugin in MySQL 5.1 • Built-in in MySQL 5.5 56 Monday, 19 April 2010
  • 57. host2 MySQL server without SPIDER From community: the Spider engine host3 MySQL server without SPIDER table employees host4 MySQL server partition 1 year 1997 host2 without SPIDER partition 2 year 1998 host3 partition 3 year 1999 host4 host5 MySQL server without partition 4 year 2000 host5 SPIDER partition 5 year 2001 host6 partition 6 year 2002 host7 host6 MySQL server without SPIDER host1 MySQL server Sharding for the masses. MySQL for large projects with SPIDER Tuesday, April 20, 2010 host7 MySQL server without 11:45AM SPIDER ROOM: SURF B 57 Monday, 19 April 2010
  • 58. Usability: MySQL Workbench 58 Monday, 19 April 2010
  • 59. Usability: MySQL Workbench 59 Monday, 19 April 2010
  • 60. Usability: MySQL Workbench 60 Monday, 19 April 2010
  • 61. Usability: MySQL Workbench 61 Monday, 19 April 2010
  • 62. Get involved • http://dev.mysql.com • Downloads • Documentation • Articles • Blogs • Forums • Mailing lists • Bugs database • And more! 62 Monday, 19 April 2010
  • 63. More sessions on MySQL Sharding for the masses. MySQL for large projects Tuesday, April 20, 2010 11:45AM ROOM: SURF B Boosting performance with MySQL partitions Wednesday, April 21, 2010 1:00 PM ROOM: SURF C 63 Monday, 19 April 2010
  • 64. The preceding 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 decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle. 64 Monday, 19 April 2010
  • 65. THANKS! Q&A Comment on Twitter: @datacharmer Monday, 19 April 2010