Cassandra & Maria DB
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Cassandra & Maria DB

on

  • 1,331 views

 

Statistics

Views

Total Views
1,331
Views on SlideShare
1,331
Embed Views
0

Actions

Likes
0
Downloads
13
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Cassandra & Maria DB Presentation Transcript

  • 1. A QUICK TEST OF CASSANDRA & MARIADB By Julien Duponchelle / @jduponchelle
  • 2. MARIADBAn enhanced, drop-in replacement for MySQLLead 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 STATUSDeveloped by MariaDB teamWorking preview announced the 28 september 2012Still in active development
  • 5. CASSANDRA STORAGE ENGINEA MariaDB storage Engine like InnoDB.
  • 6. FEATURESINSERT, DELETE, UPDATESELECTEven join
  • 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 CASESStore user metricsSimplify transition
  • 9. EXAMPLE
  • 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 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. 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. 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:$ 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. 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 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. THE END BY JULIEN DUPONCHELLEJULIEN@DUPONCHELLE.INFO @JDUPONCHELLE Hire me!