Questions tagged [mongodb-atlas]
The mongodb-atlas tag has no usage guidance.
20
questions
0
votes
1
answer
508
views
How to do a mongo restore with Atlas URI
I am trying to do a mongorestore of a few collections . I am trying to use the Atlas URI to do this and it throws an error saying that
positional arguments not allowed: [mongodb+srv://hostname.mongodb....
1
vote
2
answers
677
views
how to run mongo export on macbook?
I am using mongodb Atlas (M0), which does not provide db backup feature. I am creating a nodejs script that will export all the collections automatically periodically.
So far I have done the following:...
2
votes
0
answers
89
views
MongoDB - 100% CPU - recovering shard (after killing updates)
Can a recovering shard (as shown below) drive CPU to 100% for hours and hours?
I have killed all the queries and updates (based on db.currentOp()) and stopped the flow of new data, but the CPU stays ...
0
votes
0
answers
451
views
request conversion is not supported from SQL Server to MongoDB
I'm using a Linked server from SQL Server 2012 to connect to MongoDB via BI Connector ( MongoDB Atlas ).
I can retrieve some info that is int for example, but when running the query below, I receive ...
0
votes
0
answers
46
views
Concurrent connections calculated in Mongodb Atlas
I'm considering using mongodb for a mobile backend database, and I'm slightly confused at something I haven't found an answer to in the documentation. Are the concurrent connections for each tier in ...
2
votes
1
answer
8k
views
MongoDB - Replication Oplog Window has gone below 1 hours
I'm working with MongoDB Atlas and I have a cluster of 3 with M30 and 100gb of storage.
My current usecase is the following:
- An user dispatches one search in my platform
- The platform dispatches ...
1
vote
0
answers
392
views
How to reclaim disk space on a MongoDB Atlas replica set?
I migrated a replica set from mLab to MongoDB Atlas.
mLab offered an automated process to reclaim disk space after dropping large amounts of documents from a collection. Compacting (or resyncing) ...
0
votes
1
answer
1k
views
MongoDB Atlas M0 (Free Tier) BI capabilities
I'm using MongoDB in my server and developed BI tool using cube-js & mongosqld, which worked when mongo was running locally, however after I moved to Atlas using M0 tier I could not connect to it ...
0
votes
1
answer
252
views
Can't migrate standalone MongoDB to Cluster
I'm trying to convert a standalone MongoDB database into a cluster in order to migrate my database to MongoDB Atlas.
I've followed the following steps to try and convert it:
Stop my mongodb instance
...
1
vote
1
answer
164
views
Migrating from MongoDB Atlas to self managed Mongo (EC2) server
There is an abundance of info about migrating TO Atlas but not too much I could find specifically about going the other direction.
I am migrating a collection which is 250GB in size.
I have tried ...
0
votes
3
answers
466
views
How to list connections in Secondary Nodes
In my cluster on Atlas, have a many connections in secondary nodes.
How to list this connections?
When execute this command, list the current connections in primary node.
db.currentOp(true).inprog....
1
vote
1
answer
87
views
My MongoDB Atlas Operations graph has doubled in the last few hours. How do I go about debugging this?
I noticed this graph in my MongoDB Atlas dashboard:
I'm not sure what is causing the increased Disk IOPS and Operations counts... Can I use the oplog to figure out what is causing this massive ...
0
votes
2
answers
562
views
Periodic aggregations on MongoDB Atlas
I have been developing a solution that uses MongoDB Atlas (currently M0) for storage. As I would need to provide some statistics throughout different time periods, I need to run periodic aggregations ...
2
votes
3
answers
11k
views
How can you view the IP addresses of active MongoDB Atlas connections?
Some posts show you can use db.currentOp(true) to show active connections, but when I do that I get this error
{
"ok" : 0,
"errmsg" : "Using $all for currentOp is disallowed in this ...
1
vote
1
answer
281
views
How to monitor Mongo databases and Cloud servers? [closed]
We have mongo databases installed in AWS and Azure based servers. We need to monitor the Mongo databases and Cloud servers on daily basis. Is there any way to healthcheck the databases and servers ?
...
1
vote
1
answer
491
views
Mongo Atlas API - Get Databases and Collections in a Cluster
So with Mongo Atlas I can easily list clusters in a project by calling the API as follows:
curl -i -u "<user@domain.com>:<my-api-key>" --digest "https://cloud.mongodb.com/api/atlas/v1.0/...
3
votes
1
answer
7k
views
Not authorized on admin to execute command mongoDB: Atlas M0 Free Tier cluster
My MongoDB shell has version v3.6.5 (the same with older versions) & MongoDB server has version: 3.6.8
I have MongoDB M0 Free Tier cluster and I want to use from shell different commands.
So, I ...
3
votes
1
answer
8k
views
How to copy wt files from another mongo instance? [closed]
I received a copy of mongo dbpath directory copy from a peer. I copied entire content to my local dbpath with an intention to work on the collections. However, my local is not recognizing the ...
10
votes
3
answers
16k
views
How to restore .wt backup file to local MongoDB?
This is a question that was asked before, but I have tried all solutions, and simply cannot get it right. I have spent quite some time researching before posting this question. I have looked at the ...
4
votes
2
answers
4k
views
How to add userAdmin user in Mongodb Atlas
How to add a user with userAdmin role in Atlas?
The Cluster Security "Add New User" UI https://cloud.mongodb.com/v2/.....#clusters/security/users shows only limited set of built-in roles without any ...