[SERVER-189] make group command (was: investigate group slowness) Created: 28/Jul/09 Updated: 12/Jul/16 Resolved: 19/Aug/09 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | JavaScript, Performance |
| Affects Version/s: | None |
| Fix Version/s: | 0.9.10 |
| Type: | Question | Priority: | Major - P3 |
| Reporter: | Eliot Horowitz (Inactive) | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
db.group({ns:'logs', key: {USERNAME:true}, initial: {cnt:0}, reduce:function(o,p){p.cnt++}}) |
| Comments |
| Comment by Eliot Horowitz (Inactive) [ 19/Aug/09 ] |
|
there is a new group comannd (db.groupcmd) in the shell |