SlideShare a Scribd company logo
1 of 18
Download to read offline
MySQL's NoSQL with SQL โ€“ 
Best of Both Worlds 
โž”Dave Stokes 
โž” MySQL Community Manager 
โž” David.Stokes@oracle.com @Stoker 
Copyright ยฉ 2013, Oracle and/or its affiliates. 1 All rights reserved.
Safe Harbor Statement 
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 
decision. The development, release, and timing of any features or 
functionality described for Oracleโ€™s products remains at the sole 
discretion of Oracle. 
Copyright ยฉ 2014, Oracle and/or its affiliates. 2 All rights reserved.
MySQL Releases since 2010 
โ€ข Enterprise Monitor 2.2, 2.3 
โ€ข Cluster 7.1, 7.2, 7.3 
โ€ข Cluster Manager 1, 1.1, 1.3 
โ€ข Workbench 5.2, 6, 6.1 
โ€ข Database 5.5, 5.6, DMR 5.7 
โ€ข Backup 3.5, 3.7, 3.1 
โ€ข Oracle VM for MySQL 
โ€ข Oracle Product Certifications 
โ€ข Windows Installer 
โ€ข Utilities 1.0.6 
โ€ข Audit 
โ€ข Fabric (RC) 
Copyright ยฉ 2014, Oracle and/or its affiliates. 3 All rights reserved. 
โ— More Developers 
โ— More QA 
โ— More Support 
โ— Making $$ 
โ— Classes popular 
โ€“ Instructor lead 
โ€“ Self-paced 
โ— We're hiring!
MySQL 5.6 GA 19 Months Ago โ€“ Best GA Ever 
โ— Performance 
โ€“ Scales to 48 CPU threads 
โ€“ Up to 230% faster than 5.5 
Copyright ยฉ 2014, Oracle and/or its affiliates. 4 All rights reserved. 
โ— Faster Optimizer 
โ€“ Performance 
โ€“ Diagnostics 
โ€“ Better Instrumentation 
โ— Improved Replication 
โ— NoSQL 
โ€“ Fast โ€“ 9x 
โ€“ Key/value, ACID 
โ— InnoDB 
โ€“ Better Transactional 
throughput
MySQL Architecture 
Copyright ยฉ 2014, Oracle and/or its affiliates. 5 All rights reserved.
Bypassing Syntax Check and Optimizer 9x Faster 
Copyright ยฉ 2014, Oracle and/or its affiliates. 6 All rights reserved.
Handler Socket DeNA circa 2010 
โ— Bypasses Optimizer & Parser 
โ— Very Fast 
โ— Limited Security 
โ— Not ACID 
โ— 750,000 accesses second 
Copyright ยฉ 2014, Oracle and/or its affiliates. 7 All rights reserved.
Memcached w/InnoDB โ€“ a better way 
โ— Runs in same process space, fast โ€“1,140,000 accesses/second 
โ— Data can be structure or unstructured 
โ— InnoDB handles composing/decomposing data as part of multi 
column support which cuts string handling in your application 
โ— Crash safe and consistent data 
โ— Can tune data passing between InnoDB/Memecached, transaction 
levels, lock metadata (no DDL while in use) 
โ— Can password protect Memcached via SASL 
Copyright ยฉ 2014, Oracle and/or its affiliates. 8 All rights reserved.
Installation 
โ— sudo apt-get install libevent-dev libmemcached-tools 
โ— Memcached.so (already in 5.6/7) 
โ€“ my.cnf 
โ— plugin-load=libmemcached.so 
โ€“ Or after boot 
โ— mysql> install plugin daemon_memcached soname 
"libmemcached.so"; 
โ— Check your ulimit (Look for failed to set rlimit for open files in logs) 
Copyright ยฉ 2014, Oracle and/or its affiliates. 9 All rights reserved.
Installation continues 
โ— Set up configuration tables 
โ€“ innodb_memcached_config.sql 
โ— Creates innodb_memcached schema 
โ€“ cache_policies 
โ€“ config_options 
โ€“ Containers 
โ— Test example 
Copyright ยฉ 2014, Oracle and/or its affiliates. 10 All rights reserved.
Test from Memcached side 
โ— telnet 127.0.0.1 11211 
โ— set a11 10 0 9 
โ— 123456789 
โ— STORED 
โ— get a11 
โ— VALUE a11 0 9 
โ— 123456789 
โ— END 
โ— quit 
Copyright ยฉ 2014, Oracle and/or its affiliates. 11 All rights reserved. 
The arguments to set are 
โ€“ a11 is the key 
โ€“ 10 is the flag to use 
โ€“ 0 is the TTL 
โ€“ 9 is the length of the string to 
store 
โ€“ 123456789 is the string to 
store
Test from SQL side 
c1 c2 c3 c4 c6 
a11 123456789 10 3 0 
Data is available through both Memcached & SQL at the same 
time 
Copyright ยฉ 2014, Oracle and/or its affiliates. 12 All rights reserved.
Options you can set 
โ— Separator and table_map_delimiter (config_options) 
โ— Policies (cache_policies) 
โ€“ Use memcached, InnoDB (or NDB) for data store 
โ— Name, schema, table name, key columns, value columns, flags, 
cas_column, expiration, index to use on key 
Copyright ยฉ 2014, Oracle and/or its affiliates. 13 All rights reserved.
Slide to check if audience is still awake 
Copyright ยฉ 2013, Oracle and/or its affiliates. 14 All rights reserved.
Best uses 
โ— Persistent Memcached layer 
โ— Speed 
โ€“ Drinking or Filling fire hose 
โ— Simple applications, APIs 
โ— When you don't want to pay for servers/disks for NoSQL only 
Copyright ยฉ 2013, Oracle and/or its affiliates. 15 All rights reserved.
Learn More 
ยง mysql.com 
- MySQL Products, Editions, Training, Consulting 
- TCO calculator 
- Customer use cases and success stories 
ยง dev.mysql.com 
- Downloads, Documentation 
- Forums 
- Planet.MySQL.com 
ยง eDelivery.oracle.com 
- Download and evaluate all MySQL products 
Copyright ยฉ 2013, Oracle and/or its affiliates. 16 All rights reserved.
MySQL Central @ Open World 
โœ” Part of Oracle Open World 
โœ” Learn from the best 
โœ” MySQL Engineers 
โœ” Customers 
โœ” Weekday event 
Copyright ยฉ 2013, Oracle and/or its affiliates. 17 All rights reserved.
Q&A 
David.Stokes@Oracle.com 
@stoker 
slideshare.net/davestokes 
Copyright ยฉ 2013, Oracle and/or its affiliates. 18 All rights reserved.

More Related Content

What's hot

MySQL NoSQL APIs
MySQL NoSQL APIsMySQL NoSQL APIs
MySQL NoSQL APIs
Morgan Tocker
ย 
My sql 5.7-upcoming-changes-v2
My sql 5.7-upcoming-changes-v2My sql 5.7-upcoming-changes-v2
My sql 5.7-upcoming-changes-v2
Morgan Tocker
ย 
MySQL: From Single Instance to Big Data
MySQL: From Single Instance to Big DataMySQL: From Single Instance to Big Data
MySQL: From Single Instance to Big Data
Morgan Tocker
ย 
Mysql 57-upcoming-changes
Mysql 57-upcoming-changesMysql 57-upcoming-changes
Mysql 57-upcoming-changes
Morgan Tocker
ย 

What's hot (20)

MySQL Query Tuning for the Squeemish -- Fossetcon Orlando Sep 2014
MySQL Query Tuning for the Squeemish -- Fossetcon Orlando Sep 2014MySQL Query Tuning for the Squeemish -- Fossetcon Orlando Sep 2014
MySQL Query Tuning for the Squeemish -- Fossetcon Orlando Sep 2014
ย 
MySQL NoSQL APIs
MySQL NoSQL APIsMySQL NoSQL APIs
MySQL NoSQL APIs
ย 
My sql 5.7-upcoming-changes-v2
My sql 5.7-upcoming-changes-v2My sql 5.7-upcoming-changes-v2
My sql 5.7-upcoming-changes-v2
ย 
MySQL Performance Best Practices
MySQL Performance Best PracticesMySQL Performance Best Practices
MySQL Performance Best Practices
ย 
New awesome features in MySQL 5.7
New awesome features in MySQL 5.7New awesome features in MySQL 5.7
New awesome features in MySQL 5.7
ย 
MySQL 5.7 in a Nutshell
MySQL 5.7 in a NutshellMySQL 5.7 in a Nutshell
MySQL 5.7 in a Nutshell
ย 
Ohio Linux Fest -- MySQL's NoSQL
Ohio Linux Fest -- MySQL's NoSQLOhio Linux Fest -- MySQL's NoSQL
Ohio Linux Fest -- MySQL's NoSQL
ย 
MySQL 5.7 NEW FEATURES, BETTER PERFORMANCE, AND THINGS THAT WILL BREAK -- Mid...
MySQL 5.7 NEW FEATURES, BETTER PERFORMANCE, AND THINGS THAT WILL BREAK -- Mid...MySQL 5.7 NEW FEATURES, BETTER PERFORMANCE, AND THINGS THAT WILL BREAK -- Mid...
MySQL 5.7 NEW FEATURES, BETTER PERFORMANCE, AND THINGS THAT WILL BREAK -- Mid...
ย 
MySQL Enterprise Backup - BnR Scenarios
MySQL Enterprise Backup - BnR ScenariosMySQL Enterprise Backup - BnR Scenarios
MySQL Enterprise Backup - BnR Scenarios
ย 
MySQL Utilities -- PyTexas 2015
MySQL Utilities -- PyTexas 2015MySQL Utilities -- PyTexas 2015
MySQL Utilities -- PyTexas 2015
ย 
MySQL: From Single Instance to Big Data
MySQL: From Single Instance to Big DataMySQL: From Single Instance to Big Data
MySQL: From Single Instance to Big Data
ย 
MySQL Performance Metrics that Matter
MySQL Performance Metrics that MatterMySQL Performance Metrics that Matter
MySQL Performance Metrics that Matter
ย 
MySQL Cloud Service Deep Dive
MySQL Cloud Service Deep DiveMySQL Cloud Service Deep Dive
MySQL Cloud Service Deep Dive
ย 
MySQL Server Defaults
MySQL Server DefaultsMySQL Server Defaults
MySQL Server Defaults
ย 
MySQL For Oracle DBA's and Developers
MySQL For Oracle DBA's and DevelopersMySQL For Oracle DBA's and Developers
MySQL For Oracle DBA's and Developers
ย 
MySQL's NoSQL -- Texas Linuxfest August 22nd 2015
MySQL's NoSQL  -- Texas Linuxfest August 22nd 2015MySQL's NoSQL  -- Texas Linuxfest August 22nd 2015
MySQL's NoSQL -- Texas Linuxfest August 22nd 2015
ย 
Perf Tuning Short
Perf Tuning ShortPerf Tuning Short
Perf Tuning Short
ย 
Mysql 57-upcoming-changes
Mysql 57-upcoming-changesMysql 57-upcoming-changes
Mysql 57-upcoming-changes
ย 
PNWPHP -- What are Databases so &#%-ing Difficult
PNWPHP -- What are Databases so &#%-ing DifficultPNWPHP -- What are Databases so &#%-ing Difficult
PNWPHP -- What are Databases so &#%-ing Difficult
ย 
MySQL Monitoring 101
MySQL Monitoring 101MySQL Monitoring 101
MySQL Monitoring 101
ย 

Similar to MySql's NoSQL -- best of both worlds on the same disks

01 demystifying mysq-lfororacledbaanddeveloperv1
01 demystifying mysq-lfororacledbaanddeveloperv101 demystifying mysq-lfororacledbaanddeveloperv1
01 demystifying mysq-lfororacledbaanddeveloperv1
Ivan Ma
ย 
[B34] MySQLๆœ€ๆ–ฐใƒญใƒผใƒ‰ใƒžใƒƒใƒ— โ€“ MySQL 5.7ใจใใฎๅ…ˆใธ by Ryusuke Kajiyama
[B34] MySQLๆœ€ๆ–ฐใƒญใƒผใƒ‰ใƒžใƒƒใƒ— โ€“ MySQL 5.7ใจใใฎๅ…ˆใธ by Ryusuke Kajiyama[B34] MySQLๆœ€ๆ–ฐใƒญใƒผใƒ‰ใƒžใƒƒใƒ— โ€“ MySQL 5.7ใจใใฎๅ…ˆใธ by Ryusuke Kajiyama
[B34] MySQLๆœ€ๆ–ฐใƒญใƒผใƒ‰ใƒžใƒƒใƒ— โ€“ MySQL 5.7ใจใใฎๅ…ˆใธ by Ryusuke Kajiyama
Insight Technology, 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 Features
Tarique Saleem
ย 

Similar to MySql's NoSQL -- best of both worlds on the same disks (20)

01 demystifying mysq-lfororacledbaanddeveloperv1
01 demystifying mysq-lfororacledbaanddeveloperv101 demystifying mysq-lfororacledbaanddeveloperv1
01 demystifying mysq-lfororacledbaanddeveloperv1
ย 
MySQL Manchester TT - Performance Tuning
MySQL Manchester TT  - Performance TuningMySQL Manchester TT  - Performance Tuning
MySQL Manchester TT - Performance Tuning
ย 
New Not Your Father's Enterprise Manager
New Not Your Father's Enterprise ManagerNew Not Your Father's Enterprise Manager
New Not Your Father's Enterprise Manager
ย 
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
ย 
MySQL Webinar 2/4 Performance tuning, hardware, optimisation
MySQL Webinar 2/4 Performance tuning, hardware, optimisationMySQL Webinar 2/4 Performance tuning, hardware, optimisation
MySQL Webinar 2/4 Performance tuning, hardware, optimisation
ย 
MySQL Tech Tour 2015 - Manage & Tune
MySQL Tech Tour 2015 - Manage & TuneMySQL Tech Tour 2015 - Manage & Tune
MySQL Tech Tour 2015 - Manage & Tune
ย 
Oracle EM12c Release 4 New Features!
Oracle EM12c Release 4 New Features!Oracle EM12c Release 4 New Features!
Oracle EM12c Release 4 New Features!
ย 
State of the Dolphin, at db tech showcase Osaka 2014
State of the Dolphin, at db tech showcase Osaka 2014State of the Dolphin, at db tech showcase Osaka 2014
State of the Dolphin, at db tech showcase Osaka 2014
ย 
[B34] MySQLๆœ€ๆ–ฐใƒญใƒผใƒ‰ใƒžใƒƒใƒ— โ€“ MySQL 5.7ใจใใฎๅ…ˆใธ by Ryusuke Kajiyama
[B34] MySQLๆœ€ๆ–ฐใƒญใƒผใƒ‰ใƒžใƒƒใƒ— โ€“ MySQL 5.7ใจใใฎๅ…ˆใธ by Ryusuke Kajiyama[B34] MySQLๆœ€ๆ–ฐใƒญใƒผใƒ‰ใƒžใƒƒใƒ— โ€“ MySQL 5.7ใจใใฎๅ…ˆใธ by Ryusuke Kajiyama
[B34] MySQLๆœ€ๆ–ฐใƒญใƒผใƒ‰ใƒžใƒƒใƒ— โ€“ MySQL 5.7ใจใใฎๅ…ˆใธ by Ryusuke Kajiyama
ย 
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
ย 
My sql cluster case study apr16
My sql cluster case study apr16My sql cluster case study apr16
My sql cluster case study apr16
ย 
My sql fabric webinar v1.1
My sql fabric webinar v1.1My sql fabric webinar v1.1
My sql fabric webinar v1.1
ย 
Kscope Not Your Father's Enterprise Manager
Kscope Not Your Father's Enterprise ManagerKscope Not Your Father's Enterprise Manager
Kscope Not Your Father's Enterprise Manager
ย 
50-Tips-for-Boosting-MySQL-Performance-CON2655.pdf
50-Tips-for-Boosting-MySQL-Performance-CON2655.pdf50-Tips-for-Boosting-MySQL-Performance-CON2655.pdf
50-Tips-for-Boosting-MySQL-Performance-CON2655.pdf
ย 
MySQL 5.7: What's New, Nov. 2015
MySQL 5.7: What's New, Nov. 2015MySQL 5.7: What's New, Nov. 2015
MySQL 5.7: What's New, Nov. 2015
ย 
Simplify IT: Oracle SuperCluster
Simplify IT: Oracle SuperCluster Simplify IT: Oracle SuperCluster
Simplify IT: Oracle SuperCluster
ย 
Zero to Manageability in 60 Minutes: Building a Solid Foundation for Oracle E...
Zero to Manageability in 60 Minutes: Building a Solid Foundation for Oracle E...Zero to Manageability in 60 Minutes: Building a Solid Foundation for Oracle E...
Zero to Manageability in 60 Minutes: Building a Solid Foundation for Oracle E...
ย 
20150110 my sql-performanceschema
20150110 my sql-performanceschema20150110 my sql-performanceschema
20150110 my sql-performanceschema
ย 
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015 2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015
ย 

More from Dave Stokes

More from Dave Stokes (20)

Json within a relational database
Json within a relational databaseJson within a relational database
Json within a relational database
ย 
Database basics for new-ish developers -- All Things Open October 18th 2021
Database basics for new-ish developers  -- All Things Open October 18th 2021Database basics for new-ish developers  -- All Things Open October 18th 2021
Database basics for new-ish developers -- All Things Open October 18th 2021
ย 
Php & my sql - how do pdo, mysq-li, and x devapi do what they do
Php & my sql  - how do pdo, mysq-li, and x devapi do what they doPhp & my sql  - how do pdo, mysq-li, and x devapi do what they do
Php & my sql - how do pdo, mysq-li, and x devapi do what they do
ย 
Longhorn PHP - MySQL Indexes, Histograms, Locking Options, and Other Ways to ...
Longhorn PHP - MySQL Indexes, Histograms, Locking Options, and Other Ways to ...Longhorn PHP - MySQL Indexes, Histograms, Locking Options, and Other Ways to ...
Longhorn PHP - MySQL Indexes, Histograms, Locking Options, and Other Ways to ...
ย 
MySQL 8.0 New Features -- September 27th presentation for Open Source Summit
MySQL 8.0 New Features -- September 27th presentation for Open Source SummitMySQL 8.0 New Features -- September 27th presentation for Open Source Summit
MySQL 8.0 New Features -- September 27th presentation for Open Source Summit
ย 
JavaScript and Friends August 20th, 20201 -- MySQL Shell and JavaScript
JavaScript and Friends August 20th, 20201 -- MySQL Shell and JavaScriptJavaScript and Friends August 20th, 20201 -- MySQL Shell and JavaScript
JavaScript and Friends August 20th, 20201 -- MySQL Shell and JavaScript
ย 
Open Source World June '21 -- JSON Within a Relational Database
Open Source World June '21 -- JSON Within a Relational DatabaseOpen Source World June '21 -- JSON Within a Relational Database
Open Source World June '21 -- JSON Within a Relational Database
ย 
Dutch PHP Conference 2021 - MySQL Indexes and Histograms
Dutch PHP Conference 2021 - MySQL Indexes and HistogramsDutch PHP Conference 2021 - MySQL Indexes and Histograms
Dutch PHP Conference 2021 - MySQL Indexes and Histograms
ย 
Validating JSON -- Percona Live 2021 presentation
Validating JSON -- Percona Live 2021 presentationValidating JSON -- Percona Live 2021 presentation
Validating JSON -- Percona Live 2021 presentation
ย 
Midwest PHP Presentation - New MSQL Features
Midwest PHP Presentation - New MSQL FeaturesMidwest PHP Presentation - New MSQL Features
Midwest PHP Presentation - New MSQL Features
ย 
Data Love Conference - Window Functions for Database Analytics
Data Love Conference - Window Functions for Database AnalyticsData Love Conference - Window Functions for Database Analytics
Data Love Conference - Window Functions for Database Analytics
ย 
Open Source 1010 and Quest InSync presentations March 30th, 2021 on MySQL Ind...
Open Source 1010 and Quest InSync presentations March 30th, 2021 on MySQL Ind...Open Source 1010 and Quest InSync presentations March 30th, 2021 on MySQL Ind...
Open Source 1010 and Quest InSync presentations March 30th, 2021 on MySQL Ind...
ย 
Confoo 2021 -- MySQL New Features
Confoo 2021 -- MySQL New FeaturesConfoo 2021 -- MySQL New Features
Confoo 2021 -- MySQL New Features
ย 
Confoo 2021 - MySQL Indexes & Histograms
Confoo 2021 - MySQL Indexes & HistogramsConfoo 2021 - MySQL Indexes & Histograms
Confoo 2021 - MySQL Indexes & Histograms
ย 
Datacon LA - MySQL without the SQL - Oh my!
Datacon LA - MySQL without the SQL - Oh my! Datacon LA - MySQL without the SQL - Oh my!
Datacon LA - MySQL without the SQL - Oh my!
ย 
MySQL Replication Update - DEbconf 2020 presentation
MySQL Replication Update - DEbconf 2020 presentationMySQL Replication Update - DEbconf 2020 presentation
MySQL Replication Update - DEbconf 2020 presentation
ย 
MySQL 8.0 Operational Changes
MySQL 8.0 Operational ChangesMySQL 8.0 Operational Changes
MySQL 8.0 Operational Changes
ย 
cPanel now supports MySQL 8.0 - My Top Seven Features
cPanel now supports MySQL 8.0 - My Top Seven FeaturescPanel now supports MySQL 8.0 - My Top Seven Features
cPanel now supports MySQL 8.0 - My Top Seven Features
ย 
A Step by Step Introduction to the MySQL Document Store
A Step by Step Introduction to the MySQL Document StoreA Step by Step Introduction to the MySQL Document Store
A Step by Step Introduction to the MySQL Document Store
ย 
Discover The Power of NoSQL + MySQL with MySQL
Discover The Power of NoSQL + MySQL with MySQLDiscover The Power of NoSQL + MySQL with MySQL
Discover The Power of NoSQL + MySQL with MySQL
ย 

Recently uploaded

Lucknow โคCALL GIRL 88759*99948 โคCALL GIRLS IN Lucknow ESCORT SERVICEโคCALL GIRL
Lucknow โคCALL GIRL 88759*99948 โคCALL GIRLS IN Lucknow ESCORT SERVICEโคCALL GIRLLucknow โคCALL GIRL 88759*99948 โคCALL GIRLS IN Lucknow ESCORT SERVICEโคCALL GIRL
Lucknow โคCALL GIRL 88759*99948 โคCALL GIRLS IN Lucknow ESCORT SERVICEโคCALL GIRL
imonikaupta
ย 
Call Girls in Prashant Vihar, Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
Call Girls in Prashant Vihar, Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort ServiceCall Girls in Prashant Vihar, Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
Call Girls in Prashant Vihar, Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
ย 
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
SUHANI PANDEY
ย 
Wadgaon Sheri $ Call Girls Pune 10k @ I'm VIP Independent Escorts Girls 80057...
Wadgaon Sheri $ Call Girls Pune 10k @ I'm VIP Independent Escorts Girls 80057...Wadgaon Sheri $ Call Girls Pune 10k @ I'm VIP Independent Escorts Girls 80057...
Wadgaon Sheri $ Call Girls Pune 10k @ I'm VIP Independent Escorts Girls 80057...
SUHANI PANDEY
ย 
๐Ÿ’š๐Ÿ˜‹ Salem Escort Service Call Girls, 9352852248 โ‚น5000 To 25K With AC๐Ÿ’š๐Ÿ˜‹
๐Ÿ’š๐Ÿ˜‹ Salem Escort Service Call Girls, 9352852248 โ‚น5000 To 25K With AC๐Ÿ’š๐Ÿ˜‹๐Ÿ’š๐Ÿ˜‹ Salem Escort Service Call Girls, 9352852248 โ‚น5000 To 25K With AC๐Ÿ’š๐Ÿ˜‹
๐Ÿ’š๐Ÿ˜‹ Salem Escort Service Call Girls, 9352852248 โ‚น5000 To 25K With AC๐Ÿ’š๐Ÿ˜‹
nirzagarg
ย 
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
ย 
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
SUHANI PANDEY
ย 
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
SUHANI PANDEY
ย 
Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...
Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...
Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...
SUHANI PANDEY
ย 
Low Sexy Call Girls In Mohali 9053900678 ๐ŸฅตHave Save And Good Place ๐Ÿฅต
Low Sexy Call Girls In Mohali 9053900678 ๐ŸฅตHave Save And Good Place ๐ŸฅตLow Sexy Call Girls In Mohali 9053900678 ๐ŸฅตHave Save And Good Place ๐Ÿฅต
Low Sexy Call Girls In Mohali 9053900678 ๐ŸฅตHave Save And Good Place ๐Ÿฅต
Chandigarh Call girls 9053900678 Call girls in Chandigarh
ย 

Recently uploaded (20)

๐“€คCall On 7877925207 ๐“€ค Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
๐“€คCall On 7877925207 ๐“€ค Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...๐“€คCall On 7877925207 ๐“€ค Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
๐“€คCall On 7877925207 ๐“€ค Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
ย 
Katraj ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For S...
Katraj ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For S...Katraj ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For S...
Katraj ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For S...
ย 
Lucknow โคCALL GIRL 88759*99948 โคCALL GIRLS IN Lucknow ESCORT SERVICEโคCALL GIRL
Lucknow โคCALL GIRL 88759*99948 โคCALL GIRLS IN Lucknow ESCORT SERVICEโคCALL GIRLLucknow โคCALL GIRL 88759*99948 โคCALL GIRLS IN Lucknow ESCORT SERVICEโคCALL GIRL
Lucknow โคCALL GIRL 88759*99948 โคCALL GIRLS IN Lucknow ESCORT SERVICEโคCALL GIRL
ย 
Hireโ† Young Call Girls in Tilak nagar (Delhi) โ˜Ž๏ธ 9205541914 โ˜Ž๏ธ Independent Esc...
Hireโ† Young Call Girls in Tilak nagar (Delhi) โ˜Ž๏ธ 9205541914 โ˜Ž๏ธ Independent Esc...Hireโ† Young Call Girls in Tilak nagar (Delhi) โ˜Ž๏ธ 9205541914 โ˜Ž๏ธ Independent Esc...
Hireโ† Young Call Girls in Tilak nagar (Delhi) โ˜Ž๏ธ 9205541914 โ˜Ž๏ธ Independent Esc...
ย 
Call Girls in Prashant Vihar, Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
Call Girls in Prashant Vihar, Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort ServiceCall Girls in Prashant Vihar, Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
Call Girls in Prashant Vihar, Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
ย 
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
ย 
Wadgaon Sheri $ Call Girls Pune 10k @ I'm VIP Independent Escorts Girls 80057...
Wadgaon Sheri $ Call Girls Pune 10k @ I'm VIP Independent Escorts Girls 80057...Wadgaon Sheri $ Call Girls Pune 10k @ I'm VIP Independent Escorts Girls 80057...
Wadgaon Sheri $ Call Girls Pune 10k @ I'm VIP Independent Escorts Girls 80057...
ย 
๐Ÿ’š๐Ÿ˜‹ Salem Escort Service Call Girls, 9352852248 โ‚น5000 To 25K With AC๐Ÿ’š๐Ÿ˜‹
๐Ÿ’š๐Ÿ˜‹ Salem Escort Service Call Girls, 9352852248 โ‚น5000 To 25K With AC๐Ÿ’š๐Ÿ˜‹๐Ÿ’š๐Ÿ˜‹ Salem Escort Service Call Girls, 9352852248 โ‚น5000 To 25K With AC๐Ÿ’š๐Ÿ˜‹
๐Ÿ’š๐Ÿ˜‹ Salem Escort Service Call Girls, 9352852248 โ‚น5000 To 25K With AC๐Ÿ’š๐Ÿ˜‹
ย 
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
ย 
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
ย 
Real Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtReal Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirt
ย 
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service AvailableCall Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
ย 
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls DubaiDubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
ย 
Busty DesiโšกCall Girls in Vasundhara Ghaziabad >เผ’8448380779 Escort Service
Busty DesiโšกCall Girls in Vasundhara Ghaziabad >เผ’8448380779 Escort ServiceBusty DesiโšกCall Girls in Vasundhara Ghaziabad >เผ’8448380779 Escort Service
Busty DesiโšกCall Girls in Vasundhara Ghaziabad >เผ’8448380779 Escort Service
ย 
20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf20240508 QFM014 Elixir Reading List April 2024.pdf
20240508 QFM014 Elixir Reading List April 2024.pdf
ย 
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
ย 
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...
ย 
Trump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts SweatshirtTrump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts Sweatshirt
ย 
Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...
Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...
Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...
ย 
Low Sexy Call Girls In Mohali 9053900678 ๐ŸฅตHave Save And Good Place ๐Ÿฅต
Low Sexy Call Girls In Mohali 9053900678 ๐ŸฅตHave Save And Good Place ๐ŸฅตLow Sexy Call Girls In Mohali 9053900678 ๐ŸฅตHave Save And Good Place ๐Ÿฅต
Low Sexy Call Girls In Mohali 9053900678 ๐ŸฅตHave Save And Good Place ๐Ÿฅต
ย 

MySql's NoSQL -- best of both worlds on the same disks

  • 1. MySQL's NoSQL with SQL โ€“ Best of Both Worlds โž”Dave Stokes โž” MySQL Community Manager โž” David.Stokes@oracle.com @Stoker Copyright ยฉ 2013, Oracle and/or its affiliates. 1 All rights reserved.
  • 2. Safe Harbor Statement 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 decision. The development, release, and timing of any features or functionality described for Oracleโ€™s products remains at the sole discretion of Oracle. Copyright ยฉ 2014, Oracle and/or its affiliates. 2 All rights reserved.
  • 3. MySQL Releases since 2010 โ€ข Enterprise Monitor 2.2, 2.3 โ€ข Cluster 7.1, 7.2, 7.3 โ€ข Cluster Manager 1, 1.1, 1.3 โ€ข Workbench 5.2, 6, 6.1 โ€ข Database 5.5, 5.6, DMR 5.7 โ€ข Backup 3.5, 3.7, 3.1 โ€ข Oracle VM for MySQL โ€ข Oracle Product Certifications โ€ข Windows Installer โ€ข Utilities 1.0.6 โ€ข Audit โ€ข Fabric (RC) Copyright ยฉ 2014, Oracle and/or its affiliates. 3 All rights reserved. โ— More Developers โ— More QA โ— More Support โ— Making $$ โ— Classes popular โ€“ Instructor lead โ€“ Self-paced โ— We're hiring!
  • 4. MySQL 5.6 GA 19 Months Ago โ€“ Best GA Ever โ— Performance โ€“ Scales to 48 CPU threads โ€“ Up to 230% faster than 5.5 Copyright ยฉ 2014, Oracle and/or its affiliates. 4 All rights reserved. โ— Faster Optimizer โ€“ Performance โ€“ Diagnostics โ€“ Better Instrumentation โ— Improved Replication โ— NoSQL โ€“ Fast โ€“ 9x โ€“ Key/value, ACID โ— InnoDB โ€“ Better Transactional throughput
  • 5. MySQL Architecture Copyright ยฉ 2014, Oracle and/or its affiliates. 5 All rights reserved.
  • 6. Bypassing Syntax Check and Optimizer 9x Faster Copyright ยฉ 2014, Oracle and/or its affiliates. 6 All rights reserved.
  • 7. Handler Socket DeNA circa 2010 โ— Bypasses Optimizer & Parser โ— Very Fast โ— Limited Security โ— Not ACID โ— 750,000 accesses second Copyright ยฉ 2014, Oracle and/or its affiliates. 7 All rights reserved.
  • 8. Memcached w/InnoDB โ€“ a better way โ— Runs in same process space, fast โ€“1,140,000 accesses/second โ— Data can be structure or unstructured โ— InnoDB handles composing/decomposing data as part of multi column support which cuts string handling in your application โ— Crash safe and consistent data โ— Can tune data passing between InnoDB/Memecached, transaction levels, lock metadata (no DDL while in use) โ— Can password protect Memcached via SASL Copyright ยฉ 2014, Oracle and/or its affiliates. 8 All rights reserved.
  • 9. Installation โ— sudo apt-get install libevent-dev libmemcached-tools โ— Memcached.so (already in 5.6/7) โ€“ my.cnf โ— plugin-load=libmemcached.so โ€“ Or after boot โ— mysql> install plugin daemon_memcached soname "libmemcached.so"; โ— Check your ulimit (Look for failed to set rlimit for open files in logs) Copyright ยฉ 2014, Oracle and/or its affiliates. 9 All rights reserved.
  • 10. Installation continues โ— Set up configuration tables โ€“ innodb_memcached_config.sql โ— Creates innodb_memcached schema โ€“ cache_policies โ€“ config_options โ€“ Containers โ— Test example Copyright ยฉ 2014, Oracle and/or its affiliates. 10 All rights reserved.
  • 11. Test from Memcached side โ— telnet 127.0.0.1 11211 โ— set a11 10 0 9 โ— 123456789 โ— STORED โ— get a11 โ— VALUE a11 0 9 โ— 123456789 โ— END โ— quit Copyright ยฉ 2014, Oracle and/or its affiliates. 11 All rights reserved. The arguments to set are โ€“ a11 is the key โ€“ 10 is the flag to use โ€“ 0 is the TTL โ€“ 9 is the length of the string to store โ€“ 123456789 is the string to store
  • 12. Test from SQL side c1 c2 c3 c4 c6 a11 123456789 10 3 0 Data is available through both Memcached & SQL at the same time Copyright ยฉ 2014, Oracle and/or its affiliates. 12 All rights reserved.
  • 13. Options you can set โ— Separator and table_map_delimiter (config_options) โ— Policies (cache_policies) โ€“ Use memcached, InnoDB (or NDB) for data store โ— Name, schema, table name, key columns, value columns, flags, cas_column, expiration, index to use on key Copyright ยฉ 2014, Oracle and/or its affiliates. 13 All rights reserved.
  • 14. Slide to check if audience is still awake Copyright ยฉ 2013, Oracle and/or its affiliates. 14 All rights reserved.
  • 15. Best uses โ— Persistent Memcached layer โ— Speed โ€“ Drinking or Filling fire hose โ— Simple applications, APIs โ— When you don't want to pay for servers/disks for NoSQL only Copyright ยฉ 2013, Oracle and/or its affiliates. 15 All rights reserved.
  • 16. Learn More ยง mysql.com - MySQL Products, Editions, Training, Consulting - TCO calculator - Customer use cases and success stories ยง dev.mysql.com - Downloads, Documentation - Forums - Planet.MySQL.com ยง eDelivery.oracle.com - Download and evaluate all MySQL products Copyright ยฉ 2013, Oracle and/or its affiliates. 16 All rights reserved.
  • 17. MySQL Central @ Open World โœ” Part of Oracle Open World โœ” Learn from the best โœ” MySQL Engineers โœ” Customers โœ” Weekday event Copyright ยฉ 2013, Oracle and/or its affiliates. 17 All rights reserved.
  • 18. Q&A David.Stokes@Oracle.com @stoker slideshare.net/davestokes Copyright ยฉ 2013, Oracle and/or its affiliates. 18 All rights reserved.