Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 Java 项目中使用 MongoDB,我有一个问题要问你:
如何使用 mongodb 的控制台更改连接池?
我在 MongoDB Google Group 上回答了这个问题,我将在这里重新引用:
You can control how many connections there are with the [MongoOptions class][1]: The connection pool is controlled in the driver configuration, not through the mongo shell.