top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is the mongoDB idle connection timeout setting at DB level?

+1 vote
863 views
What is the mongoDB idle connection timeout setting at DB level?
posted Sep 30, 2016 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

As at version 3.2, MongoDB does not support idle connection timeout at DB level. You can find all available options in Configuration File Options.

On the other hand, MongoDB supports idle connection timeout on a client basis, please refer to ‘maxIdleTimeMS’ on Connection String URI Format. Please also note that this option is not supported by all drivers and you should check relevant driver’s manual.

answer Oct 14, 2016 by Manikandan J
Similar Questions
+1 vote

We are using php, mongodb v 2.6.10, we have not set connection pool. We want to set connection pool at server level.
Presently we are creating a new connections every time, when application talk to database. When our no of connection reach to 400, our db performance impact so badly, and query time increase up to 4 times.

+2 votes

What is CouchDB ? and which one is better mongodb or couchdb please explain with example.

0 votes

Im using pymongo_spark.py to write a large rdd to mongodb on Azure.

However since the table is very large the error "Request rate is large" is returned and not all entries are inserted.

What possible workarounds are there?

...