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

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Recently uploaded (20)

presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
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
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
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
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
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
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
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...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 

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!