'Index on oplog.rs

Is there any impact creating an index on oplog.rs on the following fields {"ns": 1, "op": 1, "ts": 1} to improve the query on those fields that causing a lot of document scans? Is it advisable to create an index on this collection? Can it cause a replication lag?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source