Questions tagged [mongodb-atlas]
The mongodb-atlas tag has no usage guidance.
26
questions
0
votes
1
answer
38
views
mongodb atlas use secondaries to reduce cpu usage
I have M80 atlas cluster(128GB RAM and 32vCPUs) with 3 replicasets.
most of the time my system use around 10% of RAM and 10% of CPU, during high load CPU spikes more than 100% leading to autoscaling ...
0
votes
0
answers
4
views
How can I automate trigger deployment to Mongo Atlas?
I have a couple of triggers on a Mongo Atlas cluster that I want to deploy to a number of databases on a different cluster.
Is there any way to do this automatically, through a script or something ...
0
votes
0
answers
39
views
Mongodb database hosting limitations and options
So I'm currently working on an application in node js and I'm using mongodb as the database for the server, it all went well until I got to the point of hosting the database.
I've came across mongodb ...
0
votes
0
answers
21
views
Storing Aggregation pipeline inside materialized view in Mongo
I am quite new to Mongo Coming from Sql background.
I have a aggregation on collection_1 which involves $graphlookup (given below)
[
{
$match: {
$or: [
{
objStatus: "...
0
votes
0
answers
12
views
Can we create mongodb atlas cluster using python sdk
Currently i am able to create mongodb atlas cluster using their console. I want to automate the creation process. Can i create mongodb cluster using python sdk
1
vote
0
answers
82
views
Alert set up for TLS/SSL certificate expiration
I am looking for help with setting up alert for MongoDB Atlas cluster. Recently we saw an issue where one of clusters running on Mongo Atlas had expiration on the certs and there was an outage for the ...
0
votes
0
answers
165
views
MongoDB Atlas - Unknown Connections spikes from private IPs
I have a MongoDB cluster running on Atlas. We connect each client to MongoDB by passing an appName with that we know who connects to the cluster and we can identify them.
At some points, we get a huge ...
1
vote
1
answer
164
views
How do you create an atlas user in a non-admin db?
There doesn't seem to be an option in mongo atlas UI to create a user in any database other than admin.
0
votes
1
answer
2k
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
2k
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
157
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 ...
5
votes
1
answer
13k
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
587
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
327
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
221
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
1k
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
113
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
676
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
16k
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
289
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
873
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 "<[email protected]>:<my-api-key>" --digest "https://cloud.mongodb.com/api/atlas/v1.0/...
3
votes
1
answer
9k
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 ...
4
votes
1
answer
9k
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 ...
15
votes
3
answers
25k
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 ...
7
votes
2
answers
7k
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 ...