Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion How does a replica set exactly works?

Received: by 10.224.180.205 with SMTP id bv13mr10295225qab.8.1343747506897;
        Tue, 31 Jul 2012 08:11:46 -0700 (PDT)
X-BeenThere: mongodb-user@googlegroups.com
Received: by 10.224.210.198 with SMTP id gl6ls556950qab.4.gmail; Tue, 31 Jul
 2012 08:11:29 -0700 (PDT)
Received: by 10.224.138.146 with SMTP id a18mr10297730qau.6.1343747489049;
        Tue, 31 Jul 2012 08:11:29 -0700 (PDT)
Received: by 10.224.106.136 with SMTP id x8msqao;
        Tue, 31 Jul 2012 07:28:24 -0700 (PDT)
Received: by 10.52.68.134 with SMTP id w6mr1424353vdt.6.1343744903810;
        Tue, 31 Jul 2012 07:28:23 -0700 (PDT)
Date: Tue, 31 Jul 2012 07:28:23 -0700 (PDT)
From: Tim <tim.a.zimmerm...@googlemail.com>
To: mongodb-user@googlegroups.com
Message-Id: <079e22cc-3bf3-4598-896a-2103ff7d3681@googlegroups.com>
Subject: How does a replica set exactly works?
MIME-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_117_14586572.1343744903227"

------=_Part_117_14586572.1343744903227
Content-Type: multipart/alternative; 
	boundary="----=_Part_118_7842354.1343744903227"

------=_Part_118_7842354.1343744903227
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

Hello I read all the documentation concerning mongoDB/replica sets and so 
one.

I still have a question. How is a dataset exactly stored? It says, that the 
sec. nodes copy the oplog in order to execute the operations theirselves.
Does every sec. node copy all the oplog?
For example, a client makes a write operation (lets say 5GB vol.)
are these 5 GB stored on the prim. node and every sec. node? every time?

For example, I have 4 server each with 32GB storage. Actual I want
to store 64GB data and replicate that due to the other 64 GB.
I would suggest to use 1 prim. node, 3 sec. nodes and 1 arbiter (for 
breaking ties).
Would I have "only" 32 GB storage and the other 96GB storage would only 
replicate? Or
does the data volume gets split somehow?

Best regards 

------=_Part_118_7842354.1343744903227
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

Hello I read all the documentation concerning mongoDB/replica sets and so one.<br><br>I still have a question. How is a dataset exactly stored? It says, that the sec. nodes copy the oplog in order to execute the operations theirselves.<br>Does every sec. node copy all the oplog?<br>For example, a client makes a write operation (lets say 5GB vol.)<br>are these 5 GB stored on the prim. node and every sec. node? every time?<br><br>For example, I have 4 server each with 32GB storage. Actual I want<br>to store 64GB data and replicate that due to the other 64 GB.<br>I would suggest to use 1 prim. node, 3 sec. nodes and 1 arbiter (for breaking ties).<br>Would I have "only" 32 GB storage and the other 96GB storage would only replicate? Or<br>does the data volume gets split somehow?<br><br>Best regards
  <br>
------=_Part_118_7842354.1343744903227--

------=_Part_117_14586572.1343744903227--