Closed stennie closed 9 years ago
Yes, I thought that, but according with oplog documentation, only "operations that modify the data stored in your databases" are recorded, so find or any cursor operations will not saved.
@mrsarm That's correct .. the oplog would only include operations that affect data so you'd still need system profiling for query data.
The format in the oplog also isn't identical to the original query/update, but could still be useful to track changes to data without enabling profiling.
It would be great to add support for tailing the oplog as an alternative to using system profile data.
For a deployment with the oplog enabled (i.e. a replica set, although this can be enabled on a standalone node):