A QUICK TEST OF  CASSANDRA       &   MARIADB   By Julien Duponchelle / @jduponchelle
MARIADBAn enhanced, drop-in replacement for MySQLLead 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 STATUSDeveloped by MariaDB teamWorking preview announced the 28 september 2012Still in active development
CASSANDRA STORAGE ENGINEA MariaDB storage Engine like InnoDB.
FEATURESINSERT, DELETE, UPDATESELECTEven join
CASSANDRA AS AN SQL DATABASE?                          NO“ Cassandra SE is rather a "window" from an SQL environment      ...
USE CASESStore user metricsSimplify transition
EXAMPLE
clh CET KYPC maeoehpWT qs> RAE ESAE ywsmso IH  ..   .   srtg_ls =ipetaey        taeycas  SmlSrtg  ..   .   ADsrtg_pin:elct...
clhmaeoehp CET TBEmtis( qs:ywsmso> RAE AL erc         .. i ui PIAYKY         .   d ud RMR E,         .. dt tmsap         ....
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 ywsm...
MraB[ywsmso] CET TBEmtis aiD maeoehp> RAE AL erc   - (    >   -> i CA(6 PIAYKY       d HR3) RMR E   -> dt TMSAP       ae I...
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...
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...
vgatmrabcsada~ clh arn@aid-asnr:$ qsCnetdt Ts Cutra lclot96. once o et lse t oahs:10clh uemaeoehp; qs> s ywsmsoclhmaeoehp ...
MraB[ywsmso] SLC dt,r,ae aiD maeoehp> EET aeulnm   - FO mtisues    > RM erc,sr   - WEEmtisue =uesi;    > HR erc.sr    sr.d...
TRY IT AT HOMEA Vagrant Virtual Box image with: Ubuntu 12.04 Apache Cassandra 1.1 Prebuilt version of MariaDB 5.5.27      ...
THE END BY JULIEN DUPONCHELLEJULIEN@DUPONCHELLE.INFO    @JDUPONCHELLE        Hire me!
Upcoming SlideShare
Loading in …5
×

Cassandra & Maria DB

1,306 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,306
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
19
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Cassandra & Maria DB

  1. 1. A QUICK TEST OF CASSANDRA & MARIADB By Julien Duponchelle / @jduponchelle
  2. 2. MARIADBAn enhanced, drop-in replacement for MySQLLead developer is Michael "Monty" Widenius, the founder of MySQL
  3. 3. PROJECT GOALS“ The primary goal of Cassandra SE (Storage Engine) is data integration between the SQL and NoSQL world ”
  4. 4. PROJECT STATUSDeveloped by MariaDB teamWorking preview announced the 28 september 2012Still in active development
  5. 5. CASSANDRA STORAGE ENGINEA MariaDB storage Engine like InnoDB.
  6. 6. FEATURESINSERT, DELETE, UPDATESELECTEven join
  7. 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. 8. USE CASESStore user metricsSimplify transition
  9. 9. EXAMPLE
  10. 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. 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. 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 hneMraB[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. 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_aiyerc ounfml=mtis;
  14. 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. 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. 16. vgatmrabcsada~ clh arn@aid-asnr:$ qsCnetdt Ts Cutra lclot96. once o et lse t oahs:10clh uemaeoehp; qs> s ywsmsoclhmaeoehp 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. 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. 18. TRY IT AT HOMEA Vagrant Virtual Box image with: Ubuntu 12.04 Apache Cassandra 1.1 Prebuilt version of MariaDB 5.5.27 http://bit.ly/SBzf3B
  19. 19. THE END BY JULIEN DUPONCHELLEJULIEN@DUPONCHELLE.INFO @JDUPONCHELLE Hire me!

×