[SERVER-3576] specify filesystem location for oplog Created: 11/Aug/11  Updated: 17/Aug/11  Resolved: 17/Aug/11

Status: Closed
Project: Core Server
Component/s: Performance, Replication, Security, Stability
Affects Version/s: 1.8.2
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Robin Larsson Assignee: Unassigned
Resolution: Done Votes: 0
Labels: performance, replication
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

linux/unix


Participants:

 Description   

I want to be able to specify the location in the filesystem of the oplog in a simply way, preferably in the configuration file.

If you can put you ordinary db file on one disk and the oplog db on another then you can achieve better performance, stability and security.

Kind regards
drzobin



 Comments   
Comment by Eliot Horowitz (Inactive) [ 17/Aug/11 ]

http://www.mongodb.org/display/DOCS/Directory+Per+DB

Comment by Robin Larsson [ 11/Aug/11 ]

Hi Scott and thanks for the fast reply.
Where can i find the documentation for this? Is this the future where all the db:s get a separate folder and the solution is to use symlinks to point the db:s to different filesystem locations?

Comment by Scott Hernandez (Inactive) [ 11/Aug/11 ]

You can manage this by using the --dbperdirectory option and making the "local" db dir mount to another location. This also allows you to control where each db is in a similar way.

Generated at Thu Feb 08 03:03:26 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.