[DOCS-6125] Comment on: "manual/reference/method/db.collection.stats.txt" Created: 31/Aug/15  Updated: 08/Dec/16  Resolved: 23/Nov/15

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Docs Collector User (Inactive) Assignee: Ravind Kumar (Inactive)
Resolution: Done Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Location: http://docs.mongodb.org/master/reference/method/db.collection.stats/
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36
Referrer: https://www.google.de/
Screen Resolution: 1920 x 1080
repo: docs
source: reference/method/db.collection.stats


Participants:
Days since reply: 8 years, 12 weeks, 2 days ago

 Description   

It would be useful to see an example output and a description. For example what unit the size value has (i assume byte but you never know)



 Comments   
Comment by Ravind Kumar (Inactive) [ 23/Nov/15 ]

https://github.com/mongodb/docs/commit/4e246ce33913ff8dd7198cfde51810fbaf16328e

Comment by Githook User [ 23/Nov/15 ]

Author:

{u'username': u'rkumar-mongo', u'name': u'ravind', u'email': u'ravind.kumar@10gen.com'}

Message: DOCS-6125 for db.collections.stats

Done
------

  • Clean up of params and descriptions
  • Clean up of Example area
  • Better highlighting of 'bytes' default unit
  • Explicit references to dbcmd.collStats documentation

minor fix

STATS-6125 : Added examples to db.collection.stats(), made minor fix to collStats

  • Added examples based on restaurants collection
  • Added behavior section
  • Added note about WiredTiger requirement for index filtering

STATS-6125 - Updates via Code Review 27270001

STATS-6125 : CR Changes

Signed-off-by: kay <kay.kim@10gen.com>
Branch: master
https://github.com/mongodb/docs/commit/4e246ce33913ff8dd7198cfde51810fbaf16328e

Comment by Githook User [ 23/Nov/15 ]

Author:

{u'username': u'rkumar-mongo', u'name': u'ravind', u'email': u'ravind.kumar@10gen.com'}

Message: DOCS-6125 for db.collections.stats

Done
------

  • Clean up of params and descriptions
  • Clean up of Example area
  • Better highlighting of 'bytes' default unit
  • Explicit references to dbcmd.collStats documentation

minor fix

STATS-6125 : Added examples to db.collection.stats(), made minor fix to collStats

  • Added examples based on restaurants collection
  • Added behavior section
  • Added note about WiredTiger requirement for index filtering

STATS-6125 - Updates via Code Review 27270001

STATS-6125 : CR Changes

Signed-off-by: kay <kay.kim@10gen.com>
Branch: v3.0
https://github.com/mongodb/docs/commit/6af75930b6f76f428aa413ac97b386657f90945d

Comment by Ravind Kumar (Inactive) [ 21/Nov/15 ]

https://github.com/mongodb/docs/pull/2420

Comment by Ravind Kumar (Inactive) [ 16/Sep/15 ]

kay.kim it looks like there is some behavior here that might actually be unusual.

I tried to run the command after building a 3.0.5 db with the restaurants collection data, and it returns an empty doc for indexDetails.

I tried the same thing in 3.1.8 and had the same issues. I'm not sure why indexDetails is coming up empty - allison was able to get it to work on her machine in 3.1.8 only using the same collection and indexDetails was populated.

We're missing something, but I'm honestly not sure what. I think a dev might be of some assistance here to dig into this and help shed some light on what the behavior should be and what might be causing some of the oddities we are running into.

Update: Resolved, indexDetails only returns data for WiredTiger, has been added to the upcoming doc

Generated at Thu Feb 08 07:51:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.