Questions tagged [mongodb-atlas]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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 ...
mahendra's user avatar
  • 101
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 ...
SQB's user avatar
  • 465
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 ...
Binus's user avatar
  • 1
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: "...
Arun's user avatar
  • 13
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
Nandha's user avatar
  • 101
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 ...
Amar's user avatar
  • 111
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 ...
Sandro_V's user avatar
  • 101
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.
Sudh33ra's user avatar
  • 111
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....
Suresh C Nair's user avatar
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:...
Jasmohan Singh's user avatar
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 ...
NealWalters's user avatar
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 ...
Tzn's user avatar
  • 93
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) ...
Manuel's user avatar
  • 121
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 ...
Tamir's user avatar
  • 101
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 ...
Victor Castillo Torres's user avatar
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 ...
ronnz's user avatar
  • 9
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....
Afonso Rodrigues's user avatar
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 ...
A_toaster's user avatar
  • 145
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 ...
niko's user avatar
  • 133
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 ...
A_toaster's user avatar
  • 145
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 ? ...
Mr Surya's user avatar
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/...
Molenpad's user avatar
  • 1,774
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 ...
invzbl3's user avatar
  • 257
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 ...
Saketh's user avatar
  • 193
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 ...
Saketh's user avatar
  • 193
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 ...
Alex Blex's user avatar
  • 240