[SERVER-11787] How to copy the data between monogdb instance in incremental model without using replication set up Created: 20/Nov/13  Updated: 10/Dec/14  Resolved: 20/Jun/14

Status: Closed
Project: Core Server
Component/s: MapReduce
Affects Version/s: 2.5.4
Fix Version/s: None

Type: Question Priority: Major - P3
Reporter: satheesh Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

Hi All,

I have replication set up like primary, secondary, arbitary.I am using the map/reduce concept for some queries in reporting module.I have few questions here.
I am sending the report related queries to secondary replica , set readPreference as secondary in connection level.So if we have map/reduce in query it creates temporary collection on primary.After creating collection on primary again making the query to that collection.Actually my read preference set to secondary it goes to secondary at that time if the data has not synchronized to secondary i won't get any thing right ?My reports are taking huge time since i having the lot of data.
And also i am having another question
I want maintain another independent mongod process (server).So I want to copy the data from the other server( above replication set up) in once in a day.So i can send my report related requests to this independent server.If i use map/reduce on this server , create temporary collection on it only since it does not have any replication set up .But how can i copy the updated to the independent server like how synchronize the data in replication.Once in a day we can copy whole data to the independent server using the copydatabase, clone command but it is taking much time to copy.I want to copy the data only newly updated , inserted records to independent server like replication only.

So i can resolve this problems?



 Comments   
Comment by Thomas Rueckstiess [ 20/Jun/14 ]

Hi Satheesh,

The SERVER project is for reporting bugs or feature suggestions for the MongoDB server.

For MongoDB-related support discussion please post on the mongodb-users group (http://groups.google.com/group/mongodb-user) or Stack Overflow with the mongodb tag. If this is still an issue for you, please consider asking on the mongodb-users group.

Regards,
Thomas

Generated at Thu Feb 08 03:26:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.