In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Profile 1
# mongod.confsystemLog: destination: file logAppend: truestorage: journal: enabled: true directoryPerDB: true engine: wiredTiger wiredTiger: engineConfig: cacheSizeGB: 2 directoryForIndexes: true indexConfig: prefixCompression: trueprocessManagement: fork: truenet: port: 27017
Introduction to catalogue
The requested URL/data/wyd/mongodb was not found on this server.
backup log pid script shard-a-primary
cacheSize refers to the memory allocated by the system to mongod. For example, if your system has 30 gigabytes of memory, you can allocate 24 gigabytes of memory to Mongodb.
Profile Details Reference
https://blog.csdn.net/jianlong727/article/details/53484440
Mongodb Memory Cache Size Configuration
http://www.jyguagua.com/? p=3248
start
numactl --interleave=all mongod -f /etc/mongod.conf \--dbpath /data/wyd03/mongodbard-a-primary \--logpath /data/wyd03/mongodb/logard-a-primary.log \--pidfilepath /data/wyd03/mongodb/pidard-a-primary.pid --port 27021
Specify different pid and port so that you can start multiple different processes
Online Profile II
dbpath=/data/mongodb/dblogpath=/data/mongodb/logs/mongodb.logbind_ip=127.0.0.1port=27017fork=truenohttpinterface=trueauth=true
start
/usr/local/mongodb/bin/mongod -f /usr/local/mongodb/conf/mongodb.conf
Online Profile III
systemLog: quiet: false logAppend: true destination: file path: /data/mongodb/logs/mongod.logstorage: dbPath: /data/mongodb/db journal: enabled: true engine: wiredTiger wiredTiger: engineConfig: cacheSizeGB: 16 indexConfig: prefixCompression: trueprocessManagement: fork: truenet: bindIp: 127.0.0.1 port: 27017security: authorization: enabled
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.