Requirement/Goal | +Sharding | +Replication | +Both Combined | +Primary Consideration | +
---|---|---|---|---|
+ Handle dataset too large for single node + | +
+ Yes
+ |
+
+ No
+ |
+
+ Yes
+ |
+
+
+
+ How much data are you storing? +
|
+
+ Improve query throughput + | +
+ Maybe*
+ |
+
+ Yes
+ |
+
+ Yes
+ |
+
+
+
+ Is your workload read-heavy? +
|
+
+ Accelerate data imports + | +
+ Yes
+ |
+
+ No
+ |
+
+ Yes
+ |
+
+
+
+ Is import speed a priority? +
|
+
+ Ensure high availability + | +
+ No
+ |
+
+ Yes
+ |
+
+ Yes
+ |
+
+
+
+ Can you tolerate downtime? +
|
+
+ Enable zero-downtime upgrades + | +
+ No
+ |
+
+ Yes
+ |
+
+ Yes
+ |
+
+
+
+ How critical is continuous operation? +
|
+
+ Optimize resource utilization + | +
+ Yes
+ |
+
+ Maybe*
+ |
+
+ Maybe*
+ |
+
+
+
+ Are you resource-constrained? +
|
+
+ Geographic distribution + | +
+ No
+ |
+
+ Yes
+ |
+
+ Yes
+ |
+
+
+
+ Do you need multi-region support? +
|
+