mysql vs nosql

Post on 13-Jul-2015

2.136 Views

Category:

Documents

2 Downloads

Preview:

Click to see full reader

TRANSCRIPT

SQL vs NoSQL

Techmeetups LX - 05-03-2013

www.imaginarycloud.com

Tiago Franco

Tiago Franco – Imaginary Cloud

tfranco@imaginarycloud.com

Twitter: @gamafranco

Facebook: tiago.franco3

© ImaginaryCloud 2012 Page 2

WTF?

3

© ImaginaryCloud 2012 Page 3

SQL vs NoSQL

© ImaginaryCloud 2012 Page 4

But Why????

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

© ImaginaryCloud 2012 Page 6

So why now?

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)

© ImaginaryCloud 2012 Page 8

Show me the money!

9

© ImaginaryCloud 2012 Page 9

© ImaginaryCloud 2012 Page 10

So what & when?

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 ?

© ImaginaryCloud 2012 Page 12

SQL vs NoSQL

TechMeetpsLX

Tiago Franco – Imaginary Cloud

Twitter: @gamafrancoFacebook: tiago.franco3

tfranco@imaginarycloud.com

top related