SlideShare une entreprise Scribd logo
1  sur  48
Télécharger pour lire hors ligne
NoSQL Access to MySQL: The Best of Both Worlds
           Andrew Morgan – andrew.morgan@oracle.com – www.clusterdb.com
           MySQL Product Management
1          29th March 2012
    Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
The following 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.




2   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Session Agenda

    •  NoSQL – What are people looking for?
    •  RDBMS – What advantages do they still have?
    •  How MySQL Delivers the Best of Both Worlds
          –  MySQL Cluster
                   •  NoSQL attributes: Scale-out, performance, ease-of-use, schema
                      flexibility, on-line operations
                   •  NoSQL APIs
          –  Key-Value store access to InnoDB (Memcached)


3   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
NoSQL – Why is it needed?

                                                           2.1BN USERS
                                                8X DATA GROWTH IN 5 YRS                                   850M USERS   •  Web applications
                                        70+ NEW DOMAINS EVERY 60 SECONDS
                                                                                                                          demanding:
                                                                                                 20M APPS PER DAY
   40% DATA
 GROWTH PER YEAR
                                                                                                1 TR VIDEO
                                                                                                 PLAYBACKS
                                                                                                                         –  Development velocity:
                                                                                               $1TR BY 2014
                                                                                                                            Simplicity & flexibility of data
250m TWEETS
  PER DAY                                                                                    $700BN IN 2011                 model & APIs
                                                                                                                         –  Scalability & performance:
          5.9BN MOBILE SUBS IN 2010 (78%
          PENETRATION)
                                                                                                                            high write throughput and
          1 BILLION Ios & ANDROIDAPPS
          DOWNLOADED PER WEEK
                                                                                   370K CALL MINUTES
                                                                                       EVERY 60 SECONDS                     Key/Value access
                                                                                                                         –  Support for “Big Data”


      4     Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
What NoSQL must deliver

•  Massive scalability
  –  No application-level sharding
•  Performance                                                                Scalability	
  
•  High Availability/Fault Tolerance                                         Performance	
  
•  Ease of use                                                                      HA	
  
  –  Simple operations/administration
                                                                             Ease	
  of	
  use	
  
  –  Simple APIs
  –  Quickly evolve application & schema




  5   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Types of NoSQL stores

          Key-­‐Value	
                                                      Document	
           Graph	
  

• Cassandra	
                                                              • MongoDB	
      • Neo4J	
  
• Memcached	
                                                              • CouchDB	
      • FlockDB	
  
• BigTable	
  
• Hadoop	
  
• Voldermort	
  

6   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Still a role for the RDBMS?
                                                                                                              •  No best single solution fits all
                                                                                                              •  Mix and match
NoSQL	
                                                    RDBMS	
  

    Simple	
  access	
  paGerns	
                                 Complex	
  queries	
  with	
  joins	
                 Scalability	
  
                                                                                                                       Performance	
  
 Compromise	
  on	
  consistency	
  
                                                                           ACID	
  transacJons	
                               HA	
  
     for	
  performance	
  

                                                                                                                        Ease	
  of	
  use	
  
      Ad-­‐hoc	
  data	
  format	
                                     Well	
  defined	
  schemas	
  
                                                                                                                         SQL/Joins	
  
          Simple	
  operaJon	
                                               Rich	
  set	
  of	
  tools	
           ACID	
  Transac>ons	
  



      7    Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
MySQL Cluster introduction




8   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
MySQL Cluster Architecture


                                                                                 REST                                Scalability	
  
                                                            Application Nodes
                                                                                                                    Performance	
  
                                                                                                                            HA	
  
                           Node Group 1                                                 Node Group 2
                                                                                                                     Ease	
  of	
  use	
  
                           Node 1




                                                    F1                                            F2




                                                                                        Node 3
Cluster                                                                                                Cluster        SQL/Joins	
            "
Mgr                                                 F3                                            F4   Mgr
                                                                                                                 ACID	
  Transac>ons	
       "
                           Node 2




                                                                                        Node 4
                                                    F3                                            F4
                                                    F1                                            F2
                                                                       Data
                                                                       Nodes

      9   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
MySQL Cluster Architecture                                                                        http://clusterdb.com/u/demo




                                                                                 REST                                 Scalability	
  
                                                            Application Nodes
                                                                                                                     Performance	
  
                                                                                                                             HA	
             "
                           Node Group 1                                                 Node Group 2
                                                                                                                      Ease	
  of	
  use	
  
                           Node 1




                                                    F1                                            F2




                                                                                        Node 3
Cluster                                                                                                Cluster         SQL/Joins	
            "
Mgr                                                 F3                                            F4   Mgr
                                                                                                                  ACID	
  Transac>ons	
       "
                           Node 2




                                                                                        Node 4
                                                    F3                                            F4
                                                    F1                                            F2
                                                                       Data
                                                                       Nodes

     10   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Scale-Out: Auto-Partitioning

                              Table T1                                           Data Node 1



                                                                            P1   Data Node 2

                                                                            P2
                                                                            P3   Data Node 3

                                                                            P4
                                                                                 Data Node 4




11   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Scale-Out: Auto-Partitioning

                              Table T1                                           Data Node 1
                                                                                 F1


                                                                            P1   Data Node 2

                                                                            P2
                                                                            P3   Data Node 3

                                                                            P4
                                                                                 Data Node 4




12   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Scale-Out: Auto-Partitioning

                              Table T1                                           Data Node 1
                                                                                 F1


                                                                            P1   Data Node 2

                                                                            P2             F1


                                                                            P3   Data Node 3

                                                                            P4
                                                                                 Data Node 4




13   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Scale-Out: Auto-Partitioning

                              Table T1                                           Data Node 1
                                                                                 F1


                                                                            P1   Data Node 2

                                                                            P2   F3        F1


                                                                            P3   Data Node 3

                                                                            P4
                                                                                 Data Node 4




14   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Scale-Out: Auto-Partitioning

                              Table T1                                           Data Node 1
                                                                                 F1        F3


                                                                            P1   Data Node 2

                                                                            P2   F3        F1


                                                                            P3   Data Node 3

                                                                            P4
                                                                                 Data Node 4




15   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Scale-Out: Auto-Partitioning

                              Table T1                                           Data Node 1
                                                                                 F1        F3


                                                                            P1             Node Group 1
                                                                                 Data Node 2

                                                                            P2   F3        F1


                                                                            P3   Data Node 3
                                                                                 F2        F4
                                                                            P4
                                                                                           Node Group 2
                                                                                 Data Node 4
                                                                                 F4        F2



16   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Scale-Out: Auto-Partitioning

                              Table T1                                           Data Node 1
                                                                                 F1        F3


                                                                            P1             Node Group 1
                                                                                 Data Node 2

                                                                            P2   F3        F1


                                                                            P3   Data Node 3
                                                                                 F2        F4
                                                                            P4
                                                                                           Node Group 2
                                                                                 Data Node 4
                                                                                 F4        F2



17   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Scale-Out: Auto-Partitioning

                              Table T1
                                                                                     Scalability	
           "
                                                                            P1      Performance	
  

                                                                            P2              HA	
             "
                                                                                     Ease	
  of	
  use	
  
                                                                            P3        SQL/Joins	
            "
                                                                            P4   ACID	
  Transac>ons	
       "




18   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Scale-Out Reads & Writes on Commodity Hardware
                               SELECT Queries per Minute
           1,200
           1,000
                800
Millions




                600
                400
                200
                      0
                                           2                                4                             8
                                                      Number of Data Nodes
                                                                                                              •  8 x Commodity Intel Servers
                                     UPDATE Queries per Minute                                                  –  2 x 6-core processors 2.93GHz
                      150
                                                                                                                –  x5670 processors (24 threads)
                      100
                                                                                                                –  48GB RAM
           Millions




                          50                                                                                  •  Infiniband networking
                           0                                                                                  •  flexAsynch benchmark (NDB API)
                                                      4                                               8
                                                             Number of Data Nodes



                      19       Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
JOIN Performance                                                                                                                     70x
                                                                                                                                              More
                                                                                                                                          performance

              Query Execution Time Seconds
100                                                                                                   •  33K rows over 11 tables
 90
 80
                                                                                                      •  Must Analyze tables for best
 70                                                                                                      results
 60
 50
                                                                                                      mysql> ANALYZE TABLE <tab-name>;
 40
 30                                                                                                                     Scalability	
             "
 20
 10                                                                                                                    Performance	
              "
  0
                                                                                                                               HA	
               "
              MySQL Cluster 7.1                                                   MySQL Cluster 7.2
                                                                                                                        Ease	
  of	
  use	
  
                                                                                                                         SQL/Joins	
              "
                                                                                                                    ACID	
  Transac>ons	
         "

      20   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Creating & running your first Cluster
              The traditional way (pre-MCM) – Up and running in 15 mins




                        	
                                                           	
                                	
  
                        Download	
  &	
                                              Configure	
                        Start	
  processes	
  
                        Extract	
                                                    •  Cluster-­‐wide	
               •  Management	
  Nodes	
  
                        •  edelivery.oracle.com	
                                       “config.ini”	
                  •  Data	
  Nodes	
  
                        •  www.mysql.com	
                                           •  Per-­‐mysqld	
  “my.cnf”	
     •  MySQL	
  Servers	
  
                        •  dev.mysql.com	
  


•  Up & running in 10-15 minutes using Quick Start guides from http://dev.mysql.com/downloads/cluster/
    –    Versions for Linux, Windows & Solaris


         21   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Scalability	
          "
                                                                            Performance	
           "
                                                                                   HA	
             "
                                                                            Ease	
  of	
  use	
     "
                                                                             SQL/Joins	
            "
                                                                ACID	
  Transac>ons	
               "


22   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
MySQL Cluster Manager
     Bootstrap single host Cluster
     1.  Download MCM/Cluster package from edelivery.oracle.com:
     2.  Unzip
     3.  Run agent, define, create & start Cluster!
             $> binmcmd –bootstrap
             MySQL Cluster Manager 1.1.2 started
             Connect to MySQL Cluster Manager by running "D:AndrewDocumentsMySQLmcmbinmcm" -a NOVA:1862
             Configuring default cluster 'mycluster'...
             Starting default cluster 'mycluster'...
             Cluster 'mycluster' started successfully
              ndb_mgmd NOVA:1186
              ndbd NOVA
              ndbd NOVA
              mysqld NOVA:3306
              mysqld NOVA:3307
              ndbapi *
             Connect to the database by running "D:AndrewDocumentsMySQLmcmclusterbinmysql" -h NOVA -P 3306 -u root



23   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
MCM: Upgrade Cluster




                                                                            mysql> upgrade cluster
                                                                             --package=7.1 mycluster;




24   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
MCM: On-Line Add-Node
       Scale out with no loss of service




 mysql> add hosts --hosts=192.168.0.35,192.168.0.36 mysite;
 mysql> add package --basedir=/usr/local/mysql_7_1_9a –
hosts=192.168.0.35,192.168.0.36 7.1;
 mysql> add process --
processhosts=mysqld@192.168.0.33,mysqld@192.168.0.34,ndbd@192.
168.0.35,ndbd@192.168.0.36 mycluster;
 mysql> start process --added mycluster;

  25   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
On-line Schema changes
     On-Line Operations
     •  Scale the cluster (add & remove nodes on-line)
     •  Repartition tables
     •  Upgrade / patch servers & OS
     •  Upgrade / patch MySQL Cluster
     •  Back-Up
     •  Evolve the schema on-line, in real-time



26   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Scalability	
          "
                                                                            Performance	
           "
                                                                                   HA	
             "
                                                                            Ease	
  of	
  use	
     "
                                                                             SQL/Joins	
            "
                                                                ACID	
  Transac>ons	
               "


27   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
NoSQL Access to MySQL Cluster data




                                                                                    Mix & Match!
                                                                              Same data accessed
                                                                            simultaneously through
                                                                            SQL & NoSQL interfaces




28   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
MySQL Cluster 7.1: ClusterJ/JPA
                                                                            •  New Domain Object Model Persistence API (ClusterJ) :
                                                                               –  Java API
                                                                               –  High performance, low latency
                                                                               –  Feature rich
                                                                            •  JPA interface built upon this new Java layer:
                                                                               –  Java Persistence API compliant
                                                                                  •  Implemented as an OpenJPA plugin
                                                                               –  Uses ClusterJ where possible, reverts to JDBC for some
                                                                                  operations
                                                                               –  Higher performance than JDBC
                                                                               –  More natural for most Java designers
                                                                               –  Easier Cluster adoption for web applications




29   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
ClusterJ
•  High Performance, Easy to Use
•  In the style of Hibernate / JPA / JDO
•  Domain Object Model DataMapper pattern
      –  Data is represented as domain objects
      –  Domain objects are separate from business logic
      –  Domain objects are mapped to database tables
•  Built on ndbjtie
      –  JNI adapter
      –  integral part of MySQL Cluster
      –  Straight mapping of MySQL Cluster API (a.k.a NDB API) to Java
•  Does not support relationships
      –  Look at JDO / JPA for these modelling patterns

 30   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
NoSQL with Memcached (MySQL Cluster 7.2)
                                                                            •  Memcached is a distributed memory based hash-key/
                                                                               value store with no persistence to disk
                                                                            •  NoSQL, simple API, popular with developers
                                                                            •  MySQL Cluster already provides scalable, in-memory
                                                                               performance with NoSQL (hashed) access as well as
                                                                               persistence
                                                                              –  Provide the Memcached API but map to NDB API calls
                                                                            •  Writes-in-place, so no need to invalidate cache
                                                                            •  Simplifies architecture as caching & database integrated
                                                                               into 1 tier
                                                                            •  Access data from existing relational tables


31   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Traditional Memcached Architecture
      Two levels of hashing


      httpd                                                                  memcached

                                                                                          hash key
PHP/Perl                            ver                                      memcached
                           pick ser                                                      to find data
                    key to
Memcache       hash
       friends:12389!                                                        memcached
       memcache key




 32   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Cache hit


      httpd

                                                                     hash key
 PHP/Perl                       se rver        memcached
                                                                    to find data
                    ke yto pick
Memcache       hash
       friends:12389!         VALUE friends:12389 0 31rn!
                              101, 11009, 11150, 55881, 77798 rn!




 33   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Cache miss (1): fetch from DB


     httpd

                                                                                                 hash key
PHP/Perl                                                                    ver   memcached
                                                                                  memcache
                                                                   pick ser                     to find data
                                                            key to
Memcache                                               hash          FOUN
                                                                          D
                                                              NOT
     mysql
                                                SELECT
                                                       fri
                                                FROM u end_id !                               MySQL
                                                      ser_frien
                                                WHERE           ds !
                                                      user_id =                               Slave
                                                                 ?!

34   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Cache miss (2): manage cache


     httpd

                                                                                         hash key
PHP/Perl                                                                    memcached
                                                                                        to find data
Memcache                                               !        !
                                                31 rn 798 rn
                                       s:12389 5881, 77
                                  riend , 11150, 5
                             set f 009
                                   11
                              101,



35   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Data change (1): Write to DB


     httpd

PHP/Perl
     mysql
                                                     INSERT INTO user_friends !
                                                     (user_id, friend_id) !
                                                     VALUES ( 12389, 999101);!
     MySQL
     Master


36   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Data change (2): manage cache


     httpd

PHP/Perl                                                                                     memcached
     mysql                                                                           rn!
                                                                            s:1 2389
                                                                  te f riend
                                                    dele
     MySQL
     Master


37   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
NoSQL with Memcached




•  Flexible:                                                                       set maidenhead 0 0 3
                                                                                   SL6
  –     Deployment options
                                                                                       STORED
  –     Multiple Clusters
  –     Simultaneous SQL Access                                                    get maidenhead
  –     Can still cache in Memcached server                                           VALUE maidenhead 0 3
  –     Flat key-value store or map to multiple tables/                               SL6
        columns                                                                       END

       38   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Schema-Free apps
                                                                            •  Rapid application evolution
                                                                              –  New types of data constantly
                                                                                 added
                                                                              –  No time to get schema
                                                                                 extended
                                                                              –  Missing skills to extend
                                                                                 schema
                                                                              –  Initially roll out to just a few
                                                                                 users
                                                                              –  Constantly adding to live
                                                                                 system


39   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Cluster & Memcached – Schema-Free


                                                                                   key                value
                                                                    <town:maidenhead,SL6>
     Application view
     SQL view                                                                      key                 value

                                                                    <town:maidenhead,SL6>


                                                                                   Key	
          Value	
  
                                                                            town:maidenhead	
       SL6	
  
                                                                                    generic table

40   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Cluster & Memcached - Configured Schema


                                                                                       key          value
                                                                    <town:maidenhead,SL6>
     Application view
     SQL view                                                               prefix            key   value

                                                                    <town:maidenhead,SL6>

Prefix	
             Table	
                Key-­‐col	
   Val-­‐col	
             policy	
               town	
         ...	
     code	
     ...	
  
town:	
           map.zip	
                  town	
                  code	
     cluster	
            maidenhead	
      ...	
      SL6	
     ...	
  
                                    Config tables                                                                     map.zip

41   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Memcached with MySQL Cluster
     Try it out




     http://clusterdb.com/u/memcached



42   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Memcached NoSQL Access with InnoDB
                                                                                             •    Memcached as a plugin of MySQL Server;
                                                                                                  same process space, with very low latency
                               Application                                                        access to data
                                                                                             •    Memcapable: supports both memcached
                SQL                                      Memcached protocol
                                                                                                  ascii protocol and binary protocol
mysqld                                                                                       •    Support multiple columns: users can map
                                                                                                  multiple columns into “value”
                                                                 memcached plugin
        MySQL Server                                                                         •    Optional local caching: “innodb-only”,
                                                                               local cache
                                                                                                  “cache-only”, and “caching”
                                                            innodb_memcache
                                                                                (optional)
                                                                                             •    Batch operations for performance
                    Handler API                                  InnoDB API
                                                                                             •    Available from labs.mysql.com. Is not GA.

                 InnoDB Storage Engine


   43   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Which API to use?




44   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Scalability	
          "
                                                                            Performance	
           "
                                                                                   HA	
             "
                                                                            Ease	
  of	
  use	
     "
                                                                             SQL/Joins	
            "
                                                                ACID	
  Transac>ons	
               "


45   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Next Steps
     •  Guide to MySQL and NoSQL - Delivering the Best of
        Both Worlds
           –  http://mysql.com/why-mysql/white-papers/mysql-wp-guide-to-
              nosql.php
     •  Evaluate MySQL Cluster 7.2
           –  http://www.mysql.com/downloads/cluster/
     •  Bootstrap a Cluster
           –  https://edelivery.oracle.com/
     •  Try Memcached API for InnoDB
           –  http://labs.mysql.com/
46   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Summary

                              Today’s web workloads demand more from
                                            databases

                                      Performance, scale-out, simples access
                                                patterns & APIs

                                            MySQL meets these needs while still
                                           delivering benefits of an ACID RDBMS

47   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
MySQL Cluster 7.2 GA
        Enabling	
  Next	
  GeneraJon	
  Web	
  Services	
  
        •  70x	
  Higher	
  Complex	
  Query	
  Performance:	
  AdapJve	
  Query	
  LocalizaJon	
  
        •  NaJve	
  Memcached	
  API	
  
        •  MySQL	
  5.5	
  Server	
  IntegraJon	
  
        •  MulJ-­‐Threaded	
  Data	
  Node	
  Extensions	
  
        •  VM	
  Support	
  	
  

        Enhancing	
  Cross	
  Data	
  Center	
  Scalability	
  
        •  MulJ-­‐Site	
  Clustering	
  
        •  Simplified	
  AcJve	
  /	
  AcJve	
  ReplicaJon	
  

        Ease	
  of	
  Use	
  
        •  MySQL	
  Cluster	
  Manager	
  1.1.4	
  
        •  Consolidated	
  Privileges	
  

48   Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Contenu connexe

Tendances

Choosing a Next Gen Database: the New World Order of NoSQL, NewSQL, and MySQL
Choosing a Next Gen Database: the New World Order of NoSQL, NewSQL, and MySQLChoosing a Next Gen Database: the New World Order of NoSQL, NewSQL, and MySQL
Choosing a Next Gen Database: the New World Order of NoSQL, NewSQL, and MySQLScaleBase
 
MySQL Features & Implementation
MySQL Features & ImplementationMySQL Features & Implementation
MySQL Features & ImplementationOSSCube
 
MySQL NDB Cluster 8.0
MySQL NDB Cluster 8.0MySQL NDB Cluster 8.0
MySQL NDB Cluster 8.0Ted Wennmark
 
From Nice to Have to Mission Critical: MySQL Enterprise Edition
From Nice to Have to Mission Critical: MySQL Enterprise EditionFrom Nice to Have to Mission Critical: MySQL Enterprise Edition
From Nice to Have to Mission Critical: MySQL Enterprise Edition郁萍 王
 
Design Patterns for Distributed Non-Relational Databases
Design Patterns for Distributed Non-Relational DatabasesDesign Patterns for Distributed Non-Relational Databases
Design Patterns for Distributed Non-Relational Databasesguestdfd1ec
 
Cassandra nyc 2011 ilya maykov - ooyala - scaling video analytics with apac...
Cassandra nyc 2011   ilya maykov - ooyala - scaling video analytics with apac...Cassandra nyc 2011   ilya maykov - ooyala - scaling video analytics with apac...
Cassandra nyc 2011 ilya maykov - ooyala - scaling video analytics with apac...ivmaykov
 
MySQL enterprise backup overview
MySQL enterprise backup overviewMySQL enterprise backup overview
MySQL enterprise backup overview郁萍 王
 
Introduction of MariaDB AX / TX
Introduction of MariaDB AX / TXIntroduction of MariaDB AX / TX
Introduction of MariaDB AX / TXGOTO Satoru
 
DataStax C*ollege Credit: What and Why NoSQL?
DataStax C*ollege Credit: What and Why NoSQL?DataStax C*ollege Credit: What and Why NoSQL?
DataStax C*ollege Credit: What and Why NoSQL?DataStax
 
Clustrix Database Overview
Clustrix Database OverviewClustrix Database Overview
Clustrix Database OverviewClustrix
 
Trusted advisory on technology comparison --exadata, hana, db2
Trusted advisory on technology comparison --exadata, hana, db2Trusted advisory on technology comparison --exadata, hana, db2
Trusted advisory on technology comparison --exadata, hana, db2Ajay Kumar Uppal
 
C* Summit 2013: Searching for a Needle in a Big Data Haystack by Jason Ruther...
C* Summit 2013: Searching for a Needle in a Big Data Haystack by Jason Ruther...C* Summit 2013: Searching for a Needle in a Big Data Haystack by Jason Ruther...
C* Summit 2013: Searching for a Needle in a Big Data Haystack by Jason Ruther...DataStax Academy
 
MySQL InnoDB Cluster and NDB Cluster
MySQL InnoDB Cluster and NDB ClusterMySQL InnoDB Cluster and NDB Cluster
MySQL InnoDB Cluster and NDB ClusterMario Beck
 
VMworld 2013: Virtualizing Databases: Doing IT Right
VMworld 2013: Virtualizing Databases: Doing IT Right VMworld 2013: Virtualizing Databases: Doing IT Right
VMworld 2013: Virtualizing Databases: Doing IT Right VMworld
 
FOSDEM 2015 - NoSQL and SQL the best of both worlds
FOSDEM 2015 - NoSQL and SQL the best of both worldsFOSDEM 2015 - NoSQL and SQL the best of both worlds
FOSDEM 2015 - NoSQL and SQL the best of both worldsAndrew Morgan
 
The New MariaDB Offering: MariaDB 10, MaxScale and More
The New MariaDB Offering: MariaDB 10, MaxScale and MoreThe New MariaDB Offering: MariaDB 10, MaxScale and More
The New MariaDB Offering: MariaDB 10, MaxScale and MoreMariaDB Corporation
 
Oracle Exadata Version 2
Oracle Exadata Version 2Oracle Exadata Version 2
Oracle Exadata Version 2Jarod Wang
 
Avoiding.the.pitfallsof.oracle.migration.2013
Avoiding.the.pitfallsof.oracle.migration.2013Avoiding.the.pitfallsof.oracle.migration.2013
Avoiding.the.pitfallsof.oracle.migration.2013EDB
 

Tendances (20)

Choosing a Next Gen Database: the New World Order of NoSQL, NewSQL, and MySQL
Choosing a Next Gen Database: the New World Order of NoSQL, NewSQL, and MySQLChoosing a Next Gen Database: the New World Order of NoSQL, NewSQL, and MySQL
Choosing a Next Gen Database: the New World Order of NoSQL, NewSQL, and MySQL
 
MySQL Features & Implementation
MySQL Features & ImplementationMySQL Features & Implementation
MySQL Features & Implementation
 
MySQL NDB Cluster 8.0
MySQL NDB Cluster 8.0MySQL NDB Cluster 8.0
MySQL NDB Cluster 8.0
 
From Nice to Have to Mission Critical: MySQL Enterprise Edition
From Nice to Have to Mission Critical: MySQL Enterprise EditionFrom Nice to Have to Mission Critical: MySQL Enterprise Edition
From Nice to Have to Mission Critical: MySQL Enterprise Edition
 
Design Patterns for Distributed Non-Relational Databases
Design Patterns for Distributed Non-Relational DatabasesDesign Patterns for Distributed Non-Relational Databases
Design Patterns for Distributed Non-Relational Databases
 
Cassandra nyc 2011 ilya maykov - ooyala - scaling video analytics with apac...
Cassandra nyc 2011   ilya maykov - ooyala - scaling video analytics with apac...Cassandra nyc 2011   ilya maykov - ooyala - scaling video analytics with apac...
Cassandra nyc 2011 ilya maykov - ooyala - scaling video analytics with apac...
 
MySQL enterprise backup overview
MySQL enterprise backup overviewMySQL enterprise backup overview
MySQL enterprise backup overview
 
Introduction of MariaDB AX / TX
Introduction of MariaDB AX / TXIntroduction of MariaDB AX / TX
Introduction of MariaDB AX / TX
 
DataStax C*ollege Credit: What and Why NoSQL?
DataStax C*ollege Credit: What and Why NoSQL?DataStax C*ollege Credit: What and Why NoSQL?
DataStax C*ollege Credit: What and Why NoSQL?
 
Clustrix Database Overview
Clustrix Database OverviewClustrix Database Overview
Clustrix Database Overview
 
Trusted advisory on technology comparison --exadata, hana, db2
Trusted advisory on technology comparison --exadata, hana, db2Trusted advisory on technology comparison --exadata, hana, db2
Trusted advisory on technology comparison --exadata, hana, db2
 
C* Summit 2013: Searching for a Needle in a Big Data Haystack by Jason Ruther...
C* Summit 2013: Searching for a Needle in a Big Data Haystack by Jason Ruther...C* Summit 2013: Searching for a Needle in a Big Data Haystack by Jason Ruther...
C* Summit 2013: Searching for a Needle in a Big Data Haystack by Jason Ruther...
 
MySQL InnoDB Cluster and NDB Cluster
MySQL InnoDB Cluster and NDB ClusterMySQL InnoDB Cluster and NDB Cluster
MySQL InnoDB Cluster and NDB Cluster
 
MySQL HA
MySQL HAMySQL HA
MySQL HA
 
VMworld 2013: Virtualizing Databases: Doing IT Right
VMworld 2013: Virtualizing Databases: Doing IT Right VMworld 2013: Virtualizing Databases: Doing IT Right
VMworld 2013: Virtualizing Databases: Doing IT Right
 
FOSDEM 2015 - NoSQL and SQL the best of both worlds
FOSDEM 2015 - NoSQL and SQL the best of both worldsFOSDEM 2015 - NoSQL and SQL the best of both worlds
FOSDEM 2015 - NoSQL and SQL the best of both worlds
 
Galaxy Big Data with MariaDB
Galaxy Big Data with MariaDBGalaxy Big Data with MariaDB
Galaxy Big Data with MariaDB
 
The New MariaDB Offering: MariaDB 10, MaxScale and More
The New MariaDB Offering: MariaDB 10, MaxScale and MoreThe New MariaDB Offering: MariaDB 10, MaxScale and More
The New MariaDB Offering: MariaDB 10, MaxScale and More
 
Oracle Exadata Version 2
Oracle Exadata Version 2Oracle Exadata Version 2
Oracle Exadata Version 2
 
Avoiding.the.pitfallsof.oracle.migration.2013
Avoiding.the.pitfallsof.oracle.migration.2013Avoiding.the.pitfallsof.oracle.migration.2013
Avoiding.the.pitfallsof.oracle.migration.2013
 

Similaire à NoSQL and MySQL webinar - best of both worlds

MySQL Cluster 7.2 e 7.3 - por Andrew Morgan
MySQL Cluster 7.2 e 7.3 - por Andrew MorganMySQL Cluster 7.2 e 7.3 - por Andrew Morgan
MySQL Cluster 7.2 e 7.3 - por Andrew MorganMySQL Brasil
 
Developing high-throughput services with no sql ap-is to innodb and mysql clu...
Developing high-throughput services with no sql ap-is to innodb and mysql clu...Developing high-throughput services with no sql ap-is to innodb and mysql clu...
Developing high-throughput services with no sql ap-is to innodb and mysql clu...Andrew Morgan
 
MySQL HA Solutions
MySQL HA SolutionsMySQL HA Solutions
MySQL HA SolutionsMat Keep
 
Santo Leto - MySQL Connect 2012 - Getting Started with Mysql Cluster
Santo Leto - MySQL Connect 2012 - Getting Started with Mysql ClusterSanto Leto - MySQL Connect 2012 - Getting Started with Mysql Cluster
Santo Leto - MySQL Connect 2012 - Getting Started with Mysql ClusterSanto Leto
 
Learning from google megastore (Part-1)
Learning from google megastore (Part-1)Learning from google megastore (Part-1)
Learning from google megastore (Part-1)Schubert Zhang
 
DAT101 Understanding AWS Database Options - AWS re: Invent 2012
DAT101 Understanding AWS Database Options - AWS re: Invent 2012DAT101 Understanding AWS Database Options - AWS re: Invent 2012
DAT101 Understanding AWS Database Options - AWS re: Invent 2012Amazon Web Services
 
Big Data Paris : Hadoop and NoSQL
Big Data Paris : Hadoop and NoSQLBig Data Paris : Hadoop and NoSQL
Big Data Paris : Hadoop and NoSQLTugdual Grall
 
Oracle my sql cluster cge
Oracle my sql cluster cgeOracle my sql cluster cge
Oracle my sql cluster cgeseungdon1
 
My sql 5.5_product_update
My sql 5.5_product_updateMy sql 5.5_product_update
My sql 5.5_product_updatehenriquesidney
 
SQL and NoSQL in SQL Server
SQL and NoSQL in SQL ServerSQL and NoSQL in SQL Server
SQL and NoSQL in SQL ServerMichael Rys
 
Accelerating big data with ioMemory and Cisco UCS and NOSQL
Accelerating big data with ioMemory and Cisco UCS and NOSQLAccelerating big data with ioMemory and Cisco UCS and NOSQL
Accelerating big data with ioMemory and Cisco UCS and NOSQLSumeet Bansal
 
20140722 Taiwan MySQL User Group Meeting Tech Updates
20140722 Taiwan MySQL User Group Meeting Tech Updates20140722 Taiwan MySQL User Group Meeting Tech Updates
20140722 Taiwan MySQL User Group Meeting Tech UpdatesRyusuke Kajiyama
 
Future Proofing MySQL by Robert Hodges, Continuent
Future Proofing MySQL by Robert Hodges, ContinuentFuture Proofing MySQL by Robert Hodges, Continuent
Future Proofing MySQL by Robert Hodges, ContinuentEero Teerikorpi
 
Why Every NoSQL Deployment Should Be Paired with Hadoop Webinar
Why Every NoSQL Deployment Should Be Paired with Hadoop WebinarWhy Every NoSQL Deployment Should Be Paired with Hadoop Webinar
Why Every NoSQL Deployment Should Be Paired with Hadoop WebinarCloudera, Inc.
 
Mysql User Camp : 20th June - Mysql New Features
Mysql User Camp : 20th June - Mysql New FeaturesMysql User Camp : 20th June - Mysql New Features
Mysql User Camp : 20th June - Mysql New FeaturesTarique Saleem
 
Mysql User Camp : 20-June-14 : Mysql New features and NoSQL Support
 Mysql User Camp : 20-June-14 : Mysql New features and NoSQL Support Mysql User Camp : 20-June-14 : Mysql New features and NoSQL Support
Mysql User Camp : 20-June-14 : Mysql New features and NoSQL SupportMysql User Camp
 
MySQL Cluster performance best practices
MySQL Cluster performance best practicesMySQL Cluster performance best practices
MySQL Cluster performance best practicesMat Keep
 
Introduction to NuoDB - March 2018
Introduction to NuoDB - March 2018Introduction to NuoDB - March 2018
Introduction to NuoDB - March 2018NuoDB
 

Similaire à NoSQL and MySQL webinar - best of both worlds (20)

MySQL Cluster 7.2 e 7.3 - por Andrew Morgan
MySQL Cluster 7.2 e 7.3 - por Andrew MorganMySQL Cluster 7.2 e 7.3 - por Andrew Morgan
MySQL Cluster 7.2 e 7.3 - por Andrew Morgan
 
Developing high-throughput services with no sql ap-is to innodb and mysql clu...
Developing high-throughput services with no sql ap-is to innodb and mysql clu...Developing high-throughput services with no sql ap-is to innodb and mysql clu...
Developing high-throughput services with no sql ap-is to innodb and mysql clu...
 
MySQL HA Solutions
MySQL HA SolutionsMySQL HA Solutions
MySQL HA Solutions
 
Santo Leto - MySQL Connect 2012 - Getting Started with Mysql Cluster
Santo Leto - MySQL Connect 2012 - Getting Started with Mysql ClusterSanto Leto - MySQL Connect 2012 - Getting Started with Mysql Cluster
Santo Leto - MySQL Connect 2012 - Getting Started with Mysql Cluster
 
MySQL高可用
MySQL高可用MySQL高可用
MySQL高可用
 
Learning from google megastore (Part-1)
Learning from google megastore (Part-1)Learning from google megastore (Part-1)
Learning from google megastore (Part-1)
 
DAT101 Understanding AWS Database Options - AWS re: Invent 2012
DAT101 Understanding AWS Database Options - AWS re: Invent 2012DAT101 Understanding AWS Database Options - AWS re: Invent 2012
DAT101 Understanding AWS Database Options - AWS re: Invent 2012
 
Big Data Paris : Hadoop and NoSQL
Big Data Paris : Hadoop and NoSQLBig Data Paris : Hadoop and NoSQL
Big Data Paris : Hadoop and NoSQL
 
Oracle my sql cluster cge
Oracle my sql cluster cgeOracle my sql cluster cge
Oracle my sql cluster cge
 
My sql 5.5_product_update
My sql 5.5_product_updateMy sql 5.5_product_update
My sql 5.5_product_update
 
SQL and NoSQL in SQL Server
SQL and NoSQL in SQL ServerSQL and NoSQL in SQL Server
SQL and NoSQL in SQL Server
 
Accelerating big data with ioMemory and Cisco UCS and NOSQL
Accelerating big data with ioMemory and Cisco UCS and NOSQLAccelerating big data with ioMemory and Cisco UCS and NOSQL
Accelerating big data with ioMemory and Cisco UCS and NOSQL
 
20140722 Taiwan MySQL User Group Meeting Tech Updates
20140722 Taiwan MySQL User Group Meeting Tech Updates20140722 Taiwan MySQL User Group Meeting Tech Updates
20140722 Taiwan MySQL User Group Meeting Tech Updates
 
Future Proofing MySQL by Robert Hodges, Continuent
Future Proofing MySQL by Robert Hodges, ContinuentFuture Proofing MySQL by Robert Hodges, Continuent
Future Proofing MySQL by Robert Hodges, Continuent
 
Why Every NoSQL Deployment Should Be Paired with Hadoop Webinar
Why Every NoSQL Deployment Should Be Paired with Hadoop WebinarWhy Every NoSQL Deployment Should Be Paired with Hadoop Webinar
Why Every NoSQL Deployment Should Be Paired with Hadoop Webinar
 
NoSQL and MySQL
NoSQL and MySQLNoSQL and MySQL
NoSQL and MySQL
 
Mysql User Camp : 20th June - Mysql New Features
Mysql User Camp : 20th June - Mysql New FeaturesMysql User Camp : 20th June - Mysql New Features
Mysql User Camp : 20th June - Mysql New Features
 
Mysql User Camp : 20-June-14 : Mysql New features and NoSQL Support
 Mysql User Camp : 20-June-14 : Mysql New features and NoSQL Support Mysql User Camp : 20-June-14 : Mysql New features and NoSQL Support
Mysql User Camp : 20-June-14 : Mysql New features and NoSQL Support
 
MySQL Cluster performance best practices
MySQL Cluster performance best practicesMySQL Cluster performance best practices
MySQL Cluster performance best practices
 
Introduction to NuoDB - March 2018
Introduction to NuoDB - March 2018Introduction to NuoDB - March 2018
Introduction to NuoDB - March 2018
 

Plus de Mat Keep

Blockchain & the IoT
Blockchain & the IoTBlockchain & the IoT
Blockchain & the IoTMat Keep
 
10-Step Methodology to Building a Single View with MongoDB
10-Step Methodology to Building a Single View with MongoDB10-Step Methodology to Building a Single View with MongoDB
10-Step Methodology to Building a Single View with MongoDBMat Keep
 
MongoDB at Baidu
MongoDB at BaiduMongoDB at Baidu
MongoDB at BaiduMat Keep
 
MongoDB_Spark
MongoDB_SparkMongoDB_Spark
MongoDB_SparkMat Keep
 
Business of iot_mongodb_spark
Business of iot_mongodb_sparkBusiness of iot_mongodb_spark
Business of iot_mongodb_sparkMat Keep
 
Mongo db 2.6_security_architecture
Mongo db 2.6_security_architectureMongo db 2.6_security_architecture
Mongo db 2.6_security_architectureMat Keep
 
MySQL Cluster NoSQL Memcached API
MySQL Cluster NoSQL Memcached APIMySQL Cluster NoSQL Memcached API
MySQL Cluster NoSQL Memcached APIMat Keep
 

Plus de Mat Keep (7)

Blockchain & the IoT
Blockchain & the IoTBlockchain & the IoT
Blockchain & the IoT
 
10-Step Methodology to Building a Single View with MongoDB
10-Step Methodology to Building a Single View with MongoDB10-Step Methodology to Building a Single View with MongoDB
10-Step Methodology to Building a Single View with MongoDB
 
MongoDB at Baidu
MongoDB at BaiduMongoDB at Baidu
MongoDB at Baidu
 
MongoDB_Spark
MongoDB_SparkMongoDB_Spark
MongoDB_Spark
 
Business of iot_mongodb_spark
Business of iot_mongodb_sparkBusiness of iot_mongodb_spark
Business of iot_mongodb_spark
 
Mongo db 2.6_security_architecture
Mongo db 2.6_security_architectureMongo db 2.6_security_architecture
Mongo db 2.6_security_architecture
 
MySQL Cluster NoSQL Memcached API
MySQL Cluster NoSQL Memcached APIMySQL Cluster NoSQL Memcached API
MySQL Cluster NoSQL Memcached API
 

Dernier

Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 

Dernier (20)

Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 

NoSQL and MySQL webinar - best of both worlds

  • 1. NoSQL Access to MySQL: The Best of Both Worlds Andrew Morgan – andrew.morgan@oracle.com – www.clusterdb.com MySQL Product Management 1 29th March 2012 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 2. The following 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. 2 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 3. Session Agenda •  NoSQL – What are people looking for? •  RDBMS – What advantages do they still have? •  How MySQL Delivers the Best of Both Worlds –  MySQL Cluster •  NoSQL attributes: Scale-out, performance, ease-of-use, schema flexibility, on-line operations •  NoSQL APIs –  Key-Value store access to InnoDB (Memcached) 3 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 4. NoSQL – Why is it needed? 2.1BN USERS 8X DATA GROWTH IN 5 YRS 850M USERS •  Web applications 70+ NEW DOMAINS EVERY 60 SECONDS demanding: 20M APPS PER DAY 40% DATA GROWTH PER YEAR 1 TR VIDEO PLAYBACKS –  Development velocity: $1TR BY 2014 Simplicity & flexibility of data 250m TWEETS PER DAY $700BN IN 2011 model & APIs –  Scalability & performance: 5.9BN MOBILE SUBS IN 2010 (78% PENETRATION) high write throughput and 1 BILLION Ios & ANDROIDAPPS DOWNLOADED PER WEEK 370K CALL MINUTES EVERY 60 SECONDS Key/Value access –  Support for “Big Data” 4 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 5. What NoSQL must deliver •  Massive scalability –  No application-level sharding •  Performance Scalability   •  High Availability/Fault Tolerance Performance   •  Ease of use HA   –  Simple operations/administration Ease  of  use   –  Simple APIs –  Quickly evolve application & schema 5 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 6. Types of NoSQL stores Key-­‐Value   Document   Graph   • Cassandra   • MongoDB   • Neo4J   • Memcached   • CouchDB   • FlockDB   • BigTable   • Hadoop   • Voldermort   6 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 7. Still a role for the RDBMS? •  No best single solution fits all •  Mix and match NoSQL   RDBMS   Simple  access  paGerns   Complex  queries  with  joins   Scalability   Performance   Compromise  on  consistency   ACID  transacJons   HA   for  performance   Ease  of  use   Ad-­‐hoc  data  format   Well  defined  schemas   SQL/Joins   Simple  operaJon   Rich  set  of  tools   ACID  Transac>ons   7 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 8. MySQL Cluster introduction 8 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 9. MySQL Cluster Architecture REST Scalability   Application Nodes Performance   HA   Node Group 1 Node Group 2 Ease  of  use   Node 1 F1 F2 Node 3 Cluster Cluster SQL/Joins   " Mgr F3 F4 Mgr ACID  Transac>ons   " Node 2 Node 4 F3 F4 F1 F2 Data Nodes 9 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 10. MySQL Cluster Architecture http://clusterdb.com/u/demo REST Scalability   Application Nodes Performance   HA   " Node Group 1 Node Group 2 Ease  of  use   Node 1 F1 F2 Node 3 Cluster Cluster SQL/Joins   " Mgr F3 F4 Mgr ACID  Transac>ons   " Node 2 Node 4 F3 F4 F1 F2 Data Nodes 10 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 11. Scale-Out: Auto-Partitioning Table T1 Data Node 1 P1 Data Node 2 P2 P3 Data Node 3 P4 Data Node 4 11 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 12. Scale-Out: Auto-Partitioning Table T1 Data Node 1 F1 P1 Data Node 2 P2 P3 Data Node 3 P4 Data Node 4 12 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 13. Scale-Out: Auto-Partitioning Table T1 Data Node 1 F1 P1 Data Node 2 P2 F1 P3 Data Node 3 P4 Data Node 4 13 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 14. Scale-Out: Auto-Partitioning Table T1 Data Node 1 F1 P1 Data Node 2 P2 F3 F1 P3 Data Node 3 P4 Data Node 4 14 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 15. Scale-Out: Auto-Partitioning Table T1 Data Node 1 F1 F3 P1 Data Node 2 P2 F3 F1 P3 Data Node 3 P4 Data Node 4 15 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 16. Scale-Out: Auto-Partitioning Table T1 Data Node 1 F1 F3 P1 Node Group 1 Data Node 2 P2 F3 F1 P3 Data Node 3 F2 F4 P4 Node Group 2 Data Node 4 F4 F2 16 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 17. Scale-Out: Auto-Partitioning Table T1 Data Node 1 F1 F3 P1 Node Group 1 Data Node 2 P2 F3 F1 P3 Data Node 3 F2 F4 P4 Node Group 2 Data Node 4 F4 F2 17 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 18. Scale-Out: Auto-Partitioning Table T1 Scalability   " P1 Performance   P2 HA   " Ease  of  use   P3 SQL/Joins   " P4 ACID  Transac>ons   " 18 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 19. Scale-Out Reads & Writes on Commodity Hardware SELECT Queries per Minute 1,200 1,000 800 Millions 600 400 200 0 2 4 8 Number of Data Nodes •  8 x Commodity Intel Servers UPDATE Queries per Minute –  2 x 6-core processors 2.93GHz 150 –  x5670 processors (24 threads) 100 –  48GB RAM Millions 50 •  Infiniband networking 0 •  flexAsynch benchmark (NDB API) 4 8 Number of Data Nodes 19 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 20. JOIN Performance 70x More performance Query Execution Time Seconds 100 •  33K rows over 11 tables 90 80 •  Must Analyze tables for best 70 results 60 50 mysql> ANALYZE TABLE <tab-name>; 40 30 Scalability   " 20 10 Performance   " 0 HA   " MySQL Cluster 7.1 MySQL Cluster 7.2 Ease  of  use   SQL/Joins   " ACID  Transac>ons   " 20 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 21. Creating & running your first Cluster The traditional way (pre-MCM) – Up and running in 15 mins       Download  &   Configure   Start  processes   Extract   •  Cluster-­‐wide   •  Management  Nodes   •  edelivery.oracle.com   “config.ini”   •  Data  Nodes   •  www.mysql.com   •  Per-­‐mysqld  “my.cnf”   •  MySQL  Servers   •  dev.mysql.com   •  Up & running in 10-15 minutes using Quick Start guides from http://dev.mysql.com/downloads/cluster/ –  Versions for Linux, Windows & Solaris 21 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 22. Scalability   " Performance   " HA   " Ease  of  use   " SQL/Joins   " ACID  Transac>ons   " 22 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 23. MySQL Cluster Manager Bootstrap single host Cluster 1.  Download MCM/Cluster package from edelivery.oracle.com: 2.  Unzip 3.  Run agent, define, create & start Cluster! $> binmcmd –bootstrap MySQL Cluster Manager 1.1.2 started Connect to MySQL Cluster Manager by running "D:AndrewDocumentsMySQLmcmbinmcm" -a NOVA:1862 Configuring default cluster 'mycluster'... Starting default cluster 'mycluster'... Cluster 'mycluster' started successfully ndb_mgmd NOVA:1186 ndbd NOVA ndbd NOVA mysqld NOVA:3306 mysqld NOVA:3307 ndbapi * Connect to the database by running "D:AndrewDocumentsMySQLmcmclusterbinmysql" -h NOVA -P 3306 -u root 23 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 24. MCM: Upgrade Cluster mysql> upgrade cluster --package=7.1 mycluster; 24 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 25. MCM: On-Line Add-Node Scale out with no loss of service mysql> add hosts --hosts=192.168.0.35,192.168.0.36 mysite; mysql> add package --basedir=/usr/local/mysql_7_1_9a – hosts=192.168.0.35,192.168.0.36 7.1; mysql> add process -- processhosts=mysqld@192.168.0.33,mysqld@192.168.0.34,ndbd@192. 168.0.35,ndbd@192.168.0.36 mycluster; mysql> start process --added mycluster; 25 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 26. On-line Schema changes On-Line Operations •  Scale the cluster (add & remove nodes on-line) •  Repartition tables •  Upgrade / patch servers & OS •  Upgrade / patch MySQL Cluster •  Back-Up •  Evolve the schema on-line, in real-time 26 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 27. Scalability   " Performance   " HA   " Ease  of  use   " SQL/Joins   " ACID  Transac>ons   " 27 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 28. NoSQL Access to MySQL Cluster data Mix & Match! Same data accessed simultaneously through SQL & NoSQL interfaces 28 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 29. MySQL Cluster 7.1: ClusterJ/JPA •  New Domain Object Model Persistence API (ClusterJ) : –  Java API –  High performance, low latency –  Feature rich •  JPA interface built upon this new Java layer: –  Java Persistence API compliant •  Implemented as an OpenJPA plugin –  Uses ClusterJ where possible, reverts to JDBC for some operations –  Higher performance than JDBC –  More natural for most Java designers –  Easier Cluster adoption for web applications 29 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 30. ClusterJ •  High Performance, Easy to Use •  In the style of Hibernate / JPA / JDO •  Domain Object Model DataMapper pattern –  Data is represented as domain objects –  Domain objects are separate from business logic –  Domain objects are mapped to database tables •  Built on ndbjtie –  JNI adapter –  integral part of MySQL Cluster –  Straight mapping of MySQL Cluster API (a.k.a NDB API) to Java •  Does not support relationships –  Look at JDO / JPA for these modelling patterns 30 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 31. NoSQL with Memcached (MySQL Cluster 7.2) •  Memcached is a distributed memory based hash-key/ value store with no persistence to disk •  NoSQL, simple API, popular with developers •  MySQL Cluster already provides scalable, in-memory performance with NoSQL (hashed) access as well as persistence –  Provide the Memcached API but map to NDB API calls •  Writes-in-place, so no need to invalidate cache •  Simplifies architecture as caching & database integrated into 1 tier •  Access data from existing relational tables 31 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 32. Traditional Memcached Architecture Two levels of hashing httpd memcached hash key PHP/Perl ver memcached pick ser to find data key to Memcache hash friends:12389! memcached memcache key 32 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 33. Cache hit httpd hash key PHP/Perl se rver memcached to find data ke yto pick Memcache hash friends:12389! VALUE friends:12389 0 31rn! 101, 11009, 11150, 55881, 77798 rn! 33 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 34. Cache miss (1): fetch from DB httpd hash key PHP/Perl ver memcached memcache pick ser to find data key to Memcache hash FOUN D NOT mysql SELECT fri FROM u end_id ! MySQL ser_frien WHERE ds ! user_id = Slave ?! 34 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 35. Cache miss (2): manage cache httpd hash key PHP/Perl memcached to find data Memcache ! ! 31 rn 798 rn s:12389 5881, 77 riend , 11150, 5 set f 009 11 101, 35 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 36. Data change (1): Write to DB httpd PHP/Perl mysql INSERT INTO user_friends ! (user_id, friend_id) ! VALUES ( 12389, 999101);! MySQL Master 36 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 37. Data change (2): manage cache httpd PHP/Perl memcached mysql rn! s:1 2389 te f riend dele MySQL Master 37 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 38. NoSQL with Memcached •  Flexible: set maidenhead 0 0 3 SL6 –  Deployment options STORED –  Multiple Clusters –  Simultaneous SQL Access get maidenhead –  Can still cache in Memcached server VALUE maidenhead 0 3 –  Flat key-value store or map to multiple tables/ SL6 columns END 38 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 39. Schema-Free apps •  Rapid application evolution –  New types of data constantly added –  No time to get schema extended –  Missing skills to extend schema –  Initially roll out to just a few users –  Constantly adding to live system 39 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 40. Cluster & Memcached – Schema-Free key value <town:maidenhead,SL6> Application view SQL view key value <town:maidenhead,SL6> Key   Value   town:maidenhead   SL6   generic table 40 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 41. Cluster & Memcached - Configured Schema key value <town:maidenhead,SL6> Application view SQL view prefix key value <town:maidenhead,SL6> Prefix   Table   Key-­‐col   Val-­‐col   policy   town   ...   code   ...   town:   map.zip   town   code   cluster   maidenhead   ...   SL6   ...   Config tables map.zip 41 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 42. Memcached with MySQL Cluster Try it out http://clusterdb.com/u/memcached 42 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 43. Memcached NoSQL Access with InnoDB •  Memcached as a plugin of MySQL Server; same process space, with very low latency Application access to data •  Memcapable: supports both memcached SQL Memcached protocol ascii protocol and binary protocol mysqld •  Support multiple columns: users can map multiple columns into “value” memcached plugin MySQL Server •  Optional local caching: “innodb-only”, local cache “cache-only”, and “caching” innodb_memcache (optional) •  Batch operations for performance Handler API InnoDB API •  Available from labs.mysql.com. Is not GA. InnoDB Storage Engine 43 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 44. Which API to use? 44 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 45. Scalability   " Performance   " HA   " Ease  of  use   " SQL/Joins   " ACID  Transac>ons   " 45 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 46. Next Steps •  Guide to MySQL and NoSQL - Delivering the Best of Both Worlds –  http://mysql.com/why-mysql/white-papers/mysql-wp-guide-to- nosql.php •  Evaluate MySQL Cluster 7.2 –  http://www.mysql.com/downloads/cluster/ •  Bootstrap a Cluster –  https://edelivery.oracle.com/ •  Try Memcached API for InnoDB –  http://labs.mysql.com/ 46 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 47. Summary Today’s web workloads demand more from databases Performance, scale-out, simples access patterns & APIs MySQL meets these needs while still delivering benefits of an ACID RDBMS 47 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 48. MySQL Cluster 7.2 GA Enabling  Next  GeneraJon  Web  Services   •  70x  Higher  Complex  Query  Performance:  AdapJve  Query  LocalizaJon   •  NaJve  Memcached  API   •  MySQL  5.5  Server  IntegraJon   •  MulJ-­‐Threaded  Data  Node  Extensions   •  VM  Support     Enhancing  Cross  Data  Center  Scalability   •  MulJ-­‐Site  Clustering   •  Simplified  AcJve  /  AcJve  ReplicaJon   Ease  of  Use   •  MySQL  Cluster  Manager  1.1.4   •  Consolidated  Privileges   48 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.