Login
Remember
Register
Developerhelpway Q&A
All Activity
Questions
Hot!
Unanswered
Tags
Categories
Users
Ask a Question
Ask a Question
What are the advantages of sharding?
0
votes
129
views
asked
Feb 24, 2021
in
MongoDB
by
john12
(
4.4k
points)
What are the advantages of sharding in mongodb?
mongodb
sharding
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Feb 24, 2021
by
john12
(
4.4k
points)
There are Following
advantages of sharding MongoDB collection
:-
Faster reads
:- Queries that include a shard key or a prefix of a compound shard key are faster, because MongoDB can target the search to a specific shard.
Horizontal scaling
:- Both read and write loads can be scaled horizontally by adding more shards to the cluster.
Storage capacity
:- Storage capacity of the cluster can be increased by increasing the number of shards. in the cluster.
High availability
:- Sharding increases the availability of requests since the sharded cluster can continue to perform read and write operations even if one of the shards is unavailable.
Please
log in
or
register
to add a comment.
Share:-
Welcome to
Developerhelpway
Q&A, where you can ask questions and receive answers from other members of the community.
Categories
All categories
Hibernate
(13)
Spring
(9)
Spring Boot
(47)
Java
(203)
Design Pattern
(2)
JDBC
(9)
Servlet
(1)
JSP
(2)
JSTL
(1)
Thymeleaf
(1)
Struts
(0)
RMI
(0)
PHP
(3)
MySQL
(21)
Oracle
(0)
JSF
(0)
MongoDB
(16)
PLSQL
(0)
JavaScript
(6)
jQuery
(20)
Node.js
(40)
ActiveMQ
(0)
RabbitMQ
(2)
CSS
(0)
HTML
(0)
HTML5
(0)
XML
(0)
Photoshop
(0)
Jasper Report
(0)
iReport
(0)
JMS
(0)
ANT
(0)
Maven
(2)
GIT
(3)
SVN
(0)
CVS
(0)
Eclipse
(2)
Netbeans
(0)
jBoss
(0)
Tomcat
(3)
FreeMarker
(2)
Nginx
(5)
WAMP/LAMP
(0)
Hadoop
(0)
HDFS
(0)
Elasticsearch
(0)
Android
(5)
iPhone
(0)
Windows
(1)
Linux
(0)
Ubuntu
(6)
Data Structure And Algorithm
(53)
Apache Solr
(1)
Google Chrome
(1)
...