SlideShare a Scribd company logo
1 of 46
MySQL Overview:
                     Technology etc. etc.




Copyright 2005 MySQL AB           The World’s Most Popular Open Source Database   1
Prof. Erwin M. Globio, MSIT

          http://erwinglobio.wix.com/ittraining/
              http://ittrainingsolutions.com/
             http://erwinglobio.sulit.com.ph/
             http://erwinglobio.multiply.com/




Copyright 2005 MySQL AB                      The World’s Most Popular Open Source Database   2
Perspective


    “We're both in the transportation business. We have
             a 747, and they have a Toyota.”
    Comparison of Oracle and MySQL made by Oracle president, Charles
            Phillips, at the Vortex Conference in October 2004




 “There are many more Toyotas sold than 747s. Also,
        Toyota is a very profitable company.”
      MySQL CEO Marten Mickos, responding to Mr. Phillips’ statement


Copyright 2005 MySQL AB                        The World’s Most Popular Open Source Database   3
Database Market Share: Revenue
                          IBM, Oracle, & Microsoft are Leaders

                   Sybase, 2.30           Others, 7.00

                                                                                  IBM , 34.10
         Teradata, 2.90




            Microsoft,
              20.00



                                                                    Oracle, 33.70
             Gartner, May 2005

             Notes:
             • Majority of IBM share resides on mainframe (z/OS)
               M
             • Overall market grew 10.4% in 2004

Copyright 2005 MySQL AB                                      The World’s Most Popular Open Source Database   4
Yahoo Futures - Databases




                          http://buzz.research.yahoo.com
Copyright 2005 MySQL AB                           The World’s Most Popular Open Source Database   5
Open Source Adoption

                      75% Using or Considering Using Open Source




Copyright 2005 MySQL AB                               The World’s Most Popular Open Source Database   6
Linux Adoption

                             $
                             $35 billion in revenues by 2008 (Source: IDC)


                                 Revenue                                    Revenue Growth
                                  2Q 2004                                           2Q 2004


                                                            60.00%
                5000
                                                            50.00%
                4000
                                                            40.00%
   $ Millions




                3000
                                                            30.00%
                2000                                        20.00%

                1000                                        10.00%

                  0                                          0.00%
                                                                      Window s      Unix        Other        Linux
                       Windows    Unix      Other   Linux   -10.00%



    Source: Gartner




Copyright 2005 MySQL AB                                                 The World’s Most Popular Open Source Database   7
Database Adoption on Linux
              Database Revenue on Linux grew 118% to $650M in 2004




Copyright 2005 MySQL AB                            The World’s Most Popular Open Source Database   8
Performance – Part 1
      • eWeek’s database benchmark test showed:
             – MySQL has top overall performance and scalability
             – MySQL excelled in stability, easy of tuning, and connectivity
             – MySQL offered high throughput – tied for 1st




Copyright 2005 MySQL AB                              The World’s Most Popular Open Source Database   9
Performance – Part 2




Copyright 2005 MySQL AB                   The World’s Most Popular Open Source Database   10
Popular Technology Stacks
               LAMP                  J2EE                                    .NET


                                            Java                                       .net / C#

            Perl




                           MySQL             MySQL                                      MySQL



                                              Apache                                         IIS
                           Apache             Tomcat                                       Apache
                                               JBoss                                        JBoss



                                                Linux
                           Linux                  or                                  Windows
                                               Solaris




Copyright 2005 MySQL AB                                  The World’s Most Popular Open Source Database   11
Open Source Timeline


                                                            Apache         MySQL
          Larry Wall       Linus Torvalds                                 releases
          develops                                        Web Server
                           creates Linux                  is released       first
             Perl                                                        GPL version

            1986               1991                        1994            1995


                          1990                1993         1994
                       Van Rossum                           Lerdorf
                        releases            FreeBSD 1.0    releases
                         Python               Released       PHP

                                                                                                          Etc…




Copyright 2005 MySQL AB                                                 The World’s Most Popular Open Source Database   12
Open Source Databases




Source: Forrester Research
  Copyright 2005 MySQL AB                    The World’s Most Popular Open Source Database   13
Evans Data Corp
  SANTA CRUZ, CA, October 18, 2005 - Open source database deployments are up more
  than 20% in the last six months, according to Evans Data’s Fall 2005 Database
  Development Survey. MySQL use, for example, has increased by more than 25% in six
  months and is approaching a majority in the database space, with 44% of developers
  using the open source database.

  Database security is an important facet of database development, Evans Data found that
  proprietary database servers are almost twice as likely to have suffered a security
  breach in the last year compared to open source database servers. The most likely security
  breach for a proprietary database was a network intrusion and, for open source databases,
  the most likely breach was a user authentication breach.

  “We continue to see the maturation of open source databases reflected by the continually
  increasing levels of adoption,” said John Andrews, Evans Data’s President. “In a number of
  our ratings categories, we’re seeing open source databases meeting or exceeding
  proprietary databases.”

  Overall deployments of open source databases have grown 20 per cent.


            Source: http://www.evansdata.com/n2/pr/releases/EDCDB05_02.shtml
Copyright 2005 MySQL AB                                     The World’s Most Popular Open Source Database   14
The World’s Most Popular Open Source DB

      • Exceeded the 2M download mark for v5 in August.
      • As of September 22, 2005:
             – MySQL Server 5.0.x
                   • 2,213,943 total downloads
                   • 1,007,795 in 2005
             – MySQL Server 4.1.x
                   • 7,277,437 downloads
                   • 5,701,907 in 2005                                      v5
      • Average 40,000 downloads per day.
      • More alpha and beta users means a better product.
      • Some customers already using v5 in production!


Copyright 2005 MySQL AB                          The World’s Most Popular Open Source Database   15
MySQL Products
           DB Server       Connectors & APIs                       GUI Tools
           Linux           Connector/J                           Query Browser
           Solaris         Connector/MXJ                         Administrator
           FreeBSD         Connector/ODBC                        Migration Toolkit
           OpenBSD         Connector/NET
           MacOSX          C API (included in the
           HP-UX           s
                           server)
           AIX
           Netware
           SCO
           Irix
           QNX
           Windows




Copyright 2005 MySQL AB                             The World’s Most Popular Open Source Database   16
Second Generation Open Source
      •    MySQL AB is a profitable company
             – Develops the software in-house; community helps test it
             – Owns source code, copyrights and trademarks
             – Targets the “commoditized” market for databases
      •    “Quid Pro Quo” dual licensing for OEM market
             – Cost-effective commercial licenses for commercial use
             – Open source GPL license for open source projects
      •    Annual MySQL Network subscription for Enterprise, Web and
           OEM development/testing
             – Per server annual subscription
             – Includes support, alert and update advisors, Knowledge Base,
               Certified/Optimized Binaries
      •    MySQL Support
             – Worldwide 24 x 7 support                 “Reasoning's inspection study shows
             – Training and certification               that the code quality of MySQL was
             – Consulting                               six times better than that of
                                                        comparable proprietary code. ”




Copyright 2005 MySQL AB                                      The World’s Most Popular Open Source Database   17
MySQL Network
   The best of both worlds: Open Source Freedom and Software Protection


      Publicly Available                    MySQL Network

   • MySQL Software (community edition)
     M                                     MySQL Software
   • Release early & often                 Certified Software
   • Bleeding edge
  • Scripts/Manual
                                           Maintenance updates
  • Freeware                               Update Advisor
  • Enterprise Class
                                           Technical Alert Advisor
                                           Knowledge Base
                                           Production Support
                                           Indemnification
                                           From the developers that built MySQL




Copyright 2005 MySQL AB                            The World’s Most Popular Open Source Database   18
MySQL Certified Binaries

      •    Are available as part of MySQL Network ~ 2 times per year
      •    Certified by MySQL engineers and QA process
      •    Have passed security and defect analysis tests
      •    New platforms added quarterly

       Operating System              Certified Platforms
       RedHat Enterprise Linux 3/4     Intel-IA32 (Xeon)
                                         I                    Intel-EMT32/64 (Nacona)
                                                               I
                                       Intel-IA64 (Itanium)  AMD-64 (Opteron)
                                         I                     A
       Suse Enterprise Server 9       • Intel-IA32 (Xeon)
                                        I                     Intel-EMT32/64 (Nacona)
                                                               I
                                      • Intel-IA64 (Itanium)  AMD-64 (Opteron)
                                        I                      A
       Windows Server 2000/2003       • Intel-IA32 (Xeon)
                                        I
                                      • Intel-IA64 (Itanium)
                                        I
       Solaris 9/10                   • Sparc 32/64

       HP UX 11/11i                   • Intel-IA64 (Itanium)
                                        I



Copyright 2005 MySQL AB                                        The World’s Most Popular Open Source Database   19
MySQL Software Priorities

 Performance                           Reliability                    Ease of Use
 MySQL, Sun and BEA WebLogic Set
New World Records for Speed & Price/                                            15 Minute Rule
 Performance in SPEC Benchmarks            Study found                 Up and running in 15 minutes
                                       comparatively fewer
                                         bugs in MySQL*




                                       Lower
                                        TCO

                                                                        * Robert Lemos CNET News.com Feb 4, 2005

  Copyright 2005 MySQL AB                                    The World’s Most Popular Open Source Database         20
MySQL Feature Highlights
    ANSI-             Stored          Triggers       Cursors       Sub-Queries           Joins            Datatypes
 Compliant SQL      Procedures                                                                            (varchar,
                                                                                                           B
                                                                                                           BLOB)
    Security          Data            Data            Views        Custom SQL       User-Defined            SQL
 Authentication     Encryption      Decryption                      Functions        Functions            Functions

   Geospatial          B-Tree          Hash           R-Tree        Clustered          Full Text        Point-in-Time
    Support           Indexes         Indexes        Indexes         Indexes           Indexes           Recovery

   Table Data        Row-Level         ACID          Commit /      Server-Based        Identity            ENUM
  Compression         Locking      Transactions      Rollback      Foreign Keys        Columns            Columns

   High-Speed       Consistent /   Management        Dynamic       Replication        Deadlock             Cluster
   Data Load        MVCC Read         Tools        Configuration    Support           Detection            Support

  Auto-Growth         UTF-8 /      Full   Backup     Query         Performance       SQL Parser            Query
    Storage           Unicode                        Cache           Tracing                              Optimizer

  Security SSL          Lock        OS Portable      32/64 Bit     24 Supported         Index             Scale-Out
    Support          Isolations        Files         Support         Platforms          Caches             Capable

   Precision            Data          JDBC,           Crash          Logical        Trigger-Based          Memory
     Math            Dictionary    ODBC, .NET,       Recovery        Backups        Foreign Keys           Tables
                                      API’s
    Storage          Table Data    ISV Cluster     Client Access   Compressed       Enforced Data        Embedded
    Engines           Caches         Support          Utilities      Indexes          Integrity           Support

   Connection          User            Error         Migration       Table             EXPLAIN            Terabyte
    Pooling           Caches          Logging         Tools           Cache             Plans              Scale


Copyright 2005 MySQL AB                                                  The World’s Most Popular Open Source Database   21
What’s New?                                      Now
                                                                                     GA!
                                    MySQL 5.0

   Performance                           Reliability                           Ease of Use
  •   Stored Procedures             •   SQL Mode                          •   Migration Toolkit
  •   Cluster query push down       •   Triggers                          •   Information Schema
  •   Query optimizations           •   Views                             •   Cursors
  •   Archive Engine                •   Precision Math                    •   Enhanced GUI Tools
  •   InnoDB storage improvements   •   Distributed Transactions
                                    •   Cluster object support


        Faster                             Better                         Increased
                                                                         Manageability




Copyright 2005 MySQL AB                                            The World’s Most Popular Open Source Database   22
MySQL Performance: 5.0 vs. 4.1




Copyright 2005 MySQL AB               The World’s Most Popular Open Source Database   23
MySQL Performance: 5.0 vs. Others




Copyright 2005 MySQL AB           The World’s Most Popular Open Source Database   24
MySQL Architecture




Copyright 2005 MySQL AB                 The World’s Most Popular Open Source Database   25
Pluggable Storage Engine Architecture
     • MySQL supports several storage engines that act as
       handlers for different table types.
     • Choose, create, or extend a storage engine that best
       suits your applications unique requirements.
     • What is most important to you?
            - Read Intensive          - Replication
            - OLTP                    - Online Backups
            - Transactions            - Data Warehousing
            - Performance             - Foreign Keys
            - Scalability             - Small Footprint
            - Level of Concurrency    - Row Level Locking
            - Indexes Types           - Embedded
            - Storage Utilization     - Table Level Locking
            - High Availability       - Clustering
     • And if you change your mind?
       mysql> ALTER TABLE mytable ENGINE=MyISAM;
Copyright 2005 MySQL AB                    The World’s Most Popular Open Source Database   26
Pluggable Storage Engine Architecture

                                                                                                                                            *




         * In MySQL 5.0 transactions are supported, however, the partial rollback of a transaction is not supported. Cluster supports the
                        READ_COMMITTED, REPEATABLE_READ, and SERIALIZABLE transaction isolation levels.

Copyright 2005 MySQL AB                                                                         The World’s Most Popular Open Source Database   27
Federated Engine

   What is it…?
   • New storage engine in MySQL 5.0
   • Purpose in life is to reference data on remote MySQL servers
   • Distributed translation handled in DDL definition
   • Accesses data in tables of any storage format of remote MySQL databases
   • Sends queries over the network and formats return results
   • Can create one logical database server from one-many physical servers
                                             MySQL                    MySQL
                                             Server A                 Server B




                          Select *
                          From LocalTab a,              Federated
                               RemoteTab b               Engine
                          Where a.col1=b.col1…

Copyright 2005 MySQL AB                                         The World’s Most Popular Open Source Database   28
Federated Engine

   What are the benefits…?
   • Can easily carry out data archiving/historical data offloading tasks
   • No special middleware needed for remote access
   • Transparent access for all DML actions and SELECT actions
   • Ideal for integrating data without implementing a data warehousing scheme




                Select *
                From LocalTab a,                     Federated
                     RemoteTab b          MySQL       Engine         MySQL
                Where a.col1 = b.col1 …   Server A                   Server B




Copyright 2005 MySQL AB                                 The World’s Most Popular Open Source Database   29
Federated Engine

     Example...
    mysql> CREATE TABLE client_transaction_hist (
    -> client_transaction_id int(11) NOT NULL,
    -> client_id int(11) NOT NULL,
    -> investment_id int(11) NOT NULL,
    -> action varchar(10) NOT NULL,
    -> price decimal(12,2) NOT NULL
    ...
    -> )ENGINE=FEDERATED
    -> COMMENT='mysql://mysql:password@serv1:3306/gim/client_transaction_hist';
    Query OK, 0 rows affected (0.14 sec)

    mysql> CREATE VIEW client_transaction_all as
    -> select * from client_transaction
    -> union all
    -> select * from client_transaction_hist;
    Query OK, 0 rows affected (0.08 sec)
    mysql> select count(*) from client_transaction_all;
    +----------+
    | count(*) |
    +----------+
    | 130725   |
    +----------+


Copyright 2005 MySQL AB                                     The World’s Most Popular Open Source Database   30
Federated Engine

   What else do I need to know?
   • Can only access other MySQL servers in 5.0
   • Support for heterogeneous datasources coming
   • Access speed can be negatively impacted by network influences
   • Embedding passwords in federated definition is security risk
   • Does not use query cache or transactions in 5.0


                                   MySQL                    MySQL
                                   Server A                 Server B




         Select *
         From LocalTab a,                     Federated
              RemoteTab b
                                               Engine
         Where a.col1 = b.col1 …

Copyright 2005 MySQL AB                               The World’s Most Popular Open Source Database   31
Archive Engine




  Business Benefits                              Notes of Interest
  • Helps retain historical data required by     •   I
                                                     Insert and Select only (no Updates/Deletes)
    government regulations                       •   Very good for security needs; e.g., auditing
  • Big performance gain; keep only archive      •   No indexes in current release
    data on primary database                     •   More capabilities to come…
  • Dramatic storage savings – reduces storage
    costs:
        – 1.6 Million Row MySQL Table
          uncompressed: 112MB
        – Compressed MyISAM 28MB (70+%
          r
          reduction)
        – Archive 21MB - 80% reduction!

Copyright 2005 MySQL AB                                          The World’s Most Popular Open Source Database   32
Stored Procedures
                                     C
                                     Create Procedure P_1()
                                     Begin
                                       SELECT * FROM EMP;
                                     End;




  Business Benefits                              Note of Interest

  •   Embed business logic inside the database   • Can handle standard output for SELECT, while
  •   Use database’s immense processing power      Oracle cannot…
  •   Reduces network traffic in data centers    • Non-robust error handling/exits
  •   Eases security administration
  •   Allows pre-configured SQL tuning
  •   Familiar syntax aids switchover costs




Copyright 2005 MySQL AB                                       The World’s Most Popular Open Source Database   33
Stored Procedure Example




Copyright 2005 MySQL AB         The World’s Most Popular Open Source Database   34
Triggers

                                        C
                                        Create trigger t_1()
                                        Before insert on EMP
                                        FOR EACH ROW
                                        SET @C1 = NEW.C1 * .10;




  Business Benefits                                 Note of Interest

  • Audit user activities on database objects       • Offers BEFORE and AFTER capabilities
  • Enforce business logic on user’s actions        • Does allow access to tables that the trigger
  • Reduces network traffic in data centers           has not be defined on
  • Familiar syntax aids switchover costs           • Does not work in cascading referential
                                                      integrity actions
                                                    • Only row-level in v5.0 (not statement level)
                                                      O




Copyright 2005 MySQL AB                                           The World’s Most Popular Open Source Database   35
Trigger Example




Copyright 2005 MySQL AB   The World’s Most Popular Open Source Database   36
Views




  Business Benefits                                Note of Interest

  • Provide security layer over sensitive data     • Updateable only if single table views (and still
  • Simplify access to complex data                  restrictions apply)
  • Provide ‘friendly’ name to ugly-named tables




Copyright 2005 MySQL AB                                          The World’s Most Popular Open Source Database   37
View with Data Encryption Example




Copyright 2005 MySQL AB         The World’s Most Popular Open Source Database   38
XA Support
      • MySQL v5 supports distributed transaction processing:
             – Two-phase commit with XA protocol available in InnoDB
             – Commit grouping to improve performance
             – XA JDBC driver
      • In MySQL:
             – the server acts as a transaction manager or resource manager
             – storage engines can be implemented as a resource manager

      Application                       TX Scope        MySQL                               TX Scope


  MySQL                   Other XA RM                XA Engine1                 XA Engine 2
 MySQL acts as RM         Included in app TX      MySQL acts as TM           Different XA engine
 Queries on ACID TX                                Storage engines act         can be in same TX
  tables included                                    as RM


5.0                                                                                                  5.1

Copyright 2005 MySQL AB                                  The World’s Most Popular Open Source Database     39
MySQL Cluster For “Five 9’s” HA
       •    Distributed, in-memory cluster and database
       •    ACID transactions with check pointing, logging and recovery
       •    No single point of failure, automatic fail-over
       •    Enables increased capacity for reads and write actions
       •    Database transparently fragmented over several nodes
                                                                  • Server “Group” use Same Virtual IP Address
                                               Client Access
                                                                  • Load Balance New Clients to Servers



       MySQL S1                             Management Node                                 MySQL Sn
                                                     • Config, start, stop of Nodes



                                                                          • Node Group acts as single “Unit” to MySQL
                                            Node 1       Node 2
                                                                          • Same data is replicated between all nodes
• All queries load balanced between Nodes                                 • Can have different Node Groups replicating
• NDBCluster storage engine in MySQL        Node 3       Node 4             different “fragments” of data
handles load node selection                                               • Each node resides on different machine
                                                Node Group
Copyright 2005 MySQL AB                                                    The World’s Most Popular Open Source Database   40
MySQL Replication
      • Basic replication architecture: designates one server
        as a MASTER and other servers as SLAVES
      • SLAVE “pulls” from server with dynamic reconfig
      • Only pulls changes from binary log

                                                            • Write queries sent to MASTER
                                           Client Access
                                                            • Application balances reads on SLAVEs
             MASTER

                  MySQL Server                             MySQL Server                SLAVE 1

                 • Stores binary TX logs
                 • Slave index tracking                      MySQL Server                  SLAVE 2
                                                ...




                                                                                                  ...
                                                                MySQL Server                    SLAVE n

                                                             Windows or other OS
                          Linux
Copyright 2005 MySQL AB                                              The World’s Most Popular Open Source Database   41
MASTER-MASTER Replication Architecture

      • You can achieve the benefits of a shared-storage
        architecture without shared storage.
                                                               • All write queries sent to ACTIVE
                                                               • Application balances reads on BOTH servers
                                             Client Access     • Responsible for detecting node failure
                                                               • Can use OSS HA detection software: “heartbeat”

            ACTIVE                                                                      PASSIVE

                 MySQL Server                                           MySQL Server
                • Configured as MASTER                                 • Configured as MASTER
                • Configured as SLAVE                                  • Configured as SLAVE


                           • PASSIVE SLAVE “pulls” updates from ACTIVE MASTER
                           • ACTIVE SLAVE “waits” on PASSIVE MASTER, but nothing ever pulled
                           • If ACTIVE fails, PASSIVE becomes ACTIVE
                           • When the server re-boots, it becomes PASSIVE
                           • ACTIVE / PASSIVE designation determined merely by request routing
Copyright 2005 MySQL AB                                                      The World’s Most Popular Open Source Database   42
Ease Of Use

“Tackling the installation and setup of MySQL isn’t something that typically requires much effort,
regardless of the platform. As an example, the engineers of Embarcadero Technologies recently
compared the installation of an Oracle9i database on a new Red Hat Fedora Core machine with a
 MySQL 4.0.18 install on the same machine. With Oracle, it took over three hours to find and
 download all the necessary patches, configure the machine, and work through the installation.
 With MySQL, the engineers were finished with their installation and at a MySQL client prompt,
 ready to work, in seven minutes. After the installation, the setup and maintenance process is
  typically straightforward and simple. MySQL provides a number of sample configuration files
                that can quickly be used for different environments (small, large, etc.).”

                                         Data Lifecycle Management Series — Migrating to MySQL
                                                       Embarcadero Technologies
                                                              August 2004



 Copyright 2005 MySQL AB                                           The World’s Most Popular Open Source Database   43
MySQL 5.1 – Alpha TBD


            • Row-based replication
            • Range, List, Hash and Sub partitioning
            • Full Text Search Enhancements
            • Join improvements
            • Disk-based Cluster tables
            • Replication support for Cluster
            • Internal Scheduler
            • Xpath (XML) Support
            • And more…




Copyright 2005 MySQL AB                       The World’s Most Popular Open Source Database   44
Local User Groups: http://dev.mysql.com/user-groups
       2006 User Conference: http://www.mysqluc.com/




                           Questions?

                              John Bradford
                          jbradford@mysql.com



Copyright 2005 MySQL AB                  The World’s Most Popular Open Source Database   45
Copyright 2005 MySQL AB   The World’s Most Popular Open Source Database   46

More Related Content

Similar to 2 my sql overview technology etc[1]. etc

Free Software and the Future of Database Technology
Free Software and the Future of Database TechnologyFree Software and the Future of Database Technology
Free Software and the Future of Database Technologyelliando dias
 
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
 
Tagging and Folksonomy Schema Design for Scalability and Performance
Tagging and Folksonomy Schema Design for Scalability and PerformanceTagging and Folksonomy Schema Design for Scalability and Performance
Tagging and Folksonomy Schema Design for Scalability and PerformanceEduard Bondarenko
 
Oracle mysql comparison
Oracle mysql comparisonOracle mysql comparison
Oracle mysql comparisonArun Sharma
 
Mårten Mickos's presentation "Open Source: Why Freedom Makes a Better Busines...
Mårten Mickos's presentation "Open Source: Why Freedom Makes a Better Busines...Mårten Mickos's presentation "Open Source: Why Freedom Makes a Better Busines...
Mårten Mickos's presentation "Open Source: Why Freedom Makes a Better Busines...Jeff Hammerbacher
 
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'sFromDual GmbH
 
Oracle day co_opensource_final
Oracle day co_opensource_finalOracle day co_opensource_final
Oracle day co_opensource_finalManuel Contreras
 
MySQL Ecosystem in 2020
MySQL Ecosystem in 2020MySQL Ecosystem in 2020
MySQL Ecosystem in 2020Alkin Tezuysal
 
MySQL vs. NoSQL and NewSQL - survey results
MySQL vs. NoSQL and NewSQL - survey resultsMySQL vs. NoSQL and NewSQL - survey results
MySQL vs. NoSQL and NewSQL - survey resultsMatthew Aslett
 
EMC {code} Open Source
EMC {code} Open SourceEMC {code} Open Source
EMC {code} Open SourceBob Sokol
 
My sql crashcourse_intro_kdl
My sql crashcourse_intro_kdlMy sql crashcourse_intro_kdl
My sql crashcourse_intro_kdlsqlhjalp
 
Ora mysql bothGetting the best of both worlds with Oracle 11g and MySQL Enter...
Ora mysql bothGetting the best of both worlds with Oracle 11g and MySQL Enter...Ora mysql bothGetting the best of both worlds with Oracle 11g and MySQL Enter...
Ora mysql bothGetting the best of both worlds with Oracle 11g and MySQL Enter...Ivan Zoratti
 
osscon_mysql_redis_plugin
osscon_mysql_redis_pluginosscon_mysql_redis_plugin
osscon_mysql_redis_pluginhyeongchae lee
 
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.6Santo Leto
 
Major Relational Database Management Systems...
Major Relational Database Management Systems...Major Relational Database Management Systems...
Major Relational Database Management Systems...FinboxInc
 
My sql roadmap 2008 2009
My sql roadmap 2008 2009My sql roadmap 2008 2009
My sql roadmap 2008 2009xKinAnx
 

Similar to 2 my sql overview technology etc[1]. etc (20)

Free Software and the Future of Database Technology
Free Software and the Future of Database TechnologyFree Software and the Future of Database Technology
Free Software and the Future of Database Technology
 
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?
 
Tagging and Folksonomy Schema Design for Scalability and Performance
Tagging and Folksonomy Schema Design for Scalability and PerformanceTagging and Folksonomy Schema Design for Scalability and Performance
Tagging and Folksonomy Schema Design for Scalability and Performance
 
Oracle mysql comparison
Oracle mysql comparisonOracle mysql comparison
Oracle mysql comparison
 
Mårten Mickos's presentation "Open Source: Why Freedom Makes a Better Busines...
Mårten Mickos's presentation "Open Source: Why Freedom Makes a Better Busines...Mårten Mickos's presentation "Open Source: Why Freedom Makes a Better Busines...
Mårten Mickos's presentation "Open Source: Why Freedom Makes a Better Busines...
 
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
 
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
 
Oracle day co_opensource_final
Oracle day co_opensource_finalOracle day co_opensource_final
Oracle day co_opensource_final
 
MySQL
MySQL MySQL
MySQL
 
MySQL Ecosystem in 2020
MySQL Ecosystem in 2020MySQL Ecosystem in 2020
MySQL Ecosystem in 2020
 
MySQL vs. NoSQL and NewSQL - survey results
MySQL vs. NoSQL and NewSQL - survey resultsMySQL vs. NoSQL and NewSQL - survey results
MySQL vs. NoSQL and NewSQL - survey results
 
EMC {code} Open Source
EMC {code} Open SourceEMC {code} Open Source
EMC {code} Open Source
 
My sql crashcourse_intro_kdl
My sql crashcourse_intro_kdlMy sql crashcourse_intro_kdl
My sql crashcourse_intro_kdl
 
Ora mysql bothGetting the best of both worlds with Oracle 11g and MySQL Enter...
Ora mysql bothGetting the best of both worlds with Oracle 11g and MySQL Enter...Ora mysql bothGetting the best of both worlds with Oracle 11g and MySQL Enter...
Ora mysql bothGetting the best of both worlds with Oracle 11g and MySQL Enter...
 
osscon_mysql_redis_plugin
osscon_mysql_redis_pluginosscon_mysql_redis_plugin
osscon_mysql_redis_plugin
 
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
 
Major Relational Database Management Systems...
Major Relational Database Management Systems...Major Relational Database Management Systems...
Major Relational Database Management Systems...
 
MySQL overview
MySQL overviewMySQL overview
MySQL overview
 
My sql roadmap 2008 2009
My sql roadmap 2008 2009My sql roadmap 2008 2009
My sql roadmap 2008 2009
 
Ba401_Mysql2006
Ba401_Mysql2006Ba401_Mysql2006
Ba401_Mysql2006
 

More from Prof. Erwin Globio

Cisco Router Basic Configuration
Cisco Router Basic ConfigurationCisco Router Basic Configuration
Cisco Router Basic ConfigurationProf. Erwin Globio
 
Introduction to iOS Apps Development
Introduction to iOS Apps DevelopmentIntroduction to iOS Apps Development
Introduction to iOS Apps DevelopmentProf. Erwin Globio
 
Introduction to Android Development Latest
Introduction to Android Development LatestIntroduction to Android Development Latest
Introduction to Android Development LatestProf. Erwin Globio
 
iOS Apps Development (SQLite Tutorial Part 2)
iOS Apps Development (SQLite Tutorial Part 2)iOS Apps Development (SQLite Tutorial Part 2)
iOS Apps Development (SQLite Tutorial Part 2)Prof. Erwin Globio
 
iOS Apps Development (SQLite Tutorial Part 1)
iOS Apps Development (SQLite Tutorial Part 1)iOS Apps Development (SQLite Tutorial Part 1)
iOS Apps Development (SQLite Tutorial Part 1)Prof. Erwin Globio
 
Introduction to Computer Programming
Introduction to Computer ProgrammingIntroduction to Computer Programming
Introduction to Computer ProgrammingProf. Erwin Globio
 
Solutions to Common Android Problems
Solutions to Common Android ProblemsSolutions to Common Android Problems
Solutions to Common Android ProblemsProf. Erwin Globio
 
Android Development Tools and Installation
Android Development Tools and InstallationAndroid Development Tools and Installation
Android Development Tools and InstallationProf. Erwin Globio
 

More from Prof. Erwin Globio (20)

Embedded System Presentation
Embedded System PresentationEmbedded System Presentation
Embedded System Presentation
 
BSCS | BSIT Thesis Guidelines
BSCS | BSIT Thesis GuidelinesBSCS | BSIT Thesis Guidelines
BSCS | BSIT Thesis Guidelines
 
Internet of Things
Internet of ThingsInternet of Things
Internet of Things
 
Networking Trends
Networking TrendsNetworking Trends
Networking Trends
 
Sq lite presentation
Sq lite presentationSq lite presentation
Sq lite presentation
 
Ethics for IT Professionals
Ethics for IT ProfessionalsEthics for IT Professionals
Ethics for IT Professionals
 
Cisco Router Basic Configuration
Cisco Router Basic ConfigurationCisco Router Basic Configuration
Cisco Router Basic Configuration
 
Introduction to iOS Apps Development
Introduction to iOS Apps DevelopmentIntroduction to iOS Apps Development
Introduction to iOS Apps Development
 
Cloud Computing Latest
Cloud Computing LatestCloud Computing Latest
Cloud Computing Latest
 
Introduction to Android Development Latest
Introduction to Android Development LatestIntroduction to Android Development Latest
Introduction to Android Development Latest
 
iOS Apps Development (SQLite Tutorial Part 2)
iOS Apps Development (SQLite Tutorial Part 2)iOS Apps Development (SQLite Tutorial Part 2)
iOS Apps Development (SQLite Tutorial Part 2)
 
iOS Apps Development (SQLite Tutorial Part 1)
iOS Apps Development (SQLite Tutorial Part 1)iOS Apps Development (SQLite Tutorial Part 1)
iOS Apps Development (SQLite Tutorial Part 1)
 
A tutorial on C++ Programming
A tutorial on C++ ProgrammingA tutorial on C++ Programming
A tutorial on C++ Programming
 
Overview of C Language
Overview of C LanguageOverview of C Language
Overview of C Language
 
Introduction to Computer Programming
Introduction to Computer ProgrammingIntroduction to Computer Programming
Introduction to Computer Programming
 
Android Fragments
Android FragmentsAndroid Fragments
Android Fragments
 
Solutions to Common Android Problems
Solutions to Common Android ProblemsSolutions to Common Android Problems
Solutions to Common Android Problems
 
Android Development Tools and Installation
Android Development Tools and InstallationAndroid Development Tools and Installation
Android Development Tools and Installation
 
Java Collections Tutorials
Java Collections TutorialsJava Collections Tutorials
Java Collections Tutorials
 
Action Bar in Android
Action Bar in AndroidAction Bar in Android
Action Bar in Android
 

Recently uploaded

The Contemporary World: The Globalization of World Politics
The Contemporary World: The Globalization of World PoliticsThe Contemporary World: The Globalization of World Politics
The Contemporary World: The Globalization of World PoliticsRommel Regala
 
Activity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationActivity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationRosabel UA
 
EMBODO Lesson Plan Grade 9 Law of Sines.docx
EMBODO Lesson Plan Grade 9 Law of Sines.docxEMBODO Lesson Plan Grade 9 Law of Sines.docx
EMBODO Lesson Plan Grade 9 Law of Sines.docxElton John Embodo
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSMae Pangan
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptxiammrhaywood
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfPatidar M
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
Presentation Activity 2. Unit 3 transv.pptx
Presentation Activity 2. Unit 3 transv.pptxPresentation Activity 2. Unit 3 transv.pptx
Presentation Activity 2. Unit 3 transv.pptxRosabel UA
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmStan Meyer
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxVanesaIglesias10
 

Recently uploaded (20)

LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
The Contemporary World: The Globalization of World Politics
The Contemporary World: The Globalization of World PoliticsThe Contemporary World: The Globalization of World Politics
The Contemporary World: The Globalization of World Politics
 
Activity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationActivity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translation
 
EMBODO Lesson Plan Grade 9 Law of Sines.docx
EMBODO Lesson Plan Grade 9 Law of Sines.docxEMBODO Lesson Plan Grade 9 Law of Sines.docx
EMBODO Lesson Plan Grade 9 Law of Sines.docx
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHS
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptxINCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdf
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
Presentation Activity 2. Unit 3 transv.pptx
Presentation Activity 2. Unit 3 transv.pptxPresentation Activity 2. Unit 3 transv.pptx
Presentation Activity 2. Unit 3 transv.pptx
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and Film
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptx
 

2 my sql overview technology etc[1]. etc

  • 1. MySQL Overview: Technology etc. etc. Copyright 2005 MySQL AB The World’s Most Popular Open Source Database 1
  • 2. Prof. Erwin M. Globio, MSIT http://erwinglobio.wix.com/ittraining/ http://ittrainingsolutions.com/ http://erwinglobio.sulit.com.ph/ http://erwinglobio.multiply.com/ Copyright 2005 MySQL AB The World’s Most Popular Open Source Database 2
  • 3. Perspective “We're both in the transportation business. We have a 747, and they have a Toyota.” Comparison of Oracle and MySQL made by Oracle president, Charles Phillips, at the Vortex Conference in October 2004 “There are many more Toyotas sold than 747s. Also, Toyota is a very profitable company.” MySQL CEO Marten Mickos, responding to Mr. Phillips’ statement Copyright 2005 MySQL AB The World’s Most Popular Open Source Database 3
  • 4. Database Market Share: Revenue IBM, Oracle, & Microsoft are Leaders Sybase, 2.30 Others, 7.00 IBM , 34.10 Teradata, 2.90 Microsoft, 20.00 Oracle, 33.70 Gartner, May 2005 Notes: • Majority of IBM share resides on mainframe (z/OS) M • Overall market grew 10.4% in 2004 Copyright 2005 MySQL AB The World’s Most Popular Open Source Database 4
  • 5. Yahoo Futures - Databases http://buzz.research.yahoo.com Copyright 2005 MySQL AB The World’s Most Popular Open Source Database 5
  • 6. Open Source Adoption 75% Using or Considering Using Open Source Copyright 2005 MySQL AB The World’s Most Popular Open Source Database 6
  • 7. Linux Adoption $ $35 billion in revenues by 2008 (Source: IDC) Revenue Revenue Growth 2Q 2004 2Q 2004 60.00% 5000 50.00% 4000 40.00% $ Millions 3000 30.00% 2000 20.00% 1000 10.00% 0 0.00% Window s Unix Other Linux Windows Unix Other Linux -10.00% Source: Gartner Copyright 2005 MySQL AB The World’s Most Popular Open Source Database 7
  • 8. Database Adoption on Linux Database Revenue on Linux grew 118% to $650M in 2004 Copyright 2005 MySQL AB The World’s Most Popular Open Source Database 8
  • 9. Performance – Part 1 • eWeek’s database benchmark test showed: – MySQL has top overall performance and scalability – MySQL excelled in stability, easy of tuning, and connectivity – MySQL offered high throughput – tied for 1st Copyright 2005 MySQL AB The World’s Most Popular Open Source Database 9
  • 10. Performance – Part 2 Copyright 2005 MySQL AB The World’s Most Popular Open Source Database 10
  • 11. Popular Technology Stacks LAMP J2EE .NET Java .net / C# Perl MySQL MySQL MySQL Apache IIS Apache Tomcat Apache JBoss JBoss Linux Linux or Windows Solaris Copyright 2005 MySQL AB The World’s Most Popular Open Source Database 11
  • 12. Open Source Timeline Apache MySQL Larry Wall Linus Torvalds releases develops Web Server creates Linux is released first Perl GPL version 1986 1991 1994 1995 1990 1993 1994 Van Rossum Lerdorf releases FreeBSD 1.0 releases Python Released PHP Etc… Copyright 2005 MySQL AB The World’s Most Popular Open Source Database 12
  • 13. Open Source Databases Source: Forrester Research Copyright 2005 MySQL AB The World’s Most Popular Open Source Database 13
  • 14. Evans Data Corp SANTA CRUZ, CA, October 18, 2005 - Open source database deployments are up more than 20% in the last six months, according to Evans Data’s Fall 2005 Database Development Survey. MySQL use, for example, has increased by more than 25% in six months and is approaching a majority in the database space, with 44% of developers using the open source database. Database security is an important facet of database development, Evans Data found that proprietary database servers are almost twice as likely to have suffered a security breach in the last year compared to open source database servers. The most likely security breach for a proprietary database was a network intrusion and, for open source databases, the most likely breach was a user authentication breach. “We continue to see the maturation of open source databases reflected by the continually increasing levels of adoption,” said John Andrews, Evans Data’s President. “In a number of our ratings categories, we’re seeing open source databases meeting or exceeding proprietary databases.” Overall deployments of open source databases have grown 20 per cent. Source: http://www.evansdata.com/n2/pr/releases/EDCDB05_02.shtml Copyright 2005 MySQL AB The World’s Most Popular Open Source Database 14
  • 15. The World’s Most Popular Open Source DB • Exceeded the 2M download mark for v5 in August. • As of September 22, 2005: – MySQL Server 5.0.x • 2,213,943 total downloads • 1,007,795 in 2005 – MySQL Server 4.1.x • 7,277,437 downloads • 5,701,907 in 2005 v5 • Average 40,000 downloads per day. • More alpha and beta users means a better product. • Some customers already using v5 in production! Copyright 2005 MySQL AB The World’s Most Popular Open Source Database 15
  • 16. MySQL Products DB Server Connectors & APIs GUI Tools Linux Connector/J Query Browser Solaris Connector/MXJ Administrator FreeBSD Connector/ODBC Migration Toolkit OpenBSD Connector/NET MacOSX C API (included in the HP-UX s server) AIX Netware SCO Irix QNX Windows Copyright 2005 MySQL AB The World’s Most Popular Open Source Database 16
  • 17. Second Generation Open Source • MySQL AB is a profitable company – Develops the software in-house; community helps test it – Owns source code, copyrights and trademarks – Targets the “commoditized” market for databases • “Quid Pro Quo” dual licensing for OEM market – Cost-effective commercial licenses for commercial use – Open source GPL license for open source projects • Annual MySQL Network subscription for Enterprise, Web and OEM development/testing – Per server annual subscription – Includes support, alert and update advisors, Knowledge Base, Certified/Optimized Binaries • MySQL Support – Worldwide 24 x 7 support “Reasoning's inspection study shows – Training and certification that the code quality of MySQL was – Consulting six times better than that of comparable proprietary code. ” Copyright 2005 MySQL AB The World’s Most Popular Open Source Database 17
  • 18. MySQL Network The best of both worlds: Open Source Freedom and Software Protection Publicly Available MySQL Network • MySQL Software (community edition) M  MySQL Software • Release early & often  Certified Software • Bleeding edge • Scripts/Manual  Maintenance updates • Freeware  Update Advisor • Enterprise Class  Technical Alert Advisor  Knowledge Base  Production Support  Indemnification  From the developers that built MySQL Copyright 2005 MySQL AB The World’s Most Popular Open Source Database 18
  • 19. MySQL Certified Binaries • Are available as part of MySQL Network ~ 2 times per year • Certified by MySQL engineers and QA process • Have passed security and defect analysis tests • New platforms added quarterly Operating System Certified Platforms RedHat Enterprise Linux 3/4  Intel-IA32 (Xeon) I  Intel-EMT32/64 (Nacona) I  Intel-IA64 (Itanium)  AMD-64 (Opteron) I A Suse Enterprise Server 9 • Intel-IA32 (Xeon) I  Intel-EMT32/64 (Nacona) I • Intel-IA64 (Itanium)  AMD-64 (Opteron) I A Windows Server 2000/2003 • Intel-IA32 (Xeon) I • Intel-IA64 (Itanium) I Solaris 9/10 • Sparc 32/64 HP UX 11/11i • Intel-IA64 (Itanium) I Copyright 2005 MySQL AB The World’s Most Popular Open Source Database 19
  • 20. MySQL Software Priorities Performance Reliability Ease of Use MySQL, Sun and BEA WebLogic Set New World Records for Speed & Price/ 15 Minute Rule Performance in SPEC Benchmarks Study found Up and running in 15 minutes comparatively fewer bugs in MySQL* Lower TCO * Robert Lemos CNET News.com Feb 4, 2005 Copyright 2005 MySQL AB The World’s Most Popular Open Source Database 20
  • 21. MySQL Feature Highlights ANSI- Stored Triggers Cursors Sub-Queries Joins Datatypes Compliant SQL Procedures (varchar, B BLOB) Security Data Data Views Custom SQL User-Defined SQL Authentication Encryption Decryption Functions Functions Functions Geospatial B-Tree Hash R-Tree Clustered Full Text Point-in-Time Support Indexes Indexes Indexes Indexes Indexes Recovery Table Data Row-Level ACID Commit / Server-Based Identity ENUM Compression Locking Transactions Rollback Foreign Keys Columns Columns High-Speed Consistent / Management Dynamic Replication Deadlock Cluster Data Load MVCC Read Tools Configuration Support Detection Support Auto-Growth UTF-8 / Full Backup Query Performance SQL Parser Query Storage Unicode Cache Tracing Optimizer Security SSL Lock OS Portable 32/64 Bit 24 Supported Index Scale-Out Support Isolations Files Support Platforms Caches Capable Precision Data JDBC, Crash Logical Trigger-Based Memory Math Dictionary ODBC, .NET, Recovery Backups Foreign Keys Tables API’s Storage Table Data ISV Cluster Client Access Compressed Enforced Data Embedded Engines Caches Support Utilities Indexes Integrity Support Connection User Error Migration Table EXPLAIN Terabyte Pooling Caches Logging Tools Cache Plans Scale Copyright 2005 MySQL AB The World’s Most Popular Open Source Database 21
  • 22. What’s New? Now GA! MySQL 5.0 Performance Reliability Ease of Use • Stored Procedures • SQL Mode • Migration Toolkit • Cluster query push down • Triggers • Information Schema • Query optimizations • Views • Cursors • Archive Engine • Precision Math • Enhanced GUI Tools • InnoDB storage improvements • Distributed Transactions • Cluster object support Faster Better Increased Manageability Copyright 2005 MySQL AB The World’s Most Popular Open Source Database 22
  • 23. MySQL Performance: 5.0 vs. 4.1 Copyright 2005 MySQL AB The World’s Most Popular Open Source Database 23
  • 24. MySQL Performance: 5.0 vs. Others Copyright 2005 MySQL AB The World’s Most Popular Open Source Database 24
  • 25. MySQL Architecture Copyright 2005 MySQL AB The World’s Most Popular Open Source Database 25
  • 26. Pluggable Storage Engine Architecture • MySQL supports several storage engines that act as handlers for different table types. • Choose, create, or extend a storage engine that best suits your applications unique requirements. • What is most important to you? - Read Intensive - Replication - OLTP - Online Backups - Transactions - Data Warehousing - Performance - Foreign Keys - Scalability - Small Footprint - Level of Concurrency - Row Level Locking - Indexes Types - Embedded - Storage Utilization - Table Level Locking - High Availability - Clustering • And if you change your mind? mysql> ALTER TABLE mytable ENGINE=MyISAM; Copyright 2005 MySQL AB The World’s Most Popular Open Source Database 26
  • 27. Pluggable Storage Engine Architecture * * In MySQL 5.0 transactions are supported, however, the partial rollback of a transaction is not supported. Cluster supports the READ_COMMITTED, REPEATABLE_READ, and SERIALIZABLE transaction isolation levels. Copyright 2005 MySQL AB The World’s Most Popular Open Source Database 27
  • 28. Federated Engine What is it…? • New storage engine in MySQL 5.0 • Purpose in life is to reference data on remote MySQL servers • Distributed translation handled in DDL definition • Accesses data in tables of any storage format of remote MySQL databases • Sends queries over the network and formats return results • Can create one logical database server from one-many physical servers MySQL MySQL Server A Server B Select * From LocalTab a, Federated RemoteTab b Engine Where a.col1=b.col1… Copyright 2005 MySQL AB The World’s Most Popular Open Source Database 28
  • 29. Federated Engine What are the benefits…? • Can easily carry out data archiving/historical data offloading tasks • No special middleware needed for remote access • Transparent access for all DML actions and SELECT actions • Ideal for integrating data without implementing a data warehousing scheme Select * From LocalTab a, Federated RemoteTab b MySQL Engine MySQL Where a.col1 = b.col1 … Server A Server B Copyright 2005 MySQL AB The World’s Most Popular Open Source Database 29
  • 30. Federated Engine Example... mysql> CREATE TABLE client_transaction_hist ( -> client_transaction_id int(11) NOT NULL, -> client_id int(11) NOT NULL, -> investment_id int(11) NOT NULL, -> action varchar(10) NOT NULL, -> price decimal(12,2) NOT NULL ... -> )ENGINE=FEDERATED -> COMMENT='mysql://mysql:password@serv1:3306/gim/client_transaction_hist'; Query OK, 0 rows affected (0.14 sec) mysql> CREATE VIEW client_transaction_all as -> select * from client_transaction -> union all -> select * from client_transaction_hist; Query OK, 0 rows affected (0.08 sec) mysql> select count(*) from client_transaction_all; +----------+ | count(*) | +----------+ | 130725 | +----------+ Copyright 2005 MySQL AB The World’s Most Popular Open Source Database 30
  • 31. Federated Engine What else do I need to know? • Can only access other MySQL servers in 5.0 • Support for heterogeneous datasources coming • Access speed can be negatively impacted by network influences • Embedding passwords in federated definition is security risk • Does not use query cache or transactions in 5.0 MySQL MySQL Server A Server B Select * From LocalTab a, Federated RemoteTab b Engine Where a.col1 = b.col1 … Copyright 2005 MySQL AB The World’s Most Popular Open Source Database 31
  • 32. Archive Engine Business Benefits Notes of Interest • Helps retain historical data required by • I Insert and Select only (no Updates/Deletes) government regulations • Very good for security needs; e.g., auditing • Big performance gain; keep only archive • No indexes in current release data on primary database • More capabilities to come… • Dramatic storage savings – reduces storage costs: – 1.6 Million Row MySQL Table uncompressed: 112MB – Compressed MyISAM 28MB (70+% r reduction) – Archive 21MB - 80% reduction! Copyright 2005 MySQL AB The World’s Most Popular Open Source Database 32
  • 33. Stored Procedures C Create Procedure P_1() Begin SELECT * FROM EMP; End; Business Benefits Note of Interest • Embed business logic inside the database • Can handle standard output for SELECT, while • Use database’s immense processing power Oracle cannot… • Reduces network traffic in data centers • Non-robust error handling/exits • Eases security administration • Allows pre-configured SQL tuning • Familiar syntax aids switchover costs Copyright 2005 MySQL AB The World’s Most Popular Open Source Database 33
  • 34. Stored Procedure Example Copyright 2005 MySQL AB The World’s Most Popular Open Source Database 34
  • 35. Triggers C Create trigger t_1() Before insert on EMP FOR EACH ROW SET @C1 = NEW.C1 * .10; Business Benefits Note of Interest • Audit user activities on database objects • Offers BEFORE and AFTER capabilities • Enforce business logic on user’s actions • Does allow access to tables that the trigger • Reduces network traffic in data centers has not be defined on • Familiar syntax aids switchover costs • Does not work in cascading referential integrity actions • Only row-level in v5.0 (not statement level) O Copyright 2005 MySQL AB The World’s Most Popular Open Source Database 35
  • 36. Trigger Example Copyright 2005 MySQL AB The World’s Most Popular Open Source Database 36
  • 37. Views Business Benefits Note of Interest • Provide security layer over sensitive data • Updateable only if single table views (and still • Simplify access to complex data restrictions apply) • Provide ‘friendly’ name to ugly-named tables Copyright 2005 MySQL AB The World’s Most Popular Open Source Database 37
  • 38. View with Data Encryption Example Copyright 2005 MySQL AB The World’s Most Popular Open Source Database 38
  • 39. XA Support • MySQL v5 supports distributed transaction processing: – Two-phase commit with XA protocol available in InnoDB – Commit grouping to improve performance – XA JDBC driver • In MySQL: – the server acts as a transaction manager or resource manager – storage engines can be implemented as a resource manager Application TX Scope MySQL TX Scope MySQL Other XA RM XA Engine1 XA Engine 2  MySQL acts as RM  Included in app TX  MySQL acts as TM  Different XA engine  Queries on ACID TX  Storage engines act can be in same TX tables included as RM 5.0 5.1 Copyright 2005 MySQL AB The World’s Most Popular Open Source Database 39
  • 40. MySQL Cluster For “Five 9’s” HA • Distributed, in-memory cluster and database • ACID transactions with check pointing, logging and recovery • No single point of failure, automatic fail-over • Enables increased capacity for reads and write actions • Database transparently fragmented over several nodes • Server “Group” use Same Virtual IP Address Client Access • Load Balance New Clients to Servers MySQL S1 Management Node MySQL Sn • Config, start, stop of Nodes • Node Group acts as single “Unit” to MySQL Node 1 Node 2 • Same data is replicated between all nodes • All queries load balanced between Nodes • Can have different Node Groups replicating • NDBCluster storage engine in MySQL Node 3 Node 4 different “fragments” of data handles load node selection • Each node resides on different machine Node Group Copyright 2005 MySQL AB The World’s Most Popular Open Source Database 40
  • 41. MySQL Replication • Basic replication architecture: designates one server as a MASTER and other servers as SLAVES • SLAVE “pulls” from server with dynamic reconfig • Only pulls changes from binary log • Write queries sent to MASTER Client Access • Application balances reads on SLAVEs MASTER MySQL Server MySQL Server SLAVE 1 • Stores binary TX logs • Slave index tracking MySQL Server SLAVE 2 ... ... MySQL Server SLAVE n Windows or other OS Linux Copyright 2005 MySQL AB The World’s Most Popular Open Source Database 41
  • 42. MASTER-MASTER Replication Architecture • You can achieve the benefits of a shared-storage architecture without shared storage. • All write queries sent to ACTIVE • Application balances reads on BOTH servers Client Access • Responsible for detecting node failure • Can use OSS HA detection software: “heartbeat” ACTIVE PASSIVE MySQL Server MySQL Server • Configured as MASTER • Configured as MASTER • Configured as SLAVE • Configured as SLAVE • PASSIVE SLAVE “pulls” updates from ACTIVE MASTER • ACTIVE SLAVE “waits” on PASSIVE MASTER, but nothing ever pulled • If ACTIVE fails, PASSIVE becomes ACTIVE • When the server re-boots, it becomes PASSIVE • ACTIVE / PASSIVE designation determined merely by request routing Copyright 2005 MySQL AB The World’s Most Popular Open Source Database 42
  • 43. Ease Of Use “Tackling the installation and setup of MySQL isn’t something that typically requires much effort, regardless of the platform. As an example, the engineers of Embarcadero Technologies recently compared the installation of an Oracle9i database on a new Red Hat Fedora Core machine with a MySQL 4.0.18 install on the same machine. With Oracle, it took over three hours to find and download all the necessary patches, configure the machine, and work through the installation. With MySQL, the engineers were finished with their installation and at a MySQL client prompt, ready to work, in seven minutes. After the installation, the setup and maintenance process is typically straightforward and simple. MySQL provides a number of sample configuration files that can quickly be used for different environments (small, large, etc.).” Data Lifecycle Management Series — Migrating to MySQL Embarcadero Technologies August 2004 Copyright 2005 MySQL AB The World’s Most Popular Open Source Database 43
  • 44. MySQL 5.1 – Alpha TBD • Row-based replication • Range, List, Hash and Sub partitioning • Full Text Search Enhancements • Join improvements • Disk-based Cluster tables • Replication support for Cluster • Internal Scheduler • Xpath (XML) Support • And more… Copyright 2005 MySQL AB The World’s Most Popular Open Source Database 44
  • 45. Local User Groups: http://dev.mysql.com/user-groups 2006 User Conference: http://www.mysqluc.com/ Questions? John Bradford jbradford@mysql.com Copyright 2005 MySQL AB The World’s Most Popular Open Source Database 45
  • 46. Copyright 2005 MySQL AB The World’s Most Popular Open Source Database 46

Editor's Notes

  1. MySQL Network corporate presentation Hide or unhide slides for customization
  2. headline
  3. Oracle and IBM are biggest evangelist for Linux and Redhat “ The market for RDBMS on Linux, meanwhile, is red-hot. While still a relatively small part of the overall RDBMS market, the Linux segment grew 118 percent in 2004, more than doubling from $300 million in 2003 to more than $650 million in 2004. Gartner found that Oracle has a growing lead over IBM in this subsection of the market, with growth of 155 percent. Oracle now controls 80.5 percent of the Linux RDBMS market, up from 69 percent a year ago. IBM, meanwhile, slipped in 2004, coming to rest at 16.5 percent of the market from year-ago figures of 28.4 percent of the market.” eWeek, May 2005
  4. Primary requirements of embedded databases include performance and reliability. eWeek ’s Database Benchmark Test, showed: MySQL has the best overall performance and scalability (matching Oracle) MySQL excelled in stability, ease of tuning, and connectivity MySQL offered the highest throughput (600 web pages/sec to 1,000 concurrent users)
  5. Speed: Heavy-duty benchmarking by our in-house Benchmark Team Commitment to never add bloat Reliability: All code must pass QA and approval processes Only MySQL developers have committ access Community testing during entire process Ease of use: Focus on making it easy for people to use MySQL in minutes Avoid complexity in architecture Graphical tools, complete documentation
  6. Forrester study Dec 31, 2004
  7. Note on Dual Licensing : The MySQL database is available at no cost for open source projects through an Open Source / Free Software General Public License (GPL), and is also available through a commercial license backed by MySQL. Under the commercial license option, companies can develop and distribute applications without opening their source code to the public. This “quid pro quo” solution benefits everyone. The open source GPL license has created a huge user community with millions of developers. The testing and feedback from this community continually improves the product. Since most corporations are neither willing nor able to publish their intellectual property, the commercial licensing option provides the benefits and support they need for a modest fee. Peer Review Leads to Better Software Reliability Reasoning, the leading provider of automated software inspection (ASI) services, announced the results of an independent study it conducted of MySQL -- the leading Open Source database. Reasoning's inspection study shows that the code quality of MySQL was six times better than that of comparable proprietary code. A key quality indicator is defect density, which is defined as the number of defects found per thousand lines of source code. "Reasoning's conclusion that the MySQL database software quality is significantly higher than proprietary code validates the Open Source development method, in which large communities of programmers 'battle test' the software. This process results in extremely reliable code," stated David Axmark, MySQL Co-founder and Vice President. "We appreciate the proactive effort that Reasoning undertook with its study to bring these findings to our attention. Their report enabled us to quickly correct and eliminate the few defects that were found, which is reflected in the next version of MySQL that will be released this week."
  8. Certified binaries are builds of MySQL that have gone through extra review, platform certification, and a rigorous QA process. In particular, our regression tests are performed on the certified platforms. Additionally, we use Klockwork and purify to analyze the code for security and defect analysis, giving you every confidence that a certified binary is the most stable software available from MySQL.
  9. Speed: Heavy-duty benchmarking by our in-house Benchmark Team Commitment to never add bloat Reliability: All code must pass QA and approval processes Only MySQL developers have committ access Community testing during entire process Ease of use: Focus on making it easy for people to use MySQL in minutes Avoid complexity in architecture Graphical tools, complete documentation
  10. Advanced users can also create their own custom storage engine (or contract MySQL to help). MyISAM Very easy administration: 3 files per table Very fast. No transactional overhead. Optional compressed read-only table format Architecture-independant data Fulltext and R-Tree indexes Table-level locking for UPDATEs InnoDB ACID support for 4 distinct transaction isolation levels Row-level locking with no lock escalation Tablespace & log based Crash recovery Online backup
  11. Advanced users can also create their own custom storage engine (or contract MySQL to help). MyISAM Very easy administration: 3 files per table Very fast. No transactional overhead. Optional compressed read-only table format Architecture-independant data Fulltext and R-Tree indexes Table-level locking for UPDATEs InnoDB ACID support for 4 distinct transaction isolation levels Row-level locking with no lock escalation Tablespace & log based Crash recovery Online backup
  12. The main purpose of this slide is to demonstrate: That MySQL supports two-phase commit and XA for distributed transaction processing That MySQL can either be a transaction manager or a resource manager. Any application can enlist MySQL into a transaction (MySQL is RM). But, MySQL can also execute a distributed transaction across two resource managers (say two InnoDB tables in different databases).
  13. A database clustering architecture, such as MySQL Cluster and Emic m/cluster, organize multiple MySQL servers to operate together as a unit to eliminate single points of failure. The servers communicate with one another to keep their systems synchronized and identical. All servers in a database cluster can handle read and write queries, providing an increased capacity for all types of requests while resisting individual server failures. A virtual IP or DNS round robin solution is used to have client applications load balance between different servers and to also detect individual server failures. The configuration and management of a database cluster is more complicated than a shared storage architecture or replication, but is the only non-disk mechanism to have multiple servers make the same database available in a transactionally safe way.
  14. Consider doing a separate full presentation on replication. Can white board Master-Master, Tree, Loop topologies. For more information on fault tolerance and the many architectures designed for MySQL, contact a MySQL Sales Engineer who can walk you through a detailed needs assessment. A needs assessment can be arranged by submitting the form located at www.mysql.com/company/contact/ . Select “MySQL Fault Tolerance Needs Assessment” in the Subject drop down list. A replication architecture, such as those offered with MySQL and GoldenGate Platform, is used to get rapid replication of data between machines to augment a backup strategy or to create additional repositories for read queries. Replication identifies some servers as masters and other servers as slaves. Slaves pull data from a master either synchronously or asynchronously. A master server ensures that slaves pull the correct data and tracks what data needs to be sent to which slaves. A slave may or may not be perfectly up-to-date, so it cannot be considered transactional. If an application is not sensitive to the freshness of data, a replication architecture can enable read requests to be load balanced across a large number of servers. Replication architectures can have slaves pulling from one root node master or can organize slaves in a different topology such as a tree-topology where parent nodes are master and children nodes are slaves.