Upload
adele-whitehead
View
218
Download
1
Tags:
Embed Size (px)
Citation preview
http://www.globalnerdy.com/2007/09/07/multicore-musings/
cloud, virtualizationcloud, virtualization
power/coolingpower/cooling
commoditycommodity
data explosiondata explosion
{
_id : ObjectId("4e2e3f92268cdda473b628f6"),
title : “Too Big to Fail”,
when : Date(“2011-07-26”),
author : “joe”,
text : “blah”,
tags : [“business”, “news”, “north america”],
votes : 3,
voters : [“dmerr”, “sj”, “jane” ],
comments : [
{ by : “tim157”, text : “great story” },
{ by : “gora”, text : “i don’t think so” },
{ by : “dmerr”, text : “also check out...” }
]
}
`
NoSQL = Non-relational next generation operation data
stores and databases
no joins +light transactional semantics = horizontally scalable architectures
legal
CMS
customerpreferences, behavior,
relationships
organizational knowledge
team (human) process information
SFA
EMR
{
_id : ObjectId("4e2e3f92268cdda473b628f6"),
title : “Too Big to Fail”,
when : Date(“2011-07-26”),
author : “joe”,
text : “blah”,
tags : [“business”, “news”, “north america”],
votes : 3,
voters : [“dmerr”, “sj”, “jane” ],
comments : [
{ by : “tim157”, text : “great story” },
{ by : “gora”, text : “i don’t think so” },
{ by : “dmerr”, text : “also check out...” }
]
}db.posts.find( { author : “joe” } ).sort({when:1})
db.posts.find( {tags:”news”,votes:{$gt:100} )
db.posts.find( { “comments.by” : “gora” } )
db.posts.ensureIndex({“comments.by”:1})
{
_id : ObjectId("4e2e3f92268cdda473b628f6"),
title : “Too Big to Fail”,
when : Date(“2011-07-26”),
author : “joe”,
text : “blah”,
tags : [“business”, “news”, “north america”],
votes : 3,
voters : [“dmerr”, “sj”, “jane” ],
comments : [
{ by : “tim157”, text : “great story” },
{ by : “gora”, text : “i don’t think so” },
{ by : “dmerr”, text : “also check out...” }
]
}
db.posts.find( { author : “joe” } ).sort({when:1})
db.posts.find( { “comments.by” : “gora” } )