订阅集合 - 没有上限

时间:2016-04-22 14:46:35

标签: mongodb

我知道使用a combination of capped collections and tailable cursors Mongo客户可以订阅该集合的附加内容。然而,这引入了一些限制:

  • 当集合已满时,将删除最旧的成员。
  • 如果现有成员的大小不同,则无法更改。 Cannot change the size of a document in a capped collection

是否有一些更通用的东西(例如RDBMS触发器)我可以用来收听发生在Mongo集合中的所有种类的变化?

0 个答案:

没有答案