[SERVER-22192] how to find the opcounter/cpu/mem stats for database/collection Created: 15/Jan/16 Updated: 15/Nov/21 Resolved: 15/Jan/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | 3.0.4 |
| Fix Version/s: | None |
| Type: | Question | Priority: | Major - P3 |
| Reporter: | Yan Zhang | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
trial |
||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Description |
|
db.serverStatus() can find the mem/opcounter/locks data for server,but we cannot find the info for database/collection,can you give me some advince kindly? Thank you for your helpful assistance. |
| Comments |
| Comment by Stennie Steneker (Inactive) [ 15/Jan/16 ] |
|
> Can you give me some ways to find the cpu stats for server.(db.serverStatus() doesn't find it) Hi Yan, O/S and hardware monitoring (CPU, iostat, ...) is generally best done using standard tools like munin-node. There may be more appropriate options depending on your operating system and the metrics/history you want to collect, but support discussion is outside the scope of the SERVER project. As per my earlier comment, support questions should be asked in a more appropriate forum. If you don't have access to Google Groups or StackOverflow, I would suggest a local user group or community site such as http://www.mongoing.com. Thanks, |
| Comment by Yan Zhang [ 15/Jan/16 ] |
|
Hi, ---- Hi, ---- Stephen Steneker closed Hi Yan, The db.serverStatus() metrics you referenced are currently tracked at the server level. There is an existing feature request for increasing the granularity of metrics tracked to the db/collection level – please upvote & watch SERVER-2178: Track stats per db/collection for updates. Please note that the SERVER project is for reporting bugs or feature suggestions for the MongoDB server. For MongoDB-related support discussion please post on the mongodb-user group or Stack Overflow with the mongodb tag, where your question will reach a larger audience. Thanks, ---------------------- ******************************************************************************************************************************** 收发邮件者请注意: |
| Comment by Yan Zhang [ 15/Jan/16 ] |
|
Hi, ---- Stephen Steneker closed Hi Yan, The db.serverStatus() metrics you referenced are currently tracked at the server level. There is an existing feature request for increasing the granularity of metrics tracked to the db/collection level – please upvote & watch SERVER-2178: Track stats per db/collection for updates. Please note that the SERVER project is for reporting bugs or feature suggestions for the MongoDB server. For MongoDB-related support discussion please post on the mongodb-user group or Stack Overflow with the mongodb tag, where your question will reach a larger audience. Thanks, ---------------------- ******************************************************************************************************************************** 收发邮件者请注意: |
| Comment by Stennie Steneker (Inactive) [ 15/Jan/16 ] |
|
Hi Yan, The db.serverStatus() metrics you referenced are currently tracked at the server level. There is an existing feature request for increasing the granularity of metrics tracked to the db/collection level – please upvote & watch SERVER-2178: Track stats per db/collection for updates. Please note that the SERVER project is for reporting bugs or feature suggestions for the MongoDB server. For MongoDB-related support discussion please post on the mongodb-user group or Stack Overflow with the mongodb tag, where your question will reach a larger audience. Thanks, |