mongdb配置文件一

mongdb使用过程中,配置是很重要的,这篇文章我们将介绍一个简单的mongdb配置:下篇文章我们介绍每个配置意义:

systemLog:
	verbosity:integer 
	destination:file 
	path:""
	quiet:true 
	logAppend:true 
	timeStampFormat:iso8601-utc 
storage:
	dbPath:"" 
	directoryPerDB:true 
	indexBuildRetry:false
	preallocDataFiles:true
	nsSize:16 
	smallFiles:false 
	syncPeriodSecs:60
	#quota:
		#enforced:false
		#maxFilesPerDB:8	
	journal:
		enable:true 
		#debugFlages:1 
		commitIntervalMs:100 
processManagement:
	fork:true 
	pidFilePath:"" 
net:
	bindIp:92.168.2.2 
	port:27017 
	#maxIncomingConnections: 
	#wireObjectCheck: 
	http:
		enabled:true 
		RESTInterfaceEnabaled:false
		#ssl:
			#mode:"requireSSL"
			#PEMKeyFile:""
operationProfiling:
	slowOpThresholdMs:100
	mode:"slowOp"
security:
	keyFile:""
	ClusterAuthMode:"keyFile"
	authorization:"disabled"
replication:
	oplogSizeMB:50
	replSetName:"repl_test"
	secondaryIndexPrefetch:"all"
		

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值