Questions tagged [mongodb-3.2]

MongoDB (v.3.2) is a scalable, high-performance, open source, document-oriented database. This is version tag to describe that your question is version 3.2 specific. Please add (general) 'mongodb' tag too, to get a wider audience.

112 questions
20
votes
1 answer

what is "planSummary: IDHACK"?

This Query scans only one document and returns only one document. But this is very slow: 2017-05-22T07:13:24.548+0000 I COMMAND [conn40] query databasename.collectionname query: { _id: ObjectId('576d4ce3f2d62a001e84a9b8') } planSummary: IDHACK…
Sybil
  • 2,578
  • 6
  • 34
  • 61
8
votes
1 answer

Fastest way to move MongoDB to a new server

I have to move a 200GB MongoDB from one server to another (both Windows 2016 OS). During this operation, it is assumed that the accompanying program will be offline, so no need to worry about inconsistent data, but I need to minimize the downtime. …
schneiju
  • 131
  • 1
  • 1
  • 5
7
votes
1 answer

Mongodb: Document size of 29344731 is larger than maximum of 16777216

When we are upgrading AEM 6.1 instance with mongo (Mongo version: 2.6 ) to AEM 6.3 with mongo (Mongo version: 3.2) we are facing the exception. org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore Background operation failed:…
6
votes
0 answers

MongoDB background index builds block secondary

We recently experienced a disruptive incident in a MongoDB 3.2 cluster related to index creation. Scenario: Several indexes were created on the primary using background: true. Indexes were automatically created on the secondary by MongoDB after…
Arjen Meek
  • 73
  • 5
6
votes
0 answers

Understanding MongoDB Log warning

In my MongoDB log, I am seeing these lines of messages: 2016-04-05T00:03:42.904+0000 I COMMAND [ftdc] serverStatus was very slow: { after basic: 200, after asserts: 240, after backgroundFlushing: 380, after connections: 510, after dur: 650, after…
M T
  • 61
  • 3
5
votes
2 answers

How can we use transaction in mongodb standalone connection?

I want to use transaction in mongodb but its told to replicaset can we perform transaction query with standalone mongodb if yes please share how to we can because when I try its give error This MongoDB deployment does not support retryable writes.…
Priyanka Sankhala
  • 151
  • 1
  • 1
  • 3
5
votes
1 answer

MongoDB replication: going into maintenance mode with 10333 other maintenance mode tasks in progress

I have a MongoDB instance where resync is required. 2016-11-07T11:59:23.330+0000 I REPL [ReplicationExecutor] syncing from: x.x.x.x:27017 2016-11-07T11:59:23.354+0000 W REPL [rsBackgroundSync] we are too stale to use x.x.x.x:27017 as a sync…
Sybil
  • 2,578
  • 6
  • 34
  • 61
5
votes
3 answers

Why does Mongo query hang for a long time when creating index?

We are migrating our single Mongo instance to Mongo cluster with sharding. I haven't started sharding yet. However, I found out when I try to add an index, I can't query any collection anymore. We don't have this issue in our current Mongo instance.…
angelokh
  • 165
  • 1
  • 2
  • 6
4
votes
1 answer

Why $group is very slow in aggregation and how can faster it in MongoDB

My query is taking ~3 seconds to execute with the $group stage, How can I faster this? My query is: db.getCollection('employee_data').aggregate([ { $match: //Filter }, { $group: { _id: { employee_id:"$employee_id", …
Abhilash Lohar
  • 41
  • 1
  • 1
  • 2
4
votes
0 answers

Performance degradation after upgrade from 3.0.11 to 3.2.12

Environment: CentoOS 6 (kernel 2.6.32), MongoDB community edition 3.0.11 and 3.2.12 , storage engine MMAP, config servers on SCCC We are experiencing performance degradation when moving from 3.0.11 to 3.2.12. Application throughput is getting…
Antonios
  • 1,197
  • 7
  • 13
4
votes
1 answer

MongoDB error: self signed certificate in certificate chain

I'm setting up for test a dockerized MongoDB which uses SSL. Everything goes fine with configuration, but when I'm trying to connect I get the following error: SSL peer certificate validation failed: self signed certificate in certificate…
adsalpha
  • 41
  • 1
  • 1
  • 2
3
votes
1 answer

adding and removing a node from a mongo replica set

I have a new backup server I want to add to our mongo replica sets. As far as I can tell its as easy as logging on to the replica sets primary and adding the following command: rs.add( { host: "mongobackup:10003", priority: 0, votes: 0, hidden: true…
3
votes
2 answers

MongoDB explain winning plan shows "EOF"

I've been working on optimizing my queries on some 2 million documents in MongoDB and I tried to use explain on aggregate functions, but it would display "winningPlan" : { "stage" : "EOF" }, Prior to this, the function would show the…
Lumo Woong
  • 163
  • 2
  • 11
3
votes
1 answer

MongoDB secondary node does not become primary when other nodes are stopped

I want to cluster MongoDB by using a replica set. I have created a three-node replicaset (rs0,rs1,rs2), and run the DBs in parallel with no issues. But when I shut down any two instance (one primary and secondary), the remaining secondary member is…
s_kumar
  • 39
  • 1
  • 2
3
votes
1 answer

MongoDB Restore / Snapshot Schedule - Point In Time vs. Oplog Timestamp

in docs Restore a Replica Set from a Backup those restore points are available: Snapshot Point In Time Oplog Timestamp What's the differences between those restore points? I guess Snapshot is fast restore, because only copy already existing files…
Sybil
  • 2,578
  • 6
  • 34
  • 61
1
2 3 4 5 6 7 8