zoukankan      html  css  js  c++  java
  • mongodb配置

    ## content
    systemLog:
      destination: file
      logAppend: false
      #path: /www/server/mongodb/log/config.log
      path: /dev/null
     
    # Where and how to store data.
    storage:
      dbPath: /www/server/mongodb/data
      directoryPerDB: true
      engine: wiredTiger
      wiredTiger:
        engineConfig:
          cacheSizeGB: 15
      journal:
        enabled: true
    # how the process runs
    processManagement:
      fork: true
      pidFilePath: /www/server/mongodb/log/configsvr.pid
     
    # network interfaces
    net:
      port: 27017
      bindIp: 127.0.0.1
     
    #operationProfiling:
    #replication:
    #    replSetName: bt_main   
    security:
      authorization: disabled
      javascriptEnabled: false
    
    #sharding:
    #    clusterRole: shardsvr
  • 相关阅读:
    BZOJ3669
    HDU3726
    BZOJ3282
    BZOJ2843
    Link/cut Tree
    Codeforces396A
    LOJ6277~6285 数列分块入门
    Codeforces446C
    Codeforces475D
    Codeforces103D
  • 原文地址:https://www.cnblogs.com/xiondun/p/13365293.html
Copyright © 2011-2022 走看看