zoukankan      html  css  js  c++  java
  • mongodb的启动配置查询serverCmdLineOpts



    glc-test:PRIMARY> db.serverCmdLineOpts() { "argv" : [ "/home/work/mongodb/4.0.17/bin/mongod", "--config", "/home/work/mongodb/mongo_28042/etc/mongodb.conf" ], "parsed" : { "cloud" : { "monitoring" : { "free" : { "state" : "off" } } }, "config" : "/home/work/mongodb/mongo_28042/etc/mongodb.conf", "net" : { "bindIp" : "10.132.3.31,localhost", "maxIncomingConnections" : 10240, "port" : 28042, "serviceExecutor" : "adaptive" }, "operationProfiling" : { "mode" : "slowOp", "slowOpThresholdMs" : 100 }, "processManagement" : { "fork" : true, "pidFilePath" : "/home/work/mongodb/mongo_28042/tmp/mongo_28042.pid" }, "replication" : { "oplogSizeMB" : 65536, "replSetName" : "glc-test" }, "security" : { "authorization" : "enabled", "clusterAuthMode" : "keyFile", "keyFile" : "/home/work/mongodb/mongo_28042/etc/glc-test" }, "storage" : { "dbPath" : "/home/work/mongodb/mongo_28042/data", "directoryPerDB" : true, "engine" : "wiredTiger", "journal" : { "commitIntervalMs" : 100, "enabled" : true }, "wiredTiger" : { "collectionConfig" : { "blockCompressor" : "snappy" }, "engineConfig" : { "cacheSizeGB" : 4, "directoryForIndexes" : true, "journalCompressor" : "snappy" }, "indexConfig" : { "prefixCompression" : true } } }, "systemLog" : { "destination" : "file", "logAppend" : true, "path" : "/home/work/mongodb/mongo_28042/log/mongodb.log" } }, "ok" : 1, "operationTime" : Timestamp(1605579701, 1), "$clusterTime" : { "clusterTime" : Timestamp(1605579701, 1), "signature" : { "hash" : BinData(0,"Lx7GKPGdDiPL2zQcXKNUpTd/Pmw="), "keyId" : NumberLong("6856584343653974019") } } } glc-test:PRIMARY>

    ##########################################################################

  • 相关阅读:
    数据库路由中间件MyCat
    数据库路由中间件MyCat
    数据库路由中间件MyCat
    数据库路由中间件MyCat
    数据库路由中间件MyCat
    数据库路由中间件MyCat
    数据库路由中间件MyCat
    云架构师进阶攻略(3)
    PAT 1059. C语言竞赛
    PAT 1058. 选择题
  • 原文地址:https://www.cnblogs.com/igoodful/p/13992885.html
Copyright © 2011-2022 走看看