News for hackers. Stuff that matters.
Re:What do MongoDB oplogs and banana stands have in common? ... by nasalgoat on Thursday January 09, 2014 @05:20PM (#7033691)
The fun thing about oplogs is that they're only useful if you have the debug level turned way up, but if you do that on a moderately busy system, you run out of disk space in a couple of minutes.
Re:What do MongoDB oplogs and banana stands have in common? ... by SuperShabam on Thursday January 09, 2014 @06:04PM (#7033900)
I don't believe that's true. The oplog is what powers replication, so it must record every operation altering your data.

It's stored in a capped collection, so it stays the same size on disk. If you limit your oplog to only 100MB and have a busy system, you may only store 1 minute worth of operations, but disk size won't be affected.

Though, with 100MB your ability to have a useful oplog may be affected and your replica set will likely be unable to replicate fast enough to keep secondaries in-sync.

Re:What do MongoDB oplogs and banana stands have in common? ... by michaelmcmillan on Thursday January 09, 2014 @05:14PM (#7033662)
Is there any money in MongoDB oplogs? There sure is in the banana stand.