Skip to main content

Questions tagged [mongodb-3.0]

This is the tag for mongodb version 3.0

0 votes
1 answer
124 views

I'm working with MongoDB in a Node.js application using Mongoose. When I retrieve a document from the database and log the _id field, I expect it to be of type ObjectId, as this is the default type ...
Numaira Nawaz's user avatar
1 vote
2 answers
3k views

I'm trying to understand how can I achieve this in MongoDB: select * from Table1 where id in (selct id from table2) I'm trying to aggregate but I just can't understand how JSON works: db.Collection1....
Racer SQL's user avatar
  • 7,558
0 votes
0 answers
339 views

I am using mongo db with authentication and it is working as expected when I map the user to the admin database like below, use admin; db.getUsers(); { "_id" : "admin.test1", ...
Coder's user avatar
  • 71
1 vote
1 answer
1k views

I am trying to export collection data from (SSL MongoDB 4.x), for this I am running below command on linux terminal. Earlier I used mongoexport command in Linux terminal without SSL which works ...
paul's user avatar
  • 111
0 votes
1 answer
1k views

We know there are two ways to create a mongoDB cluster :- 1.) Sharding 2.) Replication My question is can we combine both sharding & replication like we have in elastic cluster?
abhi's user avatar
  • 101
-1 votes
1 answer
869 views

We are using Robo 3t tool to interact with Mongodb. We could see the user has read access on 2 databases but when the user is connected to MongoInstance that databases are not visible to the users. ...
Franklin's user avatar
0 votes
1 answer
140 views

We have a few environments with MongoDB 3.0, these are standalone servers. These servers are already using WiredTiger Storage engine. I am trying to upgrade them to 4.2. As per the upgrade ...
Yogesh_D's user avatar
  • 101
0 votes
0 answers
840 views

I've created a new 3 node replica set and rsync'ed data from an existing mongo database for initial population. The secondary nodes went into STARTUP2 mode and seemed to successfully sync from the ...
Chris's user avatar
  • 53
2 votes
3 answers
13k views

A Very Good Day, I have the user in the mongodb like below who has the superuser privileges (I confirmed the role setting using show users command) { "_id" : "admin.mongoadmin", "user" : "...
Coder's user avatar
  • 71
2 votes
1 answer
4k views

We are using mongo setup with replica sets on AWS. Setup Details: 1 Primary node: r3.8xlarge 4 secondary nodes: r5.xlarge Mongo version: 3.0.8 (WiredTiger) Database size: 358GB We have configured ...
Abhishek S's user avatar
2 votes
1 answer
282 views

I am running sh.status() command on my mongos instance of sharded Mongo cluster and I am getting below exception. mongos> sh.status() assert: command failed: { "ok" : 0, "errmsg" : "error ...
Vikas Saini's user avatar
0 votes
1 answer
552 views

When I use a single mongos like 1.1.1.1:30000, the driver will return in 20ms to find a batch of documents. When I use 1.1.1.1:30000,1.1.1.2:30000,1.1.1.3:30000,it costs 60ms,three times more to ...
Chen Si Yi's user avatar
1 vote
2 answers
4k views

Can't seem to figure out how to update a single field. Whatever I try, to update one field (picture: "url") the rest of the fields are being removed and set to null. I use the following command now: ...
Scott Agirs's user avatar
2 votes
1 answer
2k views

My database size is approx 1.5 TB and I have approx 2TB free on backup mount point. But after 10 hours my backup fail due to lack of storage and its just 60% complete. Is their any why through which i ...
Irfi's user avatar
  • 53
1 vote
1 answer
692 views

We are trying to export 1.5TB database into mongodb. But its fail after 100gb and giving us below error. As we notice root mount point got 100% space. We are using below command: mongodump -u admin -...
Irfi's user avatar
  • 53

15 30 50 per page
1
2 3 4 5
8