Consider
the
shard
cluster
if:
• Data
exceeds
the
storage
capacity
of
a
single
node
• Size
of
working
set
will
soon
exceed
your
RAM
• Large
amount
of
writes
Slide 23
Slide 23 text
Restric2ons
• You
cannot
update
a
shard
key
• You
must
use
a
shard
key
for
a
single
update
• Index
on
shard
key
Slide 24
Slide 24 text
Ideal
shard
key
• easily
divisible.
• will
distribute
write
opera2ons
among
the
cluster
• will
make
it
possible
for
the
mongos
to
return
most
query
opera2ons
directly
from
a
single
specific
mongod
instance