Questions tagged with Amazon DocumentDB
Content language: English
Select up to 5 tags to filter
Sort by most recent
Browse through the questions and answers listed below or filter and sort to narrow down your results.
Filtering on _id field using regex works fine if the regex does not start with escape characters
```
db.getCollection('col').aggregate([ { $match: { _id: /^xx/ } } ], {hint: {_id: 1}, explain: true...
1
answers
0
votes
233
views
asked 7 months agolg...
I am trying to connect to docdb cluster from my local laptop, using ssm port forwarding.
I did the following
```
aws ssm start-session --target instance-id \
--document-name...
0
answers
0
votes
91
views
asked 7 months agolg...
Current design:
3000 timeseries collections- each has single index and TTL used.
Problems:
a) Write operation happens every 10 mins in all 3000 collections, which is time consuming.
b) TTL...
1
answers
0
votes
166
views
asked 7 months agolg...
How can I connect DocumentDB Change Stream as a Trigger Source of Lambda Function in Private VPC?lg...
I'm following this tutorial: https://docs.aws.amazon.com/lambda/latest/dg/with-documentdb-tutorial.html
And I found it won't work if I change the VPC settings to a custom VPC with private subnets.
I'm...
1
answers
0
votes
533
views
asked 7 months agolg...
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 stage not supported:...
1
answers
0
votes
364
views
asked 7 months agolg...
I have an aggregate pipeline which is pretty much:
```
[
{ "$match" : <filter out some basic stuff>},
{"$redact" : <more complicated filter>},
{"$limit":x}
]
```
Assume that I have 10...
0
answers
0
votes
50
views
asked 7 months agolg...
I have a simple collection, sites with ~10m obejcts. It contains two fields, domain and reverse_domain, both having a unique index.
Now finding documents with a domain starting with something works...
0
answers
0
votes
41
views
asked 7 months agolg...
Hello
region:- us-east-1
DB instance:- db.r5.large
while Upgrading the document DB i am getting this error
**Cannot modify engine version because cluster is running on an old configuration. First,...
0
answers
0
votes
78
views
asked 7 months agolg...
From the [list of Mongo APIs supported](https://docs.aws.amazon.com/documentdb/latest/developerguide/mongo-apis.html) by DocumentDB in the documentation, it is clear that DocumentDB does not support...
0
answers
0
votes
45
views
asked 7 months agolg...
Hello Dear,
I want to reduce my IOPS in docdb
how can i perform
1 How to Enable Pagination against of request.
2 How to Reduce the Unnecessary indexes requests.
0
answers
0
votes
54
views
asked 8 months agolg...
[Amazon DocumentDB (with MongoDB compatibility)](https://aws.amazon.com/documentdb/) now supports an in-place major version upgrade (MVU) from Amazon DocumentDB versions 3.6 and 4.0 to version 5.0....
0
answers
0
votes
97
views
Hi,
I am trying to get CloudWatch metrics for my DocumentDB elastic cluster using the AWS CLI, but I always get empty datapoints. I have tried different versions of the commands, by replacing the...
2
answers
0
votes
313
views
asked 8 months agolg...