You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mongodb-user
I intend to use db.eval() as in the example in the documentatiion
(http://www.mongodb.org/display/DOCS/Server-Side+Processing) as I have
to calculate averages. This is contrary to statement that one should
avoid using db.eval() in a sharded environment.
What would be the preferred method then?
Thanks
Eliot Horowitz
unread,
Jun 17, 2009, 8:18:30 PM6/17/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mongod...@googlegroups.com
This is sort of uncharted waters for us right now.
We could allow read only db.evals that hit every shard for example.
Short answer is there is no great solution. We'll be working on this
a lot over the next couple of months.