In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
# mongod.conf
# write log in append mode
Logpath=/var/log/mongodb/mongod.log
Logappend=true
# running in the background
Fork=true
# Service port number
Port=27013
# Database file storage directory
Dbpath=/var/lib/mongo
Directoryperdb=true
# the storage path of the process id file
Pidfilepath=/var/run/mongodb/mongod.pid
# listening on IP address
Bind_ip=0.0.0.0
# Disables write-ahead journaling
# nojournal=true
# enable timed recording of CPU utilization and Icano wait
# cpu=true
# Turn on/off security. Off is currently the default
# noauth=true
# auth=true
# detailed record output
# verbose=true
# used to check the validity of data received by the client when developing the driver
# objcheck=true
# enable database quota management. By default, each db can have 8 files, which can be set with the quotaFiles parameter.
# quota=true
# set oplog record level
# 0=off (default)
# 1 / W
# 2r
# 3=both
# 7=W+some reads
# diaglog=0
# ignore query hints
# nohints=true
# Enable the HTTP interface (Defaults to port 28017).
# httpinterface=true
# turn off server-side scripts, which will greatly limit the functionality
# noscripting=true
# turn off scanning table, any query will cause scan failure
# notablescan=true
# turn off data file pre-allocation
# noprealloc=true
# specify the size of the .ns file for the new database, in 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
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.