[SERVER-1192] alter mongostat to include 'flushes/s' parameter from db.serverStatus() Created: 03/Jun/10 Updated: 12/Jul/16 Resolved: 03/Jun/10 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 1.5.2 |
| Fix Version/s: | 1.5.3 |
| Type: | New Feature | Priority: | Minor - P4 |
| Reporter: | Kenny Gorman | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | pull-request | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
alter mongostat to include 'flushes/s' parameter from db.serverStatus(). Including the ms timing would be cool, but I think trying to keep the output compact is important, so just putting the # of flushes/sec in there is fine. Generally it would only be 0 or 1. I have a hard time believing the db can do > 1 fsync() per second. But it's still very useful. The idea is to provide a column that shows why performance degrades during an fsync(). So when using mongostat and the throughput reduces one can see that "oh, we did a flush, thats why..." for example: |
| Comments |
| Comment by Eliot Horowitz (Inactive) [ 03/Jun/10 ] |
|
Thanks Kenny! |
| Comment by Kenny Gorman [ 03/Jun/10 ] |
| Comment by Kenny Gorman [ 03/Jun/10 ] |
|
I can't assign this to myself, but I have already done the change in stat.cpp. I will send a request on git for it to be pulled/integrated. |