V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐工具
RoboMongo
推荐书目
50 Tips and Tricks for MongoDB Developers
Related Blogs
Snail in a Turtleneck
wico77
V2EX  ›  MongoDB

mongodb 3.0 smallfiles 设置

  •  
  •   wico77 · May 29, 2016 · 5133 views
    This topic created in 3621 days ago, the information mentioned may be changed or developed.

    mongodb 3.0 的 journal 默认会占用很大空间。想设置 smallfiels ,在 mongod.conf 里设置 storage: dbPath: /var/lib/mongodb smallFiels: true journal: enabled: true 启动 mongodb 是吧。不过 mongod --config /etc/mongod.conf --smallfiles 是成功的。请问 mongod.conf 里如何设置 smallfiles

    1 replies    2016-05-30 10:52:01 +08:00
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1590 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 16:38 · PVG 00:38 · LAX 09:38 · JFK 12:38
    ♥ Do have faith in what you're doing.