정의
setParametersetParameteris an administrative command for modifying options normally set on the command line. You must issue thesetParametercommand against the admin database.
호환성
이 명령은 다음 환경에서 호스팅되는 배포에서 사용할 수 있습니다.
MongoDB Enterprise: MongoDB의 구독 기반 자체 관리 버전
MongoDB Community: MongoDB의 소스 사용 가능 무료 자체 관리 버전
중요
This command is not supported in MongoDB Atlas clusters. For information on Atlas support for all commands, see Unsupported Commands.
구문
db.adminCommand( { setParameter: 1, <parameter>: <value> } )
예제를 포함하여 사용 가능한 매개변수 는 자체 관리형 배포서버를 위한 MongoDB Server 매개변수를 참조하세요.
행동
지속성
Commands issued by the admin command setParameter do not survive server restarts. For a persistent option use the --setParameter command line option or the setParameter configuration file setting.
Stable API
When using Stable API V1 with apiStrict set to true, you cannot use setParameter to modify server parameters.