资讯

精准传达 • 有效沟通

从品牌网站建设到网络营销策划,从策略到执行的一站式服务

mongodb配置文件

# mongod.conf
# 追加模式写入log
logpath=/var/log/MongoDB/mongod.log
logappend=true

# 后台运行
fork=true

# 服务端口号
port=27013

# 数据库文件存放目录
dbpath=/var/lib/mongo
directoryperdb=true

# 进程id文件的存放路径
pidfilepath=/var/run/mongodb/mongod.pid

# 监听IP地址
bind_ip=0.0.0.0

# Disables write-ahead journaling
# nojournal=true

# 启用定时记录CPU的利用率和I/O等待
#cpu=true

# Turn on/off security.  Off is currently the default
#noauth=true
#auth=true

# 详细记录输出
#verbose=true

# 用于开发驱动程序时的检查客户端接收数据的有效性
#objcheck=true

# 启用数据库配额管理,默认每个db可以有8个文件,可以用quotaFiles参数设置
#quota=true

#   设置oplog记录等级
#   0=off (default)
#   1=W
#   2=R
#   3=both
#   7=W+some reads
#diaglog=0

# 忽略查询提示
#nohints=true

# Enable the HTTP interface (Defaults to port 28017).
#httpinterface=true

# 关闭服务器端脚本,这将极大的限制功能  
#noscripting=true

# 关闭扫描表,任何查询将会是扫描失败
#notablescan=true

# 关闭数据文件预分配
#noprealloc=true

# 为新数据库指定.ns文件的大小,单位:MB
# nssize=
# Replication Options
# in replicated mongo databases, specify the replica set name here
#replSet=setname
# maximum size in megabytes for replication operation log
#oplogSize=1024
# path to a key file storing authentication info for connections
# between replica set members
#keyFile=/path/to/keyfile

创新互联建站是一家专注于做网站、成都网站建设与策划设计,屯昌网站建设哪家好?创新互联建站做网站,专注于网站建设十年,网设计领域的专业建站公司;建站业务涵盖:屯昌等地区。屯昌做网站价格咨询:18982081108


网页标题:mongodb配置文件
网页URL:http://cdkjz.cn/article/ghcdjo.html
多年建站经验

多一份参考,总有益处

联系快上网,免费获得专属《策划方案》及报价

咨询相关问题或预约面谈,可以通过以下方式与我们联系

业务热线:400-028-6601 / 大客户专线   成都:13518219792   座机:028-86922220