mongodb配置文件

systemLog:
  destination: file
  path: "/data/wt.log"
  logAppend: true
storage:
  journal:
    enabled: true
  dbPath: "/data/wt"

  directoryPerDB: true
  #syncPeriodSecs: 2
  engine: wiredTiger
  wiredTiger:
    engineConfig:
      #cacheSizeGB: 100
      directoryForIndexes: true
    collectionConfig:
      blockCompressor: none
    #indexConfig:
      #prefixCompression: true
net:
  port: 20120
processManagement:
  fork: true

 

 

posted @ 2017-11-13 17:21  i4oolish  阅读(119)  评论(0编辑  收藏  举报