gentle introduction to nosql

48
A Gentle Introduction to noSQL Valery Vishnyakov

Upload: balepc

Post on 07-Aug-2015

54 views

Category:

Data & Analytics


0 download

TRANSCRIPT

A Gentle Introduction

to noSQL

Valery Vishnyakov

What is NoSQL?

• Document-oriented database

• Key-Value store

• Graph store

• Wide-column store

Relational RDBMS

ER diagram

ER diagram

Familiarity

Works well for

small datasets

ACID (should we care?)

Manual sharding

Painful schema migrations

Joins kills performance

Not fancy :)

Files

Good old files!

Easy deployment

Consistency

Availability

Query features

R/W Performance

Scalability

Document-oriented

Document-oriented

MongoDB document

Start a collection

New Tweet

Add index

Auto-scaling

Flexible data-model

SQL similarity

Write operations

Graph database(s)

Neo4j model

Query

Scalability :(

Key-Value stores

Key-Value

Twitter’s solution

Super fast R/W operations

Cold data in RAM

Availability :)

Wide-column stores

Wrapping up…

Polyglot Persistence

http://martinfowler.com/bliki/PolyglotPersistence.html

noSQL adoption in LV

Ask.fm Redis

4Finance ?

Tieto OracleBuyersdeck

!MongoDB, Firebase

ok.ru Cassandra, Solr, BerkeleyDB

Ducascopy Oracle, MySQL

Fabula MongoDB, ElasticSearch

C.t.Co Oracle

Read

3 DATABASE ADMINS WALKED

INTO A NOSQL BAR….

!

!

A LITTLE WHILE LATER THEY

WALKED OUT BECAUSE THEY

COULDN’T FIND A TABLE