mysql vs nosql

12
SQL vs NoSQL Techmeetups LX - 05-03-2013 www.imaginarycloud.com Tiago Franco

Upload: tiago-franco

Post on 13-Jul-2015

2.133 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: MySQL vs NoSQL

SQL vs NoSQL

Techmeetups LX - 05-03-2013

www.imaginarycloud.com

Tiago Franco

Page 2: MySQL vs NoSQL

Tiago Franco – Imaginary Cloud

[email protected]

Twitter: @gamafranco

Facebook: tiago.franco3

© ImaginaryCloud 2012 Page 2

WTF?

Page 3: MySQL vs NoSQL

3

© ImaginaryCloud 2012 Page 3

SQL vs NoSQL

Page 4: MySQL vs NoSQL

© ImaginaryCloud 2012 Page 4

But Why????

Page 5: MySQL vs NoSQL

5

© ImaginaryCloud 2012 Page 5

• For the last decades Relational Databases (RDBMS) ruled the Data Stores

• Object Oriented Databases (OODBMS) were already here in 1985, when OOP started to rule

• RDBMS beat the OODBMS by far back in the 80’s

• SQL is the language used to interact with RDBMSs

SQL – some history

Page 6: MySQL vs NoSQL

© ImaginaryCloud 2012 Page 6

So why now?

Page 7: MySQL vs NoSQL

7

© ImaginaryCloud 2012 Page 7

• Moore’s law is out – we can’t double the horsepower every 18 months now

• Technology is cheap, servers are cheap, we can scale by adding more servers instead of more memory & more CPU

• We have more data then before, and ‘one size fits all’ is making less sense

• Bottom line: it was just a matter of time.

SQL – some history (2)

Page 8: MySQL vs NoSQL

© ImaginaryCloud 2012 Page 8

Show me the money!

Page 9: MySQL vs NoSQL

9

© ImaginaryCloud 2012 Page 9

Page 10: MySQL vs NoSQL

© ImaginaryCloud 2012 Page 10

So what & when?

Page 11: MySQL vs NoSQL

11

© ImaginaryCloud 2012 Page 11

• NoSQL is not ACID – remember this if data integrity is managed on the data store

• All SQL data-stores support stored procedures, but so some NoSQL data-stores

• NoSQL is easier to scale at start – architecture doesn’t need to be deeply designed in advance

• You can always migrate data-stores + effort costs!

• Don’t use one just because it’s cool!

SQL or NoSQL ?

Page 12: MySQL vs NoSQL

© ImaginaryCloud 2012 Page 12

SQL vs NoSQL

TechMeetpsLX

Tiago Franco – Imaginary Cloud

Twitter: @gamafrancoFacebook: tiago.franco3

[email protected]