Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
2

mongoreplay is currently not included in the Windows installation packages (as at MongoDB 4.0). This tool uses the libpcap packet capture library which is available on most UNIX/Linux platforms but is not standard on Windows. There's a relevant feature request to watch/upvote in the MongoDB Jira issue tracker: TOOLS-1730: Release mongoreplay for windows. ...


1

MongoDB's server roles & permissions (as at MongoDB 4.0) don't provide the level of granularity you are after. However, I think this level of control is much better handled in your application logic. For example, even if it were possible to limit write access to the $push operator, there are additional options such as $slice that could cause existing ...


1

Basically, I made it with db.updateUser. On the doc, it says the following: passwordDigestor : string Optional. Indicates whether the server or the client digests the password. Available values are: "server" (Default) The server receives undigested password from the client and digests the password. "client" (Not compatible ...


1

Currently, The lower level you can control the access of resources is at the collection level. One option you can try is to create collections at each user level and give the user access to only that collection.


1

First, make sure the MongoDB service is running in the remote machine. Next, check if the MongoDB port is open to the outside network or not. The following will help you check if the 27017 is accessible from an outside machine. nmap -Pn 13.56.140.11 If the port is not enabled, use the following command to expose the port. sudo iptables -I INPUT -p tcp -...


1

There is an OPEN issue already created in MongoDB JIRA for the same. As per the issue, MongoDB index creation is not Multi-Threaded. use multiple cores for index sort-phase Multi-threaded index creation UPDATE Try increasing the maxIndexBuildMemoryUsageMegabytes parameter value. The default value is 500 MB. What does it do? Limits the amount of ...


1

What uses that much memory during the resync? There is so many things uses the memory during the resync time, As Mr. SpiXel has clearly defined here The WiredTiger cache settings only controls the size of memory directly used by the WiredTiger storage engine (not the total memory used by mongod). Many other things are potentially taking memory in a MongoDB/...


1

As MongoDB documentation here With WiredTiger, MongoDB utilizes both the WiredTiger internal cache and the filesystem cache. Starting in 3.4, the WiredTiger internal cache, by default, will use the larger of either: 50% of (RAM - 1 GB), or 256 MB. For example, on a system with a total of 4GB of RAM the WiredTiger cache will use 1.5GB of RAM (0.5 * (4 GB ...


1

As per MongoDB articles blog here The Connection Manager in Studio 3T makes it easy to connect to MongoDB, whether it is cloud-hosted or on-premise, or through a direct connection or a replica set. Create a new connection Open Studio 3T. Click on the Connect button either in the global toolbar or under the Recent Connections tab. This will open the ...


Only top voted, non community-wiki answers of a minimum length are eligible