Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
54 views

I’m trying to connect to AWS DocumentDB server using the Rust driver with MONGODB-AWS ($external) authentication. A simple “list collections” call fails during the initial handshake with: Command ...
Viktor Ershov's user avatar
0 votes
1 answer
78 views

I'm trying to use Liquibase community edition and the liquibase-mongodb Maven extension to connect to DocumentDB v5. After 2 weeks of work, I could not solve this error no matter what I tried: ...
s.dragos's user avatar
  • 694
0 votes
1 answer
200 views

I'm trying to migrate from MongoDB to DocumentDB just for keeping everything under one roof, and I want to test my code on a sample DocDB cluster. I'm using Node.js + Express.js for my backend. ...
S S's user avatar
  • 58
0 votes
1 answer
106 views

I have gunicorn running on AWS ECS container. There is Flask app behind gunicorn serving requests. The flask app uses pymongo to interface with AWS dcoumentDB. This works most of the time but I am ...
abhijit sawant's user avatar
0 votes
1 answer
138 views

When i try to do mongodump, I am getting the below error: Failed: error creating intents to dump: error creating intents for database <db>: error counting <db>.<col>: Aggregation ...
Chathuranga Kasthuriarachchi's user avatar
0 votes
1 answer
233 views

We have been developing collections in mongoDB, with db.createCollection('xyzCollection', { validator: { $jsonSchema: {....}}}) Now we are moving to AWS DocumentDB & this script fails with ...
s.vij's user avatar
  • 11
1 vote
1 answer
455 views

Following the AWS documentation we are trying to list all change streams using the command cursor = new DBCommandCursor(db, db.runCommand( {aggregate: 1, pipeline: [{$...
outstacked's user avatar
2 votes
0 answers
497 views

I wanted to share a solution that allows you to connect from an AWS Lambda function to Amazon DocumentDB without using a NAT gateway, provided that both are in the same VPC. This can be a cost-saving ...
Aliaksei Smirnou's user avatar
0 votes
2 answers
275 views

I have following structure in documentdb { "_id": { "$oid": "5bc7a1d14cedfd0006445b10" }, "externalId": { "$numberLong": "70285&...
Sandeep Nair's user avatar
0 votes
1 answer
356 views

I'm using MongoDB version 4.0.0 with DocumentDB. I have a collection called transactions. That collection has this two indices: { "creation_date": -1 } { "project_id": 1, &...
Ale Sanchez's user avatar
0 votes
1 answer
1k views

I'm trying to connect from my local machine to our AWS DocumentDB instance using pymongo. Our current setup is using a ssh tunnel on an ec2 instance which then connects to AWS DocumentDB. This part is ...
Nippon87's user avatar
1 vote
0 answers
695 views

I have created an DocumentDB elastic cluster and I'm able to connect to it successfully from my local machine using mongosh once I figured out I needed to disable retryWrites. I'd love to be able to ...
darktrek's user avatar
  • 132
0 votes
3 answers
444 views

I am utilizing change streams from documentDB to read timely sequenced events using lambda, event bridge to trigger event every 10min to invoke lambda and to archive the data to S3. Is there a way to ...
Mr9's user avatar
  • 159
0 votes
0 answers
313 views

I found that countDocuments() take different time in different copy of the same db. The case is next: counts documents same (about 70k) structure documents the same instance the same 4vcpu і 32 ram. ...
Рома Матковский's user avatar
0 votes
2 answers
3k views

We have collection with 70k documents. On prod our query executing about 2,8 minute. We trier reproduce same case on another instance, but with the same collection size and on the worse in performance ...
Рома Матковский's user avatar
0 votes
1 answer
233 views

Accouding to Official Amazon DocumentDB homepage, the cloud services only two versions which are 3.6 and 4.0. But is it possible to use 4.0.28 version or another 4.X version? I couldn't find the ...
Rojojun's user avatar
1 vote
0 answers
244 views

I have the profiler enabled on DocumentDB and it is happily logging slow queries (both simple queries and aggregate pipelines). However whenever I execute an aggregate query containing a $lookup stage,...
insano10's user avatar
  • 123
2 votes
1 answer
262 views

I have case of collection that holds "item" data, with required node "owner" and optional node "status", e.g. { _id: 123, item: {some: "data 123" }, owner: {id: ...
ggogggo's user avatar
  • 23
0 votes
1 answer
2k views

I'm trying to use AWS DocumentDB as a sink for storing data received from Kafka and was wondering if the MongoDB Kafka connector works with DocumentDB as its documentation mentions that it is ...
junelane's user avatar
  • 161
5 votes
0 answers
1k views

Is there any way we can connect AWS OpenSearch with MongoDB without using DocumentDb? I have an application based on Nest.js and ReactJs where I want to use OpenSearch Service
Ammar Ijaz's user avatar
2 votes
1 answer
2k views

We are trying to migrate Mongo 4.4 version to Document DB 3.6 - 4 version. While checking for compaitability we saw '$expr' operator not supported. Is there any alternative to this in AWS Documentdb? ...
Ashutosh Kumar's user avatar
1 vote
0 answers
2k views

I have a documentdb cluster, I m unable to connect to documentDB when I pass username and password args at once mongo --host <myDocDbHost>:27017 --username admin --password <myPassword> I ...
saketh's user avatar
  • 813
0 votes
1 answer
1k views

I have a Spring Boot application (2.2.5 RELEASE) that sync (not reactive) writes to AWS DocumentDB wo declaring any explicit transaction semantics from application. We are using MongoOperations ...
Divs's user avatar
  • 1,638
0 votes
1 answer
2k views

I'm getting error while I'm trying to configure spark with mongodb in my EMR instance. Below is the command - spark-shell --conf "spark.mongodb.output.uri=mongodb://admin123:Vibhuti21!@docdb-2021-...
Siddhartha Das's user avatar
1 vote
1 answer
280 views

I created an AWS Document DB in the same region as my EC2. When I try to connect to it using the command provided by AWS the terminal seems to get stuck. The ec2 and Document DB are in the same ...
asds_asds's user avatar
  • 1,082