New answers tagged

0 votes

Increase security of mongodb-based flask/react applications?

You can create an user to access specific databases with specific permissions and use it with Flask: https://www.mongodb.com/docs/v5.0/tutorial/create-users/
user avatar
0 votes

MongoDB query choosing the wrong index in winning plan, Though in executionTimeMillisEstimate as lower for the other index?

The order in which the indexes are defined seems to be influential in its selection. and you can use Partial Indexes for example : db.collection.createIndex( {'Field1':1} ) db.collection....
user avatar
0 votes

how to convert mongodb db.currentOp() into json

I suspect the problem you are referring to is results returned in a MongoDB shell environment which use JavaScript helper syntax like ISODate() that is not compatible with JSON. If so, the solution is ...
user avatar
  • 9,770
1 vote

Why is Mongo stuck in STARTUP2?

Answer for MongoDB 5.0 release. The initial sync may take some time - be patient. As far as I see it runs in two steps. First MongoDB clones all collections, i.e. it makes a "plain" copy of ...
user avatar
0 votes

Better way to store panel data in SQL or NoSQL

I agree with the comments that for the use cases you described, it sounds like you'll likely end up needing to do at least the same amount of work (if not more) manipulating and maintaining the data ...
user avatar
  • 24k
0 votes

MongoDB Shard Zone Range Overlapping

You can check the config database. Maybe the docs in [tags] collection still have old setting. I use mongoDB 4.4.11 and sometimes the tag setting will not be deleted even if I drop the database, and ...
user avatar
  • 1

Top 50 recent answers are included