pt-mongodb-query-digest 3.0.4 report data NaN

Bug #1723903 reported by mars
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Toolkit moved to https://jira.percona.com/projects/PT
New
Undecided
Unassigned

Bug Description

Mongodb version:
Percona Server for MongoDB 3.4.4

Percona Toolkit version:
3.0.4

Command line:
mongodb://mongouser:mongopwd@127.0.0.1:27017/mydb --authenticationDatabase=admin -d mydb

But report can't get valid data:

~~~
# Totals
# Ratio 0.00 (docs scanned/returned)
# Attribute pct total min max avg 95% stddev median
# ================== === ======== ======== ======== ======== ======== ======= ========
# Count (docs) 0
# Exec Time ms 0 NaN NaN NaN NaN NaN NaN NaN
# Docs Scanned 0 NaN NaN NaN NaN NaN NaN NaN
# Docs Returned 0 NaN NaN NaN NaN NaN NaN NaN
# Bytes recv 0 NaN NaN NaN NaN NaN NaN NaN
#
~~~

My replace percona toolkit version to 3.0.1, run this command again:
~~~
# Totals
# Ratio 1.00 (docs scanned/returned)
# Attribute pct total min max avg 95% stddev median
# ================== === ======== ======== ======== ======== ======== ======= ========
# Count (docs) 0
# Exec Time ms 100 45 0 31 11 31 12 7
# Docs Scanned 100 3.00 0.00 1.00 0.75 1.00 0.43 1.00
# Docs Returned 100 3.00 0.00 1.00 0.75 1.00 0.43 1.00
# Bytes recv 1 446.00 89.00 119.00 111.50 119.00 12.99 119.00
#
...
...
...
# Query 0: 0.00 QPS, ID a91b702238c037c615ec604eb79f2853
...
...
...
# Query {"documents":[{"_id":"59df47e678045ce600489360","a":1}],"insert":"mycol","ordered":true}
~~~

Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PT-1449

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.