[SERVER-508] Update map reduce collections Created: 23/Dec/09  Updated: 06/Dec/22  Resolved: 15/Apr/22

Status: Closed
Project: Core Server
Component/s: MapReduce
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Minor - P4
Reporter: Ankit Malhotra Assignee: Backlog - Query Execution
Resolution: Done Votes: 4
Labels: map-reduce
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

All


Issue Links:
Depends
Related
related to SERVER-17354 Automatic incremental map-reduce Closed
is related to SERVER-775 What if create something like CouchDB... Open
Assigned Teams:
Query Execution
Participants:
Case:

 Description   

It would be great if Mongo could update a Map Reduce Collection every x minutes. This was M/P functions that would be slightly inefficient to run on the fly, could be run in the background and the application itself would just need to read the map reduce result collection. This would work tremendously well for Map Reduce results that dont change in real time, but more so in pseudo-real time.

e.g. authors -> name, books_per_year, avg_pages_per_book, foo_metric, bar_metric, ..
book -> name, author , ..., subject, date_published
Assuming 1 million authors and 10 million books

M/R to get "all authors whose foo_metric is between x & y and books_per_year is between x' & y' and date_publihsed is after 1-1-1990" would be very inefficient currently, but could be "refreshed" every x mins. by mongo.



 Comments   
Comment by Asya Kamsky [ 15/Apr/22 ]

Closing as part of deprecation of mapreduce

 

Comment by Colin Mollenhour [ 10/Mar/10 ]

Or perhaps a map/reduce that exists as a sort of index, a.la. Couch.

Generated at Thu Feb 08 02:54:20 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.