During recent years it has appeared a new concept of databases more flexible and dynamic. They are called NoSQL. That kind of databases coexist with classical relational databases, but: What do they provide us? Why have they appeared ? Which is the wide variety we can choose? We will learn from MongoDB their use and functionalities.
16. “MongoDB
is
a
tool
of
the
devil
coming
from
the
underworld
to
torment
me
for
my
sins.
Their
arms
are
map/reduce
and
mongodump.
It
poke
me
with
them
day
and
night,
and
I
still
have
nightmares
of
misunderstanding…
NO!!!
MongoDB is not that!
17. Features
s
• Structure:
db
à
col
à
doc
à
key/value
• Relationships:
Array&Documents
• Flexible
Data
Model
• Desployment:
replicated
servers
• Examples:
foursquare,
craigslist
• Free
courses
of
6
weeks
(10h/week)
university.mongodb.com
• Online
tool:
try.mongodb.org
21. OPERATIONAL ONLINE DATA
REAL-TIME, LOW LATENCY, HIGH AVAILABILITY
• M2M
Apps
• Mobile/Social
Apps
• Product
Catalog
• 360
degree-‐view
of
a
user
• Comment
Storage
• Voting
Systems
26. 1. In
order
to
get
their
attention,
you
have
to
turn
them
on.
2. They
have
a
lot
of
data,
but
are
still
clueless.
3. They
are
supposed
to
help
you
solve
problems,
but
half
the
time
they
are
the
problem.
4. As
soon
as
you
commit
to
one,
you
realize
that,
if
you
had
waited
a
little
longer
you
could
have
had
a
better
model.
Similarities
27. 1. No
one
but
the
creator
understands
their
internal
logic.
2. The
native
language
they
use
to
communicate
with
other
computers
is
incomprehensible
to
everyone
else.
3. Even
your
smallest
mistakes
are
stored
in
long-‐term
memory
for
later
retrieval.
4. As
soon
as
you
make
a
commitment
to
one,
you
find
yourself
spending
half
your
paycheck
on
accessories
for
it.
Similarities