You can use MongoDB cluster parameters to specify configuration options that affect all nodes in a replica set or sharded cluster.
Syntax
To set cluster parameters for your deployment, run the following command on the
admin
database:
db.adminCommand( { setClusterParameter:{ <parameter>: <value> } } )
To view the current cluster parameter values, run the following command on the
admin
database:
db.adminCommand( { getClusterParameter: "*" } )
To learn more about setting and viewing cluster parameters, see
setClusterParameter
and getClusterParameter
.
Access Control
To modify cluster parameters, you must authenticate as a user that has one of the following roles:
Parameters
MongoDB provides the following cluster parameters:
Name | Availability | Description |
---|---|---|
An object that contains change stream configuration options. You can only set | ||
Specifies a default time limit in milliseconds for individual read
operations to complete. If a query specifies a
|
Learn More
Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!
Check out: eBank.nz (Art Generator) |
Netwrck.com (AI Tools) |
Text-Generator.io (AI API) |
BitBank.nz (Crypto AI) |
ReadingTime (Kids Reading) |
RewordGame |
BigMultiplayerChess |
WebFiddle |
How.nz |
Helix AI Assistant