Download - NOSQL: il rinascimento dei database?
Transcript
NOSQLIl rinascimento dei database?
Paolo Bernardi
500+ TB dati/giorno
Datacenter-friendly
Developer-friendly*
*depending on the developer
Document-based
Key/Value
BigTable
Graph-based
> j = { name : "mongo" };
{"name" : "mongo"}
> t = { x : 3 };
{ "x" : 3 }
> db.things.save(j);
> db.things.save(t);
> db.things.find();
{ "_id" : ObjectId("4c2...84a"), "name" : "mongo" }
{ "_id" : ObjectId("4c2...84b"), "x" : 3 }
> SET server:name "fido"
"OK"
> GET server:name
"fido"
> RPUSH friends "Tom"
1
> RPUSH friends "Bob"
2
> LRANGE friends 0 -1
["Tom","Bob"]
RowRow CF Column Tstamp Value
Key
Polyglot PersistenceA Babel?
Grazie per l'attenzione!
Paolo Bernardi@bernarpa