R
R
raiboon2015-02-09 17:49:13
MongoDB
raiboon, 2015-02-09 17:49:13

Is there an analogue of materialized views in MongoDB?

It is necessary to collect data from several nodes with mongo, execute an aggregating query in them and cache them for a while. In a normal db, I would use dblink and materialized view for this, but what can mongo offer in this regard?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xSkyFoXx, 2015-02-09
@xSkyFoXx

The short answer is no.
Longer - it is possible to fasten Map/Reduce. It has several output options that can be forced to write the data you want to the collection you want. It turns out such a materialized view emulator. Only, of course, with a big, big redundancy.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question