[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:
Duplicate
duplicates SERVER-2178 Track stats per db/collection Closed
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?
On the side,how can I get the used cpu by server or operation-user?

Thank you for your helpful assistance.
yan



 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,
Stephen

Comment by Yan Zhang [ 15/Jan/16 ]

Hi,
Can you give me some ways to find the cpu stats for server.(db.serverStatus() doesn't find it)

----邮件原件----
发件人: 张艳(平安科技数据库技术支持部)
发送时间: 2016年1月15日 11:29
收件人: 'Stephen Steneker (JIRA)'
主题: 答复: [MongoDB-JIRA] (SERVER-22192) how to find the opcounter/cpu/mem stats for database/collection

Hi,
I am in Chinese mainland,cannot access the google or stackoverflow web address,but I will note the SERVER-2178 in jira.
Thanks for your assistance.
Yan.

----邮件原件----
发件人: Stephen Steneker (JIRA) jira@mongodb.org
发送时间: 2016年1月15日 11:23
收件人: 张艳(平安科技数据库技术支持部)
主题: [MongoDB-JIRA] (SERVER-22192) how to find the opcounter/cpu/mem stats for database/collection

[ https://jira.mongodb.org/browse/SERVER-22192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stephen Steneker closed SERVER-22192.
-------------------------------------
Resolution: Duplicate

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,
Stephen

----------------------
This message was sent from MongoDB's issue tracking system. To respond to this ticket, please login to https://jira.mongodb.org using your JIRA or MMS credentials.

********************************************************************************************************************************
The information in this email is confidential and may be legally privileged. If you have received this email in error or are not the intended recipient, please immediately notify the sender and delete this message from your computer. Any use, distribution, or copying of this email other than by the intended recipient is strictly prohibited. All messages sent to and from us may be monitored to ensure compliance with internal policies and to protect our business.
Emails are not secure and cannot be guaranteed to be error free as they can be intercepted, amended, lost or destroyed, or contain viruses. Anyone who communicates with us by email is taken to accept these risks.

收发邮件者请注意:
本邮件含保密信息,若误收本邮件,请务必通知发送人并直接删去,不得使用、传播或复制本邮件。
进出邮件均受到本公司合规监控。邮件可能发生被截留、被修改、丢失、被破坏或包含计算机病毒等不安全情况。
********************************************************************************************************************************

Comment by Yan Zhang [ 15/Jan/16 ]

Hi,
I am in Chinese mainland,cannot access the google or stackoverflow web address,but I will note the SERVER-2178 in jira.
Thanks for your assistance.
Yan.

----邮件原件----
发件人: Stephen Steneker (JIRA) jira@mongodb.org
发送时间: 2016年1月15日 11:23
收件人: 张艳(平安科技数据库技术支持部)
主题: [MongoDB-JIRA] (SERVER-22192) how to find the opcounter/cpu/mem stats for database/collection

[ https://jira.mongodb.org/browse/SERVER-22192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stephen Steneker closed SERVER-22192.
-------------------------------------
Resolution: Duplicate

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,
Stephen

----------------------
This message was sent from MongoDB's issue tracking system. To respond to this ticket, please login to https://jira.mongodb.org using your JIRA or MMS credentials.

********************************************************************************************************************************
The information in this email is confidential and may be legally privileged. If you have received this email in error or are not the intended recipient, please immediately notify the sender and delete this message from your computer. Any use, distribution, or copying of this email other than by the intended recipient is strictly prohibited. All messages sent to and from us may be monitored to ensure compliance with internal policies and to protect our business.
Emails are not secure and cannot be guaranteed to be error free as they can be intercepted, amended, lost or destroyed, or contain viruses. Anyone who communicates with us by email is taken to accept these risks.

收发邮件者请注意:
本邮件含保密信息,若误收本邮件,请务必通知发送人并直接删去,不得使用、传播或复制本邮件。
进出邮件均受到本公司合规监控。邮件可能发生被截留、被修改、丢失、被破坏或包含计算机病毒等不安全情况。
********************************************************************************************************************************

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,
Stephen

Generated at Thu Feb 08 03:59:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.