Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6716165
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T08:42:02+00:00 2026-05-26T08:42:02+00:00

We started to use MongoDB at work. So far so good however I was

  • 0

We started to use MongoDB at work.
So far so good however I was asked to assess if MongoDB could do Replica Set and Sharding at the same time. After searching for a while I find out that yes it can but sharding should be avoiding unless really necessary.

I’ve read somewhere that with MongoDB you really need to have a lot of document ( like billions ) to start thinking about Sharding, however I fail to comprehend this since the organisation and size of an average document is not mentioned in those “stats”.

The criteria we have now is that the RAM should be greater than the memory load needed to complete a request.

These leads me to those question :
What are the instructions for MongoDB and SQL server to know what is used in RAM for a request ?

What are the key requirements to use Sharding with MongoDB ?

Can someone point me to a article, post or anything when a person explains why they used Sharding with MongoDB ?

How does MongoDB handles Auto-Sharding ?

Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T08:42:02+00:00Added an answer on May 26, 2026 at 8:42 am

    From what I understand your working set (the data that you access the most frequently) must fit in RAM for good performances. If it does not, then sharding can be an option.

    Replica sets allows to distribute reads accross the set, while sharding can also serve to distribute writes.

    There is a book called ‘scaling mongodb’ at O’Reilly explaining how and when using replica sets and shards.

    You can also look at this page: http://www.mongodb.org/display/DOCS/Sharding+Introduction

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I started to use MongoDB at work so far so good. I was wondering
I started to use Dashcode with a Safari Custom Project, my apps work fine,
I started to use the Emacs org-mode for my todo lists. However, when I
I have started to use the simplexml function that seems to work out better
I am just getting started with MongoDB and trying to understand how indexes work.
I have started to use git-svn for some of my work to be able
I started to use Json.NET to convert a string in JSON format to object
I started to use Borland's Turbo C++ a few days ago. I actually have
I started to use AutoFixture http://autofixture.codeplex.com/ as my unit tests was bloated with a
Since I've started to use jQuery, I have been doing a lot more JavaScript

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.