I have an application that reads the oplog.rs collection in a mongodb 2.2 replica by querying in the ts field.
I added an index to the ts field, but it does not update when inserting new entries into oplog.
What am I missing? I cannot find anything in mongodb docs that indexes on private collections are not supported (rather the opposite), and I cannot find any information that oplog is special.
thank
, , local.oplog.rs *.system.profile. MongoDB 2.4 , -, , . MongoDB (2.6+) , , , .
local.oplog.rs
*.system.profile
oplog.rs "", . oplog . , oplog - , , oplog .
oplog.rs
, oplog tailable , , oplog, $natural order.
$natural
, , :
., ; .
? - mongodb , ( ), , oplog .
, . , , , , MongoDB / : https://jira.mongodb.org/browse/SERVER-3385
(http://docs.mongodb.org/manual/tutorial/create-tailable-cursor/), .
Source: https://habr.com/ru/post/1656863/More articles:Positioning tooltips in the right place with css - htmlconfused between instance variable and local variable - ruby | fooobar.comhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1656860/how-to-apply-or-filters-to-a-javautilstream&usg=ALkJrhievf2-APLB1emFc0JP1zAyUK_mVgНевозможно установить конфигурацию AWSAPIGatewayClient в Swift 3? - amazon-web-servicesHow to move tail-cursor using awaitdata to the end so I just get new updates - mongodbHow to create an extension to the content of notifications without using storyboards - iospip after updating pip & scrapy "pip install --upgrade" - pythonFacebook Messenger Bot shares structured message with postback button - javascriptCan I save memory by writing SQL instead of ActiveRecord? - sqlAn array reference in memory - c ++All Articles