SlideShare a Scribd company logo
1 of 19
Download to read offline
A QUICK TEST OF
  CASSANDRA
       &
   MARIADB
   By Julien Duponchelle / @jduponchelle
MARIADB
An enhanced, drop-in replacement for MySQL
Lead developer is Michael "Monty" Widenius, the founder of MySQL
PROJECT GOALS
“ The primary goal of Cassandra SE (Storage Engine) is data
      integration between the SQL and NoSQL world ”
PROJECT STATUS
Developed by MariaDB team
Working preview announced the 28 september 2012
Still in active development
CASSANDRA STORAGE ENGINE
A MariaDB storage Engine like InnoDB.
FEATURES
INSERT, DELETE, UPDATE
SELECT
Even join
CASSANDRA AS AN SQL DATABASE?
                          NO
“ Cassandra SE is rather a "window" from an SQL environment
                        into NoSQL. ”
        You should use Hadoop for analytics queries
          You should use InnoDB for transactions
USE CASES
Store user metrics
Simplify transition
EXAMPLE
clh CET KYPC maeoehpWT
 qs> RAE ESAE ywsmso IH
  ..
   .   srtg_ls ='ipetaey
        taeycas  SmlSrtg'
  ..
   .   ADsrtg_pin:elcto_atr=''
        N taeyotosrpiainfco  1;
clh UEmaeoehp
 qs> S ywsmso;
clhmaeoehp CET TBEmtis(
 qs:ywsmso> RAE AL erc
         .. i ui PIAYKY
         .   d ud RMR E,
         .. dt tmsap
         .   ae ietm,
         .. ue_dbgn,
         .   sri iit
         .. ultx
         .   r et
              );
MraB[nn)>CET DTBS maeoehp
 aiD (oe] RAE AAAE ywsmso;
QeyO,1rwafce (.4sc
 ur K  o fetd 00 e)

MraB[nn)>uemaeoehp
 aiD (oe] s ywsmso;
Dtbs cagd
 aaae hne

MraB[ywsmso] CET TBEues(
 aiD maeoehp> RAE AL sr
   -> i BGN PIAYKY
       d IIT RMR E,
   -> nm VRHR25)
       ae ACA(5);
QeyO,0rw afce (.5sc
 ur K   os fetd 00 e)

MraB[ywsmso] ISR IT uesVLE (,"uin) (,"ai";
 aiD maeoehp> NET NO sr AUS 1 jle", 2 mre)
QeyO,2rw afce (.0sc
 ur K  os fetd 00 e)
Rcrs 2 Dpiae:0 Wrig:0
 eod:  ulcts    anns
MraB[ywsmso] CET TBEmtis
 aiD maeoehp> RAE AL erc
   - (
    >
   -> i CA(6 PIAYKY
       d HR3) RMR E
   -> dt TMSAP
       ae IETM,
   -> ue_dBGN,
       sri IIT
   -> ulVRHR25
       r ACA(5)
   - )egn=asnr
    >  niecsada
   -> kypc='ywsmso'
       esae maeoehp
   -> clm_aiy'erc'
       ounfml=mtis;
MraB[ywsmso] ISR IT mtisVLE (UD) NW) 1 "hm";
 aiD maeoehp> NET NO erc AUS UI(, O(, , /oe)

MraB[ywsmso] SLC (aeue_dul FO mtis
 aiD maeoehp> EET dt,sri,r) RM erc;
+----------+----+---+
 --------------------
|dt
  ae         |ue_d|ul |
              sri  r
+----------+----+---+
 --------------------
|21-01 2:22 |
  021-0 02:6   1  |/oe|
                   hm
+----------+----+---+
 --------------------
1rwi st(.2sc
  o n e 00 e)
MraB[ywsmso] ISR IT mtisVLE (UD) NW) 2 "hm";
 aiD maeoehp> NET NO erc AUS UI(, O(, , /oe)
QeyO,1rwafce (.1sc
 ur K  o fetd 00 e)

MraB[ywsmso] ISR IT mtisVLE (UD) NW) 1 "by)
 aiD maeoehp> NET NO erc AUS UI(, O(, , /u";
QeyO,1rwafce (.0sc
 ur K  o fetd 00 e)
vgatmrabcsada~ clh
 arn@aid-asnr:$ qs
Cnetdt Ts Cutra lclot96.
 once o et lse t oahs:10
clh uemaeoehp;
 qs> s ywsmso

clhmaeoehp SLC (aeulue_d FO mtis
 qs:ywsmso> EET dt,r,sri) RM erc;
 dt
  ae           |ul |ue_d
                 r   sri
-------------+---+----
 ---------------------
 21-01 2:24+00|/oe|
  021-0 02:300   hm   2
 21-01 2:22+00|/oe|
  021-0 02:600   hm   1
 21-01 2:25+00| /u |
  021-0 02:400    by  1
MraB[ywsmso] SLC dt,r,ae
 aiD maeoehp> EET aeulnm
   - FO mtisues
    > RM erc,sr
   - WEEmtisue =uesi;
    > HR erc.sr    sr.d
+----------+---+----
 -------------------+
|dt
  ae          |ul |nm
                r    ae |
+----------+---+----
 -------------------+
|21-01 2:24 |/oe|mre |
  021-0 02:3    hm   ai
|21-01 2:22 |/oe|jle |
  021-0 02:6    hm   uin
|21-01 2:25 |/u |jle |
  021-0 02:4    by   uin
+----------+---+----
 -------------------+
3rw i st(.1sc
  os n e 00 e)
TRY IT AT HOME
A Vagrant Virtual Box image with:
 Ubuntu 12.04
 Apache Cassandra 1.1
 Prebuilt version of MariaDB 5.5.27
      http://bit.ly/SBzf3B
THE END
 BY JULIEN DUPONCHELLE
JULIEN@DUPONCHELLE.INFO
    @JDUPONCHELLE
        Hire me!

More Related Content

Similar to Cassandra & Maria DB

Refactoring to symfony components
Refactoring to symfony componentsRefactoring to symfony components
Refactoring to symfony components
Michael Peacock
 
Profiling of Oracle Function Calls
Profiling of Oracle Function CallsProfiling of Oracle Function Calls
Profiling of Oracle Function Calls
Enkitec
 
Performance Enhancements In Postgre Sql 8.4
Performance Enhancements In Postgre Sql 8.4Performance Enhancements In Postgre Sql 8.4
Performance Enhancements In Postgre Sql 8.4
HighLoad2009
 
Oracle Closed World 2010: Graphing the AAS ala EM + doing some cool linear re...
Oracle Closed World 2010: Graphing the AAS ala EM + doing some cool linear re...Oracle Closed World 2010: Graphing the AAS ala EM + doing some cool linear re...
Oracle Closed World 2010: Graphing the AAS ala EM + doing some cool linear re...
Kristofferson A
 
අරුණ හේරත්_MYSQL සිංහල_TL_I_033__techlogiclk.com.pdf
අරුණ හේරත්_MYSQL සිංහල_TL_I_033__techlogiclk.com.pdfඅරුණ හේරත්_MYSQL සිංහල_TL_I_033__techlogiclk.com.pdf
අරුණ හේරත්_MYSQL සිංහල_TL_I_033__techlogiclk.com.pdf
AnilManage
 
GuidElectSafety_Quality OHL
GuidElectSafety_Quality OHLGuidElectSafety_Quality OHL
GuidElectSafety_Quality OHL
Balint Laszlo
 
Oracle OpenWorld 2010 - Consolidating Microsoft SQL Server Databases into an ...
Oracle OpenWorld 2010 - Consolidating Microsoft SQL Server Databases into an ...Oracle OpenWorld 2010 - Consolidating Microsoft SQL Server Databases into an ...
Oracle OpenWorld 2010 - Consolidating Microsoft SQL Server Databases into an ...
djkucera
 

Similar to Cassandra & Maria DB (20)

Refactoring to symfony components
Refactoring to symfony componentsRefactoring to symfony components
Refactoring to symfony components
 
One page app with AngularJS
One page app with AngularJSOne page app with AngularJS
One page app with AngularJS
 
Latin America Tour 2019 - 10 great sql features
Latin America Tour 2019  - 10 great sql featuresLatin America Tour 2019  - 10 great sql features
Latin America Tour 2019 - 10 great sql features
 
Profiling of Oracle Function Calls
Profiling of Oracle Function CallsProfiling of Oracle Function Calls
Profiling of Oracle Function Calls
 
OSMC 2008 | Monitoring MySQL by Geert Vanderkelen
OSMC 2008 | Monitoring MySQL by Geert VanderkelenOSMC 2008 | Monitoring MySQL by Geert Vanderkelen
OSMC 2008 | Monitoring MySQL by Geert Vanderkelen
 
PHP and MySQL Tips and tricks, DC 2007
PHP and MySQL Tips and tricks, DC 2007PHP and MySQL Tips and tricks, DC 2007
PHP and MySQL Tips and tricks, DC 2007
 
Tony jambu (obscure) tools of the trade for tuning oracle sq ls
Tony jambu   (obscure) tools of the trade for tuning oracle sq lsTony jambu   (obscure) tools of the trade for tuning oracle sq ls
Tony jambu (obscure) tools of the trade for tuning oracle sq ls
 
AWR DB performance Data Mining - Collaborate 2015
AWR DB performance Data Mining - Collaborate 2015AWR DB performance Data Mining - Collaborate 2015
AWR DB performance Data Mining - Collaborate 2015
 
Performance Enhancements In Postgre Sql 8.4
Performance Enhancements In Postgre Sql 8.4Performance Enhancements In Postgre Sql 8.4
Performance Enhancements In Postgre Sql 8.4
 
Raj mysql
Raj mysqlRaj mysql
Raj mysql
 
database application using SQL DML statements: all types of Join, Sub-Query ...
 database application using SQL DML statements: all types of Join, Sub-Query ... database application using SQL DML statements: all types of Join, Sub-Query ...
database application using SQL DML statements: all types of Join, Sub-Query ...
 
Pertumbuhan Asuransi Syariah copy.pdf
Pertumbuhan Asuransi Syariah copy.pdfPertumbuhan Asuransi Syariah copy.pdf
Pertumbuhan Asuransi Syariah copy.pdf
 
Java 8 - project lambda
Java 8 - project lambdaJava 8 - project lambda
Java 8 - project lambda
 
Oracle Closed World 2010: Graphing the AAS ala EM + doing some cool linear re...
Oracle Closed World 2010: Graphing the AAS ala EM + doing some cool linear re...Oracle Closed World 2010: Graphing the AAS ala EM + doing some cool linear re...
Oracle Closed World 2010: Graphing the AAS ala EM + doing some cool linear re...
 
SQL techniques for faster applications
SQL techniques for faster applicationsSQL techniques for faster applications
SQL techniques for faster applications
 
අරුණ හේරත්_MYSQL සිංහල_TL_I_033__techlogiclk.com.pdf
අරුණ හේරත්_MYSQL සිංහල_TL_I_033__techlogiclk.com.pdfඅරුණ හේරත්_MYSQL සිංහල_TL_I_033__techlogiclk.com.pdf
අරුණ හේරත්_MYSQL සිංහල_TL_I_033__techlogiclk.com.pdf
 
GuidElectSafety_Quality OHL
GuidElectSafety_Quality OHLGuidElectSafety_Quality OHL
GuidElectSafety_Quality OHL
 
OTN tour 2015 AWR data mining
OTN tour 2015 AWR data miningOTN tour 2015 AWR data mining
OTN tour 2015 AWR data mining
 
Oracle OpenWorld 2010 - Consolidating Microsoft SQL Server Databases into an ...
Oracle OpenWorld 2010 - Consolidating Microsoft SQL Server Databases into an ...Oracle OpenWorld 2010 - Consolidating Microsoft SQL Server Databases into an ...
Oracle OpenWorld 2010 - Consolidating Microsoft SQL Server Databases into an ...
 
iphone app development
iphone app developmentiphone app development
iphone app development
 

Recently uploaded

Recently uploaded (20)

Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 

Cassandra & Maria DB

  • 1. A QUICK TEST OF CASSANDRA & MARIADB By Julien Duponchelle / @jduponchelle
  • 2. MARIADB An enhanced, drop-in replacement for MySQL Lead developer is Michael "Monty" Widenius, the founder of MySQL
  • 3. PROJECT GOALS “ The primary goal of Cassandra SE (Storage Engine) is data integration between the SQL and NoSQL world ”
  • 4. PROJECT STATUS Developed by MariaDB team Working preview announced the 28 september 2012 Still in active development
  • 5. CASSANDRA STORAGE ENGINE A MariaDB storage Engine like InnoDB.
  • 7. CASSANDRA AS AN SQL DATABASE? NO “ Cassandra SE is rather a "window" from an SQL environment into NoSQL. ” You should use Hadoop for analytics queries You should use InnoDB for transactions
  • 8. USE CASES Store user metrics Simplify transition
  • 10. clh CET KYPC maeoehpWT qs> RAE ESAE ywsmso IH .. . srtg_ls ='ipetaey taeycas SmlSrtg' .. . ADsrtg_pin:elcto_atr='' N taeyotosrpiainfco 1; clh UEmaeoehp qs> S ywsmso;
  • 11. clhmaeoehp CET TBEmtis( qs:ywsmso> RAE AL erc .. i ui PIAYKY . d ud RMR E, .. dt tmsap . ae ietm, .. ue_dbgn, . sri iit .. ultx . r et );
  • 12. MraB[nn)>CET DTBS maeoehp aiD (oe] RAE AAAE ywsmso; QeyO,1rwafce (.4sc ur K o fetd 00 e) MraB[nn)>uemaeoehp aiD (oe] s ywsmso; Dtbs cagd aaae hne MraB[ywsmso] CET TBEues( aiD maeoehp> RAE AL sr -> i BGN PIAYKY d IIT RMR E, -> nm VRHR25) ae ACA(5); QeyO,0rw afce (.5sc ur K os fetd 00 e) MraB[ywsmso] ISR IT uesVLE (,"uin) (,"ai"; aiD maeoehp> NET NO sr AUS 1 jle", 2 mre) QeyO,2rw afce (.0sc ur K os fetd 00 e) Rcrs 2 Dpiae:0 Wrig:0 eod: ulcts anns
  • 13. MraB[ywsmso] CET TBEmtis aiD maeoehp> RAE AL erc - ( > -> i CA(6 PIAYKY d HR3) RMR E -> dt TMSAP ae IETM, -> ue_dBGN, sri IIT -> ulVRHR25 r ACA(5) - )egn=asnr > niecsada -> kypc='ywsmso' esae maeoehp -> clm_aiy'erc' ounfml=mtis;
  • 14. MraB[ywsmso] ISR IT mtisVLE (UD) NW) 1 "hm"; aiD maeoehp> NET NO erc AUS UI(, O(, , /oe) MraB[ywsmso] SLC (aeue_dul FO mtis aiD maeoehp> EET dt,sri,r) RM erc; +----------+----+---+ -------------------- |dt ae |ue_d|ul | sri r +----------+----+---+ -------------------- |21-01 2:22 | 021-0 02:6 1 |/oe| hm +----------+----+---+ -------------------- 1rwi st(.2sc o n e 00 e)
  • 15. MraB[ywsmso] ISR IT mtisVLE (UD) NW) 2 "hm"; aiD maeoehp> NET NO erc AUS UI(, O(, , /oe) QeyO,1rwafce (.1sc ur K o fetd 00 e) MraB[ywsmso] ISR IT mtisVLE (UD) NW) 1 "by) aiD maeoehp> NET NO erc AUS UI(, O(, , /u"; QeyO,1rwafce (.0sc ur K o fetd 00 e)
  • 16. vgatmrabcsada~ clh arn@aid-asnr:$ qs Cnetdt Ts Cutra lclot96. once o et lse t oahs:10 clh uemaeoehp; qs> s ywsmso clhmaeoehp SLC (aeulue_d FO mtis qs:ywsmso> EET dt,r,sri) RM erc; dt ae |ul |ue_d r sri -------------+---+---- --------------------- 21-01 2:24+00|/oe| 021-0 02:300 hm 2 21-01 2:22+00|/oe| 021-0 02:600 hm 1 21-01 2:25+00| /u | 021-0 02:400 by 1
  • 17. MraB[ywsmso] SLC dt,r,ae aiD maeoehp> EET aeulnm - FO mtisues > RM erc,sr - WEEmtisue =uesi; > HR erc.sr sr.d +----------+---+---- -------------------+ |dt ae |ul |nm r ae | +----------+---+---- -------------------+ |21-01 2:24 |/oe|mre | 021-0 02:3 hm ai |21-01 2:22 |/oe|jle | 021-0 02:6 hm uin |21-01 2:25 |/u |jle | 021-0 02:4 by uin +----------+---+---- -------------------+ 3rw i st(.1sc os n e 00 e)
  • 18. TRY IT AT HOME A Vagrant Virtual Box image with: Ubuntu 12.04 Apache Cassandra 1.1 Prebuilt version of MariaDB 5.5.27 http://bit.ly/SBzf3B
  • 19. THE END BY JULIEN DUPONCHELLE JULIEN@DUPONCHELLE.INFO @JDUPONCHELLE Hire me!