Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log storage statistics for slow transactions (mloginfo --storagestats) #711

Closed
mitesh-gosavi opened this issue Jul 8, 2019 · 0 comments
Closed

Comments

@mitesh-gosavi
Copy link
Contributor

Expected behavior

WiredTiger provides the following storage statistics:

  • bytesRead
  • bytesWrite
  • handleLockTime
  • readTime
  • writeTime
  • schemaLockTime
  • Cache

The expectation is to log details of these parameters of the slow transactions (if available).

Actual/current behaviour

The current version of mtools application does not parse or plot any information related to storage-stats.

Steps to reproduce the actual/current behavior

The goal is to provide details for insert and update operations. The information will be provided in a tabular format via the mloginfo --storagestats flag.

Additionally, the plan is to make use of mplotqueries with --storagestats flag to plot of bytesRead stat for each transaction grouped by its collection namespace.

Environment

Software Version
mtools 1.5.3
MongoDB server 4.0.10
savinay-vijay added a commit to savinay-vijay/mtools that referenced this issue Jul 8, 2019
savinay-vijay added a commit to savinay-vijay/mtools that referenced this issue Jul 8, 2019
savinay-vijay added a commit to savinay-vijay/mtools that referenced this issue Jul 11, 2019
@stennie stennie changed the title Log Storage Statistics for the slow transactions Log Storage Statistics for slow transactions (mloginfo --storagestats) Dec 27, 2019
@stennie stennie added this to the 1.6.0 milestone Dec 27, 2019
@stennie stennie changed the title Log Storage Statistics for slow transactions (mloginfo --storagestats) Log storage statistics for slow transactions (mloginfo --storagestats) Dec 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants